|
Gama C Library
Gama C API Documentation
|
Structure defining the visual theme for a button widget. More...
#include <button.h>
Data Fields | |
| int | enabled |
| double | scale |
| gmColor | background |
| gmColor | border |
| gmColor | text |
| struct { | |
| gmColor background | |
| gmColor border | |
| double scale | |
| gmColor text | |
| } | focussed |
| struct { | |
| gmColor background | |
| gmColor border | |
| double scale | |
| gmColor text | |
| } | active |
| struct { | |
| gmColor background | |
| gmColor border | |
| gmColor text | |
| } | disabled |
| double | border_thickness |
| const char * | font |
Structure defining the visual theme for a button widget.
| struct { ... } gmwButtonTheme::active |
Theme properties when the button is active (mouse button down on it).
| gmColor gmwButtonTheme::background |
Background color when normal.
Background color when focused/hovered.
Background color when active/pressed.
Background color when disabled.
| gmColor gmwButtonTheme::border |
Border color when normal.
Border color when focused/hovered.
Border color when active/pressed.
Border color when disabled.
| double gmwButtonTheme::border_thickness |
Thickness of the button border.
| struct { ... } gmwButtonTheme::disabled |
Theme properties when the button is disabled.
| int gmwButtonTheme::enabled |
Whether the button is interactive (1) or disabled (0).
| struct { ... } gmwButtonTheme::focussed |
Theme properties when the button is focused or hovered.
| const char* gmwButtonTheme::font |
Font used for button text.
| double gmwButtonTheme::scale |
Default scale of the button.
Scale when focused/hovered.
Scale when active/pressed.
| gmColor gmwButtonTheme::text |
Text color when normal.
Text color when focused/hovered.
Text color when active/pressed.
Text color when disabled.