How a checkbox looks. Set on Theme::checkbox for every checkbox, or on Checkbox::checkbox_style for one checkbox.
More...
#include <theme.h>
|
| asw::Color | bg { 0, 0, 0, 0 } |
| | Background color of the whole row.
|
| |
| asw::Color | bg_hover { 0, 0, 0, 0 } |
| | Row background color while hovered, or focused with focus shown.
|
| |
| asw::Color | border { 0, 0, 0, 0 } |
| | Row border color.
|
| |
| float | border_width = 0.0F |
| | Row border width in pixels. 0 draws no border.
|
| |
| asw::Color | box { 55, 55, 55, 255 } |
| | Box color.
|
| |
| asw::Color | box_hover { 75, 75, 75, 255 } |
| | Box color while hovered, or focused with focus shown.
|
| |
| asw::Color | box_pressed { 95, 95, 95, 255 } |
| | Box color while pressed.
|
| |
| asw::Color | box_disabled { 30, 30, 30, 255 } |
| | Box color while disabled.
|
| |
| asw::Color | box_border { 0, 0, 0, 0 } |
| | Box border color.
|
| |
| float | box_border_width = 0.0F |
| | Box border width in pixels. 0 draws no border.
|
| |
| asw::Color | mark { 255, 255, 255, 255 } |
| | Check mark color.
|
| |
| asw::Color | mark_disabled { 200, 200, 200, 255 } |
| | Check mark color while disabled.
|
| |
| asw::Color | text { 255, 255, 255, 255 } |
| | Text color.
|
| |
| asw::Color | text_disabled { 200, 200, 200, 255 } |
| | Text color while disabled.
|
| |
| BoxSide | box_side = BoxSide::Left |
| | Which side the box is on. The text is on the other side.
|
| |
How a checkbox looks. Set on Theme::checkbox for every checkbox, or on Checkbox::checkbox_style for one checkbox.
Definition at line 66 of file theme.h.
◆ bg
| asw::Color asw::ui::CheckboxStyle::bg { 0, 0, 0, 0 } |
Background color of the whole row.
Definition at line 68 of file theme.h.
◆ bg_hover
| asw::Color asw::ui::CheckboxStyle::bg_hover { 0, 0, 0, 0 } |
Row background color while hovered, or focused with focus shown.
Definition at line 71 of file theme.h.
◆ border
| asw::Color asw::ui::CheckboxStyle::border { 0, 0, 0, 0 } |
Row border color.
Definition at line 74 of file theme.h.
◆ border_width
| float asw::ui::CheckboxStyle::border_width = 0.0F |
Row border width in pixels. 0 draws no border.
Definition at line 77 of file theme.h.
◆ box
| asw::Color asw::ui::CheckboxStyle::box { 55, 55, 55, 255 } |
Box color.
Definition at line 80 of file theme.h.
◆ box_border
| asw::Color asw::ui::CheckboxStyle::box_border { 0, 0, 0, 0 } |
Box border color.
Definition at line 92 of file theme.h.
◆ box_border_width
| float asw::ui::CheckboxStyle::box_border_width = 0.0F |
Box border width in pixels. 0 draws no border.
Definition at line 95 of file theme.h.
◆ box_disabled
| asw::Color asw::ui::CheckboxStyle::box_disabled { 30, 30, 30, 255 } |
Box color while disabled.
Definition at line 89 of file theme.h.
◆ box_hover
| asw::Color asw::ui::CheckboxStyle::box_hover { 75, 75, 75, 255 } |
Box color while hovered, or focused with focus shown.
Definition at line 83 of file theme.h.
◆ box_pressed
| asw::Color asw::ui::CheckboxStyle::box_pressed { 95, 95, 95, 255 } |
Box color while pressed.
Definition at line 86 of file theme.h.
◆ box_side
Which side the box is on. The text is on the other side.
Definition at line 110 of file theme.h.
◆ mark
| asw::Color asw::ui::CheckboxStyle::mark { 255, 255, 255, 255 } |
Check mark color.
Definition at line 98 of file theme.h.
◆ mark_disabled
| asw::Color asw::ui::CheckboxStyle::mark_disabled { 200, 200, 200, 255 } |
Check mark color while disabled.
Definition at line 101 of file theme.h.
◆ text
| asw::Color asw::ui::CheckboxStyle::text { 255, 255, 255, 255 } |
Text color.
Definition at line 104 of file theme.h.
◆ text_disabled
| asw::Color asw::ui::CheckboxStyle::text_disabled { 200, 200, 200, 255 } |
Text color while disabled.
Definition at line 107 of file theme.h.
The documentation for this struct was generated from the following file: