Class · aurore
aurore::ProgressSpinner
On this page
#include <aurore/views/progress_spinner.hpp>
class aurore::ProgressSpinner : public aurore::ViewConstructors 1
Functions 7
virtual void draw( NVGcontext *vg,float x,float y,float width,float height,Style style,FrameContext *ctx) overrideCalled by frame() to draw the view onscreen. Views should not draw outside of their bounds (they may be clipped if they do so).
Overrides aurore::View::draw
Called when the view will appear on screen, before or after layout().
Can be called if the view has already appeared, so be careful.
Overrides aurore::View::willAppear
Called when the view will disappear from the screen.
Can be called if the view has already disappeared, so be careful.
Overrides aurore::View::willDisappear
Sets the color of the spinner's bars, in place of the theme's aurore/spinner/bar_color (its alpha is the faintest bar's).
progress_spinner.hpp:45virtual bool getStyleProperty( const std::string &name,StyleValue *value) overrideThe style properties the states and transitions work on, by name: backgroundColor, borderColor, lineColor (colours), borderThickness, cornerRadius, alpha, scale (numbers); a Label adds textColor, a Rectangle color, a Button textColor. Only properties that are drawn, never laid out. A subclass adds its own by overriding both and calling the base for the others.
Overrides aurore::View::getStyleProperty
virtual bool setStyleProperty( const std::string &name,const StyleValue &value) overrideAlso the functions of aurore::View (221).
Static functions 1
Read from Aurore's headers by Doxygen at each build · library/include