@ Primary
Definition gui_application.h:114
@ Secondary
Definition gui_application.h:114
Severity
How serious a notification is: its icon and color.
Definition gui_notification_types.h:21
uint32_t ToastID
A toast shown by ShowToast; 0 is none.
Definition gui_notification_types.h:42
BannerActionKind
How a banner's action is drawn.
Definition gui_notification_types.h:45
@ Info
Definition gui_notification_types.h:21
@ Secondary
Definition gui_notification_types.h:45
@ Link
Definition gui_notification_types.h:45
@ Success
Definition gui_element_storage.h:40
IconID
Handle for an icon registered with ITextSystem::RegisterIconFromSVG / RegisterIconFromSVGFile.
Definition gui_style_text.h:15
@ Invalid
Definition gui_style_text.h:15
Definition gui_logging.h:24
A banner's button or link, right-aligned after its message.
Definition gui_notification_types.h:48
std::function< void()> onClick
Definition gui_notification_types.h:50
std::string_view label
Definition gui_notification_types.h:49
BannerActionKind kind
Definition gui_notification_types.h:51
A failure: its category and a human-readable message.
Definition gui_result.h:26
A text button on a toast; the first is drawn in the link color.
Definition gui_notification_types.h:24
std::function< void()> onClick
then the toast goes
Definition gui_notification_types.h:26
std::string label
Definition gui_notification_types.h:25
What a toast says (ShowToast). Change it later through FindToast.
Definition gui_notification_types.h:30
std::vector< ToastAction > actions
Definition gui_notification_types.h:36
Severity severity
Definition gui_notification_types.h:31
float age
seconds since it happened, when it's shown: its time says so
Definition gui_notification_types.h:37
std::optional< float > progress
0..1: a progress bar under the body
Definition gui_notification_types.h:35
std::string body
Definition gui_notification_types.h:33
bool monospaceBody
code or file locations
Definition gui_notification_types.h:34
IconID icon
in place of its severity's ("Uploading": an up arrow); Invalid: the severity's
Definition gui_notification_types.h:38
std::string title
Definition gui_notification_types.h:32