Theme configuration for UI elements.
More...
#include <theme.h>
|
| asw::Color | text { 255, 255, 255, 255 } |
| | Default text color.
|
| |
| asw::Color | text_dim { 200, 200, 200, 255 } |
| | Dimmed text color.
|
| |
| asw::Color | panel_bg { 30, 30, 30, 255 } |
| | Panel background color.
|
| |
| asw::Color | btn_bg { 55, 55, 55, 255 } |
| | Button background color.
|
| |
| asw::Color | btn_hover { 75, 75, 75, 255 } |
| | Button hover color.
|
| |
| asw::Color | btn_pressed { 95, 95, 95, 255 } |
| | Button pressed color.
|
| |
| asw::Color | btn_focus_ring { 255, 200, 80, 255 } |
| | Button focus ring color.
|
| |
| asw::Color | input_bg { 20, 20, 20, 255 } |
| | Input box background color.
|
| |
| float | padding = 10.0f |
| | Default padding.
|
| |
| float | gap = 8.0f |
| | Default gap between elements.
|
| |
| bool | show_focus = false |
| | Show focus rings around focused widgets. Enabled by default when using keyboard navigation.
|
| |
Theme configuration for UI elements.
Definition at line 18 of file theme.h.
◆ btn_bg
| asw::Color asw::ui::Theme::btn_bg { 55, 55, 55, 255 } |
◆ btn_focus_ring
| asw::Color asw::ui::Theme::btn_focus_ring { 255, 200, 80, 255 } |
◆ btn_hover
| asw::Color asw::ui::Theme::btn_hover { 75, 75, 75, 255 } |
◆ btn_pressed
| asw::Color asw::ui::Theme::btn_pressed { 95, 95, 95, 255 } |
◆ gap
| float asw::ui::Theme::gap = 8.0f |
Default gap between elements.
Definition at line 47 of file theme.h.
◆ input_bg
| asw::Color asw::ui::Theme::input_bg { 20, 20, 20, 255 } |
Input box background color.
Definition at line 41 of file theme.h.
◆ padding
| float asw::ui::Theme::padding = 10.0f |
Default padding.
Definition at line 44 of file theme.h.
◆ panel_bg
| asw::Color asw::ui::Theme::panel_bg { 30, 30, 30, 255 } |
◆ show_focus
| bool asw::ui::Theme::show_focus = false |
Show focus rings around focused widgets. Enabled by default when using keyboard navigation.
Definition at line 51 of file theme.h.
◆ text
| asw::Color asw::ui::Theme::text { 255, 255, 255, 255 } |
Default text color.
Definition at line 20 of file theme.h.
◆ text_dim
| asw::Color asw::ui::Theme::text_dim { 200, 200, 200, 255 } |
Dimmed text color.
Definition at line 23 of file theme.h.
The documentation for this struct was generated from the following file: