Class · aurore
aurore::BatteryWidget
On this page
#include <aurore/views/widgets/battery.hpp>
class aurore::BatteryWidget : public aurore::BoxConstructors 1
Functions 2
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 on every view of the screens when the theme changes (Application::getThemeChangedEvent): the colours given by key (setThemeColor) take their new values, the state styles read their "@theme/" values again. A view that keeps other colours of its own looks them up again here, then calls the base. A Box goes on to its children.
Overrides aurore::View::onThemeChanged
Also the functions of aurore::Box (53), aurore::View (221).
Static functions 1
Read from Aurore's headers by Doxygen at each build · library/include