Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
cadran::Progress Struct Reference

#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
 

Detailed 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.

Member Function Documentation

◆ show()

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

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

Member Data Documentation

◆ bar

kit::Bar* cadran::Progress::bar = nullptr

◆ box

aurore::Box* cadran::Progress::box = nullptr

◆ detail

aurore::Label* cadran::Progress::detail = nullptr

◆ heading

aurore::Label* cadran::Progress::heading = nullptr

◆ image

aurore::Image* cadran::Progress::image = nullptr

◆ percent

aurore::Label* cadran::Progress::percent = nullptr

◆ title

aurore::Label* cadran::Progress::title = nullptr

The documentation for this struct was generated from the following file: