morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::HeadBadge Struct Reference

A status badge of a screen's head, as its handle answers it. More...

#include <interpreter.hpp>

Public Member Functions

bool operator== (HeadBadge const &) const =default
 Memberwise equality.

Public Attributes

std::string text
 The badge's text.
Tone tone = Tone::Neutral
 Its tone.
std::string icon
 The name of an icon; empty for none.

Detailed Description

A status badge of a screen's head, as its handle answers it.

Definition at line 2661 of file interpreter.hpp.

Member Function Documentation

◆ operator==()

bool morph::ui::HeadBadge::operator== ( HeadBadge const & ) const
default

Memberwise equality.

Returns
Whether every member matches.

Member Data Documentation

◆ text

std::string morph::ui::HeadBadge::text

The badge's text.

Definition at line 2663 of file interpreter.hpp.

◆ tone

Tone morph::ui::HeadBadge::tone = Tone::Neutral

Its tone.

Definition at line 2665 of file interpreter.hpp.

◆ icon

std::string morph::ui::HeadBadge::icon

The name of an icon; empty for none.

Definition at line 2667 of file interpreter.hpp.


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