Gui element define for progress bars [[
expcore.gui.core |
expcore.gui.prototype |
utils.global |
utils.game |
ProgressBar.set_maximum(element, amount) | Sets the maximum value that represents the end value of the progress bar |
ProgressBar.increment(element[, amount=1]) | Increases the value of the progressbar, if a define is given all of its instances have incremented |
ProgressBar.decrement(element[, amount=1]) | Decreases the value of the progressbar, if a define is given all of its instances have decremented |
ProgressBar.new_progressbar([name]) | Creates a new progressbar element define |
ProgressBar._prototype:set_default_maximum(amount) | Sets the maximum value that represents the end value of the progress bar |
ProgressBar._prototype:use_count_down([state=true]) | Will set the progress bar to start at 1 and trigger when it hits 0 |
ProgressBar._prototype:increment([amount=1][, category]) | Increases the value of the progressbar |
ProgressBar._prototype:increment_filtered([amount=1], filter) | Increases the value of the progressbar, if the filter condition is met, does not work with store |
ProgressBar._prototype:decrement([amount=1][, category]) | Decreases the value of the progressbar |
ProgressBar._prototype:decrement_filtered([amount=1], filter) | Decreases the value of the progressbar, if the filter condition is met, does not work with store |
ProgressBar._prototype:add_element(element[, maximum]) | Adds an element into the list of instances that will are waiting to complete, does not work with store note use store if you want persistent data, this only stores the elements not the values which they have |
ProgressBar._prototype:reset_element(element) | Resets an element, or its store, to be back at the start, either 1 or 0 |
ProgressBar._prototype:event_counter([filter]) | Event handler factory that counts up by 1 every time the event triggers, can filter which elements have incremented |
ProgressBar._prototype:event_countdown([filter]) | Event handler factory that counts down by 1 every time the event triggers, can filter which elements have decremented |
Sets the maximum value that represents the end value of the progress bar
Parameters:Increases the value of the progressbar, if a define is given all of its instances have incremented
Parameters:Decreases the value of the progressbar, if a define is given all of its instances have decremented
Parameters:Creates a new progressbar element define
Parameters:Sets the maximum value that represents the end value of the progress bar
Parameters:Will set the progress bar to start at 1 and trigger when it hits 0
Parameters:Increases the value of the progressbar
Parameters:Increases the value of the progressbar, if the filter condition is met, does not work with store
Parameters:Decreases the value of the progressbar
Parameters:Decreases the value of the progressbar, if the filter condition is met, does not work with store
Parameters:Adds an element into the list of instances that will are waiting to complete, does not work with store note use store if you want persistent data, this only stores the elements not the values which they have
Parameters:Resets an element, or its store, to be back at the start, either 1 or 0
Parameters: