|
Aurore
A Switch-like interface for your app, on every screen
|
#include <aurore/cadran/ui/cadran_modal.hpp>
Public Member Functions | |
| void | show (float fraction, const std::string &detail) |
fraction (0..1) on the bar and as "43 %", detail at the end. | |
Public Attributes | |
| 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 |
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.
| void cadran::Progress::show | ( | float | fraction, |
| const std::string & | detail | ||
| ) |
fraction (0..1) on the bar and as "43 %", detail at the end.
| kit::Bar* cadran::Progress::bar = nullptr |
| aurore::Box* cadran::Progress::box = nullptr |
| aurore::Label* cadran::Progress::detail = nullptr |
| aurore::Label* cadran::Progress::heading = nullptr |
| aurore::Image* cadran::Progress::image = nullptr |
| aurore::Label* cadran::Progress::percent = nullptr |
| aurore::Label* cadran::Progress::title = nullptr |