|
Gama C Library
Gama C API Documentation
|
Structure defining the visual theme for a joystick widget. More...
#include <joystick.h>
Data Fields | |
| int | enabled |
| double | scale |
| gmColor | background |
| gmColor | border |
| struct { | |
| double scale | |
| gmColor border | |
| } | focussed |
| struct { | |
| double scale | |
| gmColor border | |
| } | active |
| gmColor | knob |
| gmColor | knob_border |
| double | border_width |
Structure defining the visual theme for a joystick widget.
| struct { ... } gmwJoystickTheme::active |
Theme properties when the joystick is active (mouse button down on it).
| gmColor gmwJoystickTheme::background |
Background color of the joystick base circle when normal.
| gmColor gmwJoystickTheme::border |
Border color of the joystick base circle when normal.
Border color when focused/hovered.
Border color when active.
| double gmwJoystickTheme::border_width |
Width of the joystick base circle border.
| int gmwJoystickTheme::enabled |
Whether the joystick is enabled for interaction (1) or disabled (0).
| struct { ... } gmwJoystickTheme::focussed |
Theme properties when the joystick is focused or hovered.
| gmColor gmwJoystickTheme::knob |
Color of the joystick knob.
| gmColor gmwJoystickTheme::knob_border |
Border color of the joystick knob.
| double gmwJoystickTheme::scale |
Overall joystick size scale when normal.
Scale factor of the joystick when focused/hovered.
Scale factor of the joystick when active (being dragged).