|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
morph::ui::ButtonEmphasis: how much a button stands out. The view tree, the authoring API and the backends share it. Specified in docs/spec/ui/backend_contract.md. More...
#include <cstdint>Go to the source code of this file.
Enumerations | |
| enum class | morph::ui::ButtonEmphasis : std::uint8_t { Normal , Primary , Danger , Ghost } |
| How much a button stands out; each backend maps it to its theme. More... | |
morph::ui::ButtonEmphasis: how much a button stands out. The view tree, the authoring API and the backends share it. Specified in docs/spec/ui/backend_contract.md.
Definition in file button_emphasis.hpp.
|
strong |
How much a button stands out; each backend maps it to its theme.
| Enumerator | |
|---|---|
| Normal | An ordinary action. |
| Primary | The screen's main action. |
| Danger | An action that destroys or cannot be undone. |
| Ghost | An action embedded in other content, with no chrome of its own. |
Definition at line 13 of file button_emphasis.hpp.