Theme configuration for UI elements.
More...
#include <theme.h>
Theme configuration for UI elements.
Definition at line 250 of file theme.h.
◆ button
Default button style.
Definition at line 264 of file theme.h.
◆ checkbox
Default checkbox style.
Definition at line 267 of file theme.h.
◆ focus_ring
Focus ring style.
Definition at line 276 of file theme.h.
◆ font
Font for widgets that do not set their own.
Definition at line 261 of file theme.h.
◆ gap
| float asw::ui::Theme::gap = 8.0f |
Default gap between elements.
Definition at line 288 of file theme.h.
◆ input
Default input box style.
Definition at line 270 of file theme.h.
◆ modal
◆ padding
| float asw::ui::Theme::padding = 10.0f |
Default padding.
Definition at line 285 of file theme.h.
◆ panel_bg
| asw::Color asw::ui::Theme::panel_bg { 30, 30, 30, 255 } |
◆ slider
Default slider style.
Definition at line 273 of file theme.h.
◆ sound_activate
Played on the UI bus when a widget is clicked or activated. Optional.
Definition at line 295 of file theme.h.
◆ sound_move
Played on the UI bus when navigation moves focus. Optional.
Definition at line 291 of file theme.h.
◆ text
| asw::Color asw::ui::Theme::text { 255, 255, 255, 255 } |
Default text color.
Definition at line 252 of file theme.h.
◆ text_dim
| asw::Color asw::ui::Theme::text_dim { 200, 200, 200, 255 } |
Dimmed text color.
Definition at line 255 of file theme.h.
◆ toast
The documentation for this struct was generated from the following file: