Struct · cadran

cadran::Progress

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

struct cadran::Progress

Description

A dialog's body while something measurable is under way, left-aligned: a head (an image, hidden until it is given one; what is under way, small; a title cut to one line), a bar, the share done under its start and what it amounts to under its end, a note under them (hidden when empty). What comes after (a button) goes on box.

Functions 1

void show(float fraction, const std::string &detail)

fraction (0..1) on the bar and as "43 %", detail at the end.

cadran_modal.hpp:88

Attributes 7

aurore::Box * box = nullptr
aurore::Image * image = nullptr
aurore::Label * heading = nullptr
aurore::Label * title = nullptr
kit::Bar * bar = nullptr
aurore::Label * percent = nullptr
aurore::Label * detail = nullptr

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