Class · cadran::kit

cadran::kit::Mark

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

class cadran::kit::Mark : public aurore::View

Description

A pill's mark: its colour, and a shape that says the same to whom the colours look alike (WCAG 1.4.1): a check for what is on (teal), a triangle for what needs the user (amber, coral), a dot for what is only said (grey).

Constructors 1

explicit Mark(const char *color_key)

Functions 2

void set(const char *color_key)
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_kit.hpp:75

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

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