1 #ifndef AETHER_PROGRESSBAR_HPP 2 #define AETHER_PROGRESSBAR_HPP 4 #include "Aether/base/BaseProgress.hpp" 5 #include "Aether/primary/Box.hpp" 6 #include "Aether/primary/Rectangle.hpp" A rectangle is a texture containing either a normal or rounded rectangle.
Definition: Rectangle.hpp:11
Element for rendering a 'box' (rectangle with no fill).
Definition: Box.hpp:11
Colour colour()
Get the colour of the progress bar.
void setColour(Colour c)
Set the colour of the progress bar.
ProgressBar(int x, int y, int w)
Construct a new Progress Bar object.
ProgressBar looks similar to Horizon's progress bar shown in data management.
Definition: ProgressBar.hpp:13
int w()
Returns width of element.
Stores RGBA values representing a colour. Each component can be within the range 0 to 255 (inclusive)...
Definition: Colour.hpp:9
int x()
Returns x-coordinate of element.
void setW(int w)
Set new width for the progress bar Textures will be redrawn when dimensions are changed.
int h()
Returns height of element.
Base namespace for all Aether related classes and functions.
void setH(int h)
Set new height for the progress bar Textures will be redrawn when dimensions are changed.
Base element for progress bars that handles the value.
Definition: BaseProgress.hpp:10
int y()
Returns y-coordinate of element.
void setValue(float f)
Set the value of the progress bar. When value is changed, the mask of the rectangle will also be chan...