|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
An action of a screen's head, as its handle answers it. More...
#include <interpreter.hpp>
Public Member Functions | |
| bool | operator== (HeadAction const &) const =default |
| Memberwise equality. | |
Public Attributes | |
| std::string | id |
| The action's id, what ScreenHead::run takes. | |
| std::string | label |
| The label. | |
| std::string | icon |
| The name of an icon; empty for none. | |
| ButtonEmphasis | emphasis = ButtonEmphasis::Normal |
| How much it stands out. | |
| bool | enabled = true |
| Whether it can be run now. | |
An action of a screen's head, as its handle answers it.
Definition at line 2675 of file interpreter.hpp.
|
default |
Memberwise equality.
| std::string morph::ui::HeadAction::id |
The action's id, what ScreenHead::run takes.
Definition at line 2677 of file interpreter.hpp.
| std::string morph::ui::HeadAction::label |
The label.
Definition at line 2679 of file interpreter.hpp.
| std::string morph::ui::HeadAction::icon |
The name of an icon; empty for none.
Definition at line 2681 of file interpreter.hpp.
| ButtonEmphasis morph::ui::HeadAction::emphasis = ButtonEmphasis::Normal |
How much it stands out.
Definition at line 2683 of file interpreter.hpp.
| bool morph::ui::HeadAction::enabled = true |
Whether it can be run now.
Definition at line 2685 of file interpreter.hpp.