|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
morph::ui::ButtonStyle: whether a button is drawn as a push button or as an entry of a list. 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::ButtonStyle : std::uint8_t { Push , Item } |
| How a button is drawn; it behaves the same either way. More... | |
morph::ui::ButtonStyle: whether a button is drawn as a push button or as an entry of a list. The view tree, the authoring API and the backends share it. Specified in docs/spec/ui/backend_contract.md.
Definition in file button_style.hpp.
|
strong |
How a button is drawn; it behaves the same either way.
| Enumerator | |
|---|---|
| Push | A framed button as wide as its label. |
| Item | An entry of a list: as wide as its line, its label at the start, unframed, and marked while selected. |
Definition at line 13 of file button_style.hpp.