24 #if GFX_USE_GWIN || defined(__DOXYGEN__)
30 #define GWIN_FIRST_CONTROL_FLAG 0x00000001
31 #define GWIN_LAST_CONTROL_FLAG 0x00000080
32 #define GWIN_FLG_VISIBLE 0x00000100
33 #define GWIN_FLG_SYSVISIBLE 0x00000200
34 #define GWIN_FLG_ENABLED 0x00000400
35 #define GWIN_FLG_SYSENABLED 0x00000800
36 #define GWIN_FLG_DYNAMIC 0x00001000
37 #define GWIN_FLG_ALLOCTXT 0x00002000
38 #define GWIN_FLG_NEEDREDRAW 0x00004000
39 #define GWIN_FLG_BGREDRAW 0x00008000
40 #define GWIN_FLG_SUPERMASK 0x000F0000
41 #define GWIN_FLG_WIDGET 0x00010000
42 #define GWIN_FLG_CONTAINER 0x00020000
43 #define GWIN_FLG_MINIMIZED 0x00100000
44 #define GWIN_FLG_MAXIMIZED 0x00200000
45 #define GWIN_FLG_MOUSECAPTURE 0x00400000
46 #define GWIN_FLG_FLASHING 0x00800000
47 #define GWIN_FIRST_WM_FLAG 0x01000000
48 #define GWIN_LAST_WM_FLAG 0x80000000
64 #if GWIN_NEED_WIDGET || defined(__DOXYGEN__)
69 #define GWIDGET_NO_INSTANCE ((gU16)-1)
74 #define GWIDGET_SOURCE ((GSourceHandle)(void *)_gwidgetCreate)
95 #if GINPUT_NEED_KEYBOARD || GWIN_NEED_KEYBOARD
97 void (*KeyboardEvent) (
GWidgetObject *gw, GEventKeyboard *pke);
100 #if GINPUT_NEED_TOGGLE
103 void (*ToggleAssign) (
GWidgetObject *gw, gU16 role, gU16 instance);
112 void (*DialAssign) (
GWidgetObject *gw, gU16 role, gU16 instance);
114 void (*DialMove) (
GWidgetObject *gw, gU16 role, gU16 value, gU16 max);
121 #if GWIN_NEED_CONTAINERS || defined(__DOXYGEN__)
144 #if GWIN_NEED_WINDOWMANAGER || defined(__DOXYGEN__)
146 typedef struct GWindowManager {
170 extern GWindowManager *_GWINwm;
171 extern gBool _gwinFlashState;
209 typedef enum GRedrawMethod { REDRAW_WAIT, REDRAW_NOWAIT, REDRAW_INSESSION } GRedrawMethod;
226 void _gwinFlushRedraws(GRedrawMethod how);
236 gBool _gwinDrawStart(
GHandle gh);
256 void _gwinDestroy(
GHandle gh, GRedrawMethod how);
267 #if GWIN_NEED_WIDGET || defined(__DOXYGEN__)
289 void _gwidgetDestroy(
GHandle gh);
302 void _gwidgetRedraw(
GHandle gh);
314 void _gwinSendEvent(
GHandle gh, GEventType type);
316 #if (GFX_USE_GINPUT && GINPUT_NEED_KEYBOARD) || GWIN_NEED_KEYBOARD || defined(__DOXYGEN__)
324 void _gwinMoveFocus(
void);
340 void _gwinFixFocus(
GHandle gh);
370 #if GDISP_NEED_CIRCLE
375 #define _gwinFixFocus(gh)
376 #define _gwidgetDrawFocusRect(gh,x,y,cx,cy)
377 #define _gwidgetDrawFocusCircle(gh,radius)
380 #if GWIN_NEED_FLASHING || defined(__DOXYGEN__)
393 #define _gwinFixFocus(gh)
396 #if GWIN_NEED_CONTAINERS || defined(__DOXYGEN__)
418 void _gcontainerDestroy(
GHandle gh);
431 #define _gcontainerRedraw _gwidgetRedraw
441 void _gwinRippleVisibility(
void);
gI16 gCoord
The type for a coordinate or length on the screen.
GWindowMinMax
A window's minimized, maximized or normal size.
The structure to initialise a GWIN.
A window object structure.
The Virtual Method Table for a container.
void(* NotifyAdd)(GHandle gh, GHandle ghChild)
gCoord(* LeftBorder)(GHandle gh)
gCoord(* RightBorder)(GHandle gh)
gCoord(* TopBorder)(GHandle gh)
void(* NotifyDelete)(GHandle gh, GHandle ghChild)
gCoord(* BottomBorder)(GHandle gh)
The Virtual Method Table for a GWIN window.
void(* AfterClear)(GWindowObject *gh)
void(* Redraw)(GWindowObject *gh)
void(* Destroy)(GWindowObject *gh)
The Virtual Method Table for a window manager.
void(* Move)(GHandle gh, gCoord x, gCoord y)
void(* Delete)(GHandle gh)
void(* MinMax)(GHandle gh, GWindowMinMax minmax)
gBool(* Add)(GHandle gh, const GWindowInit *pInit)
void(* Size)(GHandle gh, gCoord w, gCoord h)
void(* Raise)(GHandle gh)
void(* Redraw)(GHandle gh)