Class · cadran

cadran::Switch

On this page
aurore/cadran/ui/cadran_list.hpp
#include <aurore/cadran/ui/cadran_list.hpp>

class cadran::Switch : public aurore::View

Description

The boards' switch, drawn from a BooleanCell's state each frame (so it follows the cell whoever changes it).

Constructors 1

explicit Switch(aurore::BooleanCell *cell)

Functions 1

virtual void draw(NVGcontext *vg,float x,float y,float width,float height,aurore::Style style,aurore::FrameContext *ctx) override

Called 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

cadran_list.hpp:56

Also the functions of aurore::View (221).

Read from Aurore's headers by Doxygen at each build · library/include