Gama C Library
Gama C API Documentation
gmwJoystickTheme Struct Reference

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

Detailed Description

Structure defining the visual theme for a joystick widget.

Field Documentation

◆ [struct]

struct { ... } gmwJoystickTheme::active

Theme properties when the joystick is active (mouse button down on it).

◆ background

gmColor gmwJoystickTheme::background

Background color of the joystick base circle when normal.

◆ border

gmColor gmwJoystickTheme::border

Border color of the joystick base circle when normal.

Border color when focused/hovered.

Border color when active.

◆ border_width

double gmwJoystickTheme::border_width

Width of the joystick base circle border.

◆ enabled

int gmwJoystickTheme::enabled

Whether the joystick is enabled for interaction (1) or disabled (0).

◆ [struct]

struct { ... } gmwJoystickTheme::focussed

Theme properties when the joystick is focused or hovered.

◆ knob

gmColor gmwJoystickTheme::knob

Color of the joystick knob.

◆ knob_border

gmColor gmwJoystickTheme::knob_border

Border color of the joystick knob.

◆ scale

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).


The documentation for this struct was generated from the following file: