Look of a Modal and the dimmed screen behind it.
More...
#include <theme.h>
|
| asw::Color | dim { 0, 0, 0, 160 } |
| | Colour laid over the screen behind the modal.
|
| |
| asw::Color | bg { 30, 30, 30, 255 } |
| | Fill of the modal.
|
| |
| asw::Color | border { 0, 0, 0, 0 } |
| | Outline, none when the width is 0.
|
| |
| float | border_width = 0.0F |
| | Outline width.
|
| |
| float | padding = 20.0F |
| | Space between the modal's edge and its content.
|
| |
| float | gap = 12.0F |
| | Space between its widgets.
|
| |
| float | min_width = 320.0F |
| | Narrowest the modal gets.
|
| |
Look of a Modal and the dimmed screen behind it.
Definition at line 214 of file theme.h.
◆ bg
| asw::Color asw::ui::ModalStyle::bg { 30, 30, 30, 255 } |
Fill of the modal.
Definition at line 219 of file theme.h.
◆ border
| asw::Color asw::ui::ModalStyle::border { 0, 0, 0, 0 } |
Outline, none when the width is 0.
Definition at line 222 of file theme.h.
◆ border_width
| float asw::ui::ModalStyle::border_width = 0.0F |
Outline width.
Definition at line 225 of file theme.h.
◆ dim
| asw::Color asw::ui::ModalStyle::dim { 0, 0, 0, 160 } |
Colour laid over the screen behind the modal.
Definition at line 216 of file theme.h.
◆ gap
| float asw::ui::ModalStyle::gap = 12.0F |
Space between its widgets.
Definition at line 231 of file theme.h.
◆ min_width
| float asw::ui::ModalStyle::min_width = 320.0F |
Narrowest the modal gets.
Definition at line 234 of file theme.h.
◆ padding
| float asw::ui::ModalStyle::padding = 20.0F |
Space between the modal's edge and its content.
Definition at line 228 of file theme.h.
The documentation for this struct was generated from the following file: