version 2.8
gwin_button.h File Reference

Detailed Description

GWIN Graphic window subsystem header file.

Definition in file gwin_button.h.

Go to the source code of this file.

Data Structures

struct  GButtonObject
 The button widget structure. More...
 

Functions

GHandle gwinGButtonCreate (GDisplay *g, GButtonObject *gb, const GWidgetInit *pInit)
 Create a button widget. More...
 
bool_t gwinButtonIsPressed (GHandle gh)
 Is the button current pressed. More...
 
void gwinButtonDraw_Normal (GWidgetObject *gw, void *param)
 The default rendering function for the button widget. More...
 
void gwinButtonDraw_Rounded (GWidgetObject *gw, void *param)
 Renders a rectangular button with rounded corners. More...
 
void gwinButtonDraw_Ellipse (GWidgetObject *gw, void *param)
 Renders a button with an elliptical shape. More...
 
void gwinButtonDraw_ArrowUp (GWidgetObject *gw, void *param)
 Renders a button in a shape of an arrow pointing up. More...
 
void gwinButtonDraw_ArrowDown (GWidgetObject *gw, void *param)
 Renders a button in a shape of an arrow pointing down. More...
 
void gwinButtonDraw_ArrowLeft (GWidgetObject *gw, void *param)
 Renders a button in a shape of an arrow pointing left. More...
 
void gwinButtonDraw_ArrowRight (GWidgetObject *gw, void *param)
 Renders a button in a shape of an arrow pointing right. More...
 
void gwinButtonDraw_Image (GWidgetObject *gw, void *param)
 Renders a button using individual images for each button state. More...
 

Macros

#define GEVENT_GWIN_BUTTON   (GEVENT_GWIN_CTRL_FIRST+0)
 The Event Type for a Button Event. More...
 
#define GBUTTON_FLG_PRESSED   0x01
 The internal button flags. More...
 

Typedefs

typedef GEventGWin GEventGWinButton
 A Button Event. More...
 
typedef struct GButtonObject GButtonObject
 The button widget structure. More...