Gama C Library
Gama C API Documentation
Loading...
Searching...
No Matches
gmwButtonTheme Struct Reference

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

Detailed Description

Structure defining the visual theme for a button widget.

Field Documentation

◆ [struct]

struct { ... } gmwButtonTheme::active

◆ background

gmColor gmwButtonTheme::background

Background color when normal

Background color when focused/hovered

Background color when active/pressed

Background color when disabled

◆ border

gmColor gmwButtonTheme::border

Border color when normal

Border color when focused/hovered

Border color when active/pressed

Border color when disabled

◆ border_thickness

double gmwButtonTheme::border_thickness

Thickness of the button border

◆ [struct]

struct { ... } gmwButtonTheme::disabled

◆ enabled

int gmwButtonTheme::enabled

Whether the button is enabled

◆ [struct]

struct { ... } gmwButtonTheme::focussed

◆ font

const char* gmwButtonTheme::font

Font used for button text

◆ scale

double gmwButtonTheme::scale

Default scale of the button

Scale when focused/hovered

Scale when active/pressed

◆ text

gmColor gmwButtonTheme::text

Text color when normal

Text color when focused/hovered

Text color when active/pressed

Text color when disabled


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