How a slider looks. Set on Theme::slider for every slider, or on Slider::style for one slider.
More...
#include <theme.h>
|
| asw::Color | track { 55, 55, 55, 255 } |
| | Track color.
|
| |
| asw::Color | fill { 255, 200, 80, 255 } |
| | Color of the track up to the value.
|
| |
| asw::Color | knob { 200, 200, 200, 255 } |
| | Knob color.
|
| |
| asw::Color | knob_hover { 255, 255, 255, 255 } |
| | Knob color while hovered, pressed, or focused with focus shown.
|
| |
| asw::Color | knob_editing { 255, 200, 80, 255 } |
| | Knob color while editing with left and right, see Slider.
|
| |
| asw::Color | disabled { 90, 90, 90, 255 } |
| | Knob and fill color while disabled.
|
| |
| float | track_height = 4.0F |
| | Track height in pixels, centred in the widget.
|
| |
| float | knob_width = 10.0F |
| | Knob width in pixels. The knob is as tall as the widget.
|
| |
How a slider looks. Set on Theme::slider for every slider, or on Slider::style for one slider.
Definition at line 145 of file theme.h.
◆ disabled
| asw::Color asw::ui::SliderStyle::disabled { 90, 90, 90, 255 } |
Knob and fill color while disabled.
Definition at line 162 of file theme.h.
◆ fill
| asw::Color asw::ui::SliderStyle::fill { 255, 200, 80, 255 } |
Color of the track up to the value.
Definition at line 150 of file theme.h.
◆ knob
| asw::Color asw::ui::SliderStyle::knob { 200, 200, 200, 255 } |
Knob color.
Definition at line 153 of file theme.h.
◆ knob_editing
| asw::Color asw::ui::SliderStyle::knob_editing { 255, 200, 80, 255 } |
Knob color while editing with left and right, see Slider.
Definition at line 159 of file theme.h.
◆ knob_hover
| asw::Color asw::ui::SliderStyle::knob_hover { 255, 255, 255, 255 } |
Knob color while hovered, pressed, or focused with focus shown.
Definition at line 156 of file theme.h.
◆ knob_width
| float asw::ui::SliderStyle::knob_width = 10.0F |
Knob width in pixels. The knob is as tall as the widget.
Definition at line 168 of file theme.h.
◆ track
| asw::Color asw::ui::SliderStyle::track { 55, 55, 55, 255 } |
Track color.
Definition at line 147 of file theme.h.
◆ track_height
| float asw::ui::SliderStyle::track_height = 4.0F |
Track height in pixels, centred in the widget.
Definition at line 165 of file theme.h.
The documentation for this struct was generated from the following file: