TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::ToastDesc Struct Reference

What a toast says (ShowToast). Change it later through FindToast. More...

#include <gui_controls/gui_notification_types.h>

Public Attributes

Severity severity = Severity::Info
std::string title
std::string body
bool monospaceBody = false
 code or file locations
std::optional< float > progress
 0..1: a progress bar under the body
std::vector< ToastAction > actions
float age = 0.0f
 seconds since it happened, when it's shown: its time says so

Detailed Description

What a toast says (ShowToast). Change it later through FindToast.

Member Data Documentation

◆ severity

Severity tachyon::ToastDesc::severity = Severity::Info

◆ title

std::string tachyon::ToastDesc::title

◆ body

std::string tachyon::ToastDesc::body

◆ monospaceBody

bool tachyon::ToastDesc::monospaceBody = false

code or file locations

◆ progress

std::optional<float> tachyon::ToastDesc::progress

0..1: a progress bar under the body

◆ actions

std::vector<ToastAction> tachyon::ToastDesc::actions

◆ age

float tachyon::ToastDesc::age = 0.0f

seconds since it happened, when it's shown: its time says so


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