Gui class define for sliders [[
expcore.gui.core |
expcore.gui.prototype |
expcore.gui.instances |
utils.game |
Slider.new_slider([name]) | Creates a new slider element define |
Slider._prototype:set_range([min][, max]) | Sets the range of a slider, if not used will use default values for a slider |
Slider._prototype:draw_label(element) | Draws a new label and links its value to the value of this slider, if no store then it will only show one value per player |
Slider._prototype:enable_auto_draw_label([state=true]) | Enables auto draw of the label, the label will share the same parent element as the slider |
Creates a new slider element define
Parameters:Sets the range of a slider, if not used will use default values for a slider
Parameters:Draws a new label and links its value to the value of this slider, if no store then it will only show one value per player
Parameters:Enables auto draw of the label, the label will share the same parent element as the slider
Parameters: