![]() |
Lysa UI
0.0
Lysa UI —UI components for the Lysa Engine
|
UI resources for the classic style.
Inheritance diagram for StyleClassicResource:Public Types | |
| enum | Style { FLAT, RAISED, LOWERED } |
Public Member Functions | |
| StyleClassicResource (const std::string &resource) | |
| Custom color value. More... | |
Public Member Functions inherited from UIResource | |
| UIResource (const std::string &res) | |
| Constructor. More... | |
| virtual | ~UIResource () = default |
| const std::string & | getResource () const |
| Returns the resource description string. More... | |
Public Attributes | |
| Style | style {RAISED} |
| float | width {0} |
| Current style appearance. More... | |
| float | height {0} |
| Requested width. More... | |
| bool | customColor {false} |
| Requested height. More... | |
| float4 | color {0.0f} |
| Whether a custom color is used. More... | |
| enum Style |
Style appearance options.
| Enum Values | Documentation |
|---|---|
| FLAT | |
| RAISED | Flat appearance. |
| LOWERED | 3D raised appearance 3D lowered appearance |
|
explicit |
Custom color value.
Constructor.
| resource | Resource description string. |
| float4 color {0.0f} |
Whether a custom color is used.
| bool customColor {false} |
Requested height.
| float height {0} |
Requested width.
| Style style {RAISED} |
| float width {0} |
Current style appearance.