@ Primary
Definition gui_application.h:106
@ Secondary
Definition gui_application.h:106
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:41
BannerActionKind
How a banner's action is drawn.
Definition gui_notification_types.h:44
@ Info
Definition gui_notification_types.h:21
@ Secondary
Definition gui_notification_types.h:44
@ Link
Definition gui_notification_types.h:44
@ Success
Definition gui_element_storage.h:44
Definition gui_logging.h:24
A banner's button or link, right-aligned after its message.
Definition gui_notification_types.h:47
std::function< void()> onClick
Definition gui_notification_types.h:49
std::string_view label
Definition gui_notification_types.h:48
BannerActionKind kind
Definition gui_notification_types.h:50
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
std::string title
Definition gui_notification_types.h:32