|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
An actionButton part, lowered in the scope of the list it belongs to: what a screen's head shows and an overlay's footer draws as buttons. More...
#include <interpreter.hpp>
Public Attributes | |
| std::string | id |
| The action's id, unique in its list. | |
| std::string | path |
| The part's JSON Pointer, where a diagnostic about it is reported. | |
| Prop< std::string > | label |
| The label. | |
| Prop< std::string > | icon |
| The name of an icon; empty for none. | |
| ButtonEmphasis | emphasis = ButtonEmphasis::Normal |
| How much it stands out. | |
| Prop< bool > | enabled = true |
| Whether it can be run. | |
| Prop< bool > | visible = true |
| Whether it is shown. | |
| Action | run |
| Runs its onClick as a user event, in one batch; empty when it declares none. | |
An actionButton part, lowered in the scope of the list it belongs to: what a screen's head shows and an overlay's footer draws as buttons.
Definition at line 2144 of file interpreter.hpp.
| std::string morph::ui::detail::ActionModel::id |
The action's id, unique in its list.
Definition at line 2146 of file interpreter.hpp.
| std::string morph::ui::detail::ActionModel::path |
The part's JSON Pointer, where a diagnostic about it is reported.
Definition at line 2148 of file interpreter.hpp.
| Prop<std::string> morph::ui::detail::ActionModel::label |
The label.
Definition at line 2150 of file interpreter.hpp.
| Prop<std::string> morph::ui::detail::ActionModel::icon |
The name of an icon; empty for none.
Definition at line 2152 of file interpreter.hpp.
| ButtonEmphasis morph::ui::detail::ActionModel::emphasis = ButtonEmphasis::Normal |
How much it stands out.
Definition at line 2154 of file interpreter.hpp.
| Prop<bool> morph::ui::detail::ActionModel::enabled = true |
Whether it can be run.
Definition at line 2156 of file interpreter.hpp.
| Prop<bool> morph::ui::detail::ActionModel::visible = true |
Whether it is shown.
Definition at line 2158 of file interpreter.hpp.
| Action morph::ui::detail::ActionModel::run |
Runs its onClick as a user event, in one batch; empty when it declares none.
Definition at line 2160 of file interpreter.hpp.