GGUI::GGNotices class

GGNotices: the notices currently showing. Thread-safe.

Public types

struct Entry
A notice showing.

Public functions

void Show(const GGText& text, const NoticeProps& props = {})
Show text, localised unless it is GGText::Verbatim.
auto Current() const -> std::vector<Entry>
The notices showing, oldest first.
auto Prune() -> bool
Drop expired notices. True if any were dropped.
auto Changed() const -> const GGRevision&
Bumped when a notice is shown or dropped.