Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ToastIndicatorOptions Struct Reference

Optional static or alternating one-cell diagnostic decoration. More...

#include <toast.hpp>

Public Member Functions

 ~ToastIndicatorOptions ()=default
 Keep checked string copies fallible on the MSVC debug standard library.

Public Attributes

bool enabled {}
 Keep the ordinary presentation free of an indicator by default.
TextValue glyph {std::string_view("!")}
 Exactly one grapheme occupying one cell under the scene policy.
bool alternateBackground {}
 Opt in to the bounded indicator effect.
RgbColor foreground {255, 255, 255}
 Manual foreground beneath theme overrides.
RgbColor alertBackground {192, 0, 0}
 Alternate background beneath theme overrides.
SchedulerTime period {500}
 Positive milliseconds between phase changes when enabled.

Detailed Description

Optional static or alternating one-cell diagnostic decoration.


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