Class · cadran::kit

cadran::kit::Bar

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

class cadran::kit::Bar : public aurore::View

Description

A progress bar, 12 px high: the well, filled in teal up to set; the fill eases to each new value (at once with the motion off).

Constructors 1

Bar()

Functions 2

void set(float fraction)
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:110

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

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