ProgressBar
This function creates a progressbar widget. A progressbar displays the progress of a task that is being performed.
You can set the script float value
progress to adjust the displayed progress.
Syntax
- static Widget* ProgressBar(const int x, const int y, const int width, const int height, Widget* parent)
Parameters
- x: X position of the widget, in logical units.
- y: Y position of the widget, in logical units.
- width: width of the widget, in logical units.
- height: height of the widget, in logical units.
Returns
Returns a new progressbar.