Class

FooterHints

On this page
aurore/cadran/view/footer_hints.hpp
#include <aurore/cadran/view/footer_hints.hpp>

class FooterHints : public aurore::Hints

Description

The footer's hints fitted to the footer: the clock keeps its line, the hints come closer, then their texts are cut.

Constructors 2

FooterHints()
~FooterHints() override

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::Box::draw

footer_hints.hpp:31

Also the functions of aurore::Hints (5), aurore::Box (53), aurore::View (221).

Static functions 3

static void install()

Takes aurore:Hints' place in Aurore's footer. Called once, at start-up, before the first screen opens.

footer_hints.hpp:22
static aurore::View * create()
static void set_timed(const std::string &hint_text,aurore::Time until,aurore::Time total_us)

The hint whose text is hint_text is on offer until until (µs, aurore::getCPUTimeUsec), out of total_us: a thin teal line under it drains meanwhile, and the hint fades over its last second (ZR Undo). An empty text, or until 0, ends it. Nothing with the motion off.

footer_hints.hpp:29

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