Gama C Library
Gama C API Documentation
Loading...
Searching...
No Matches
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

◆ background

gmColor gmwJoystickTheme::background

Circle background color

◆ border

gmColor gmwJoystickTheme::border

Border color

Border color when focused/hovered

Border color when active pressed

◆ border_width

double gmwJoystickTheme::border_width

Width of the circle border

◆ enabled

int gmwJoystickTheme::enabled

Whether the joystick is enabled

◆ [struct]

struct { ... } gmwJoystickTheme::focussed

◆ knob

gmColor gmwJoystickTheme::knob

Knob color

◆ knob_border

gmColor gmwJoystickTheme::knob_border

Knob border color

◆ scale

double gmwJoystickTheme::scale

Overall joystick size scale

Scale factor when focused/hovered

Scale factor when active pressed


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