|
TachyonUI 1.1.0
High-performance UI for building tools.
|
A piece of work, as TaskProgress, ProgressSteps, StatusProgress and BackgroundTasks show it. More...
#include <gui_controls/gui_progress_types.h>
Public Attributes | |
| std::string_view | name |
| "Importing character.fbx" | |
| float | value = -1.0f |
| 0 to 1 done; below 0 when not known, shown as a sliding segment | |
| TaskState | state = TaskState::Running |
| std::string_view | note |
| beside the name: "2.1 s", "1,240 / 3,800"; empty shows the percent while running | |
| std::string_view | detail |
| under the bar: "12.4 MB of 19.3 MB"; once failed, why | |
| std::function< void()> | onCancel |
| set: a cancel button while running or paused | |
| std::function< void()> | onRetry |
| set: a Retry button once failed | |
| std::function< void()> | onPause |
| set, in BackgroundTasks: pause while running, resume while paused | |
A piece of work, as TaskProgress, ProgressSteps, StatusProgress and BackgroundTasks show it.
The texts are only read during the call.
| std::string_view tachyon::ProgressTask::name |
"Importing character.fbx"
| float tachyon::ProgressTask::value = -1.0f |
0 to 1 done; below 0 when not known, shown as a sliding segment
| TaskState tachyon::ProgressTask::state = TaskState::Running |
| std::string_view tachyon::ProgressTask::note |
beside the name: "2.1 s", "1,240 / 3,800"; empty shows the percent while running
| std::string_view tachyon::ProgressTask::detail |
under the bar: "12.4 MB of 19.3 MB"; once failed, why
| std::function<void()> tachyon::ProgressTask::onCancel |
set: a cancel button while running or paused
| std::function<void()> tachyon::ProgressTask::onRetry |
set: a Retry button once failed
| std::function<void()> tachyon::ProgressTask::onPause |
set, in BackgroundTasks: pause while running, resume while paused