Data Structures |
struct | gUpdate |
struct | gEvent |
struct | gEvHandlerList |
struct | gFontData |
class | gFont |
class | gControl |
struct | gLoopData |
class | gApplication |
class | gForm |
struct | gSoftMenuItem |
class | gSoftMenu |
class | gStaticText |
class | gStaticTextWrap |
class | gCheckBox |
class | gEditBox |
struct | gListItem |
class | gListBox |
Defines |
#define | SCREEN_W 160 |
#define | SCREEN_H 80 |
#define | USERSCREEN_W 131 |
#define | USERSCREEN_H 80 |
#define | CAPTIONHEIGHT 7 |
#define | SOFTMENUHEIGHT 6 |
#define | SCROLLBARWIDTH 3 |
#define | BORDERWIDTH 1 |
#define | CURSORBLINKSPEED 40000 |
#define | TRIM_BEGIN 0 |
#define | TRIM_END 1 |
#define | ITEM_GROUP 16 |
#define | CHECKHEIGHT 6 |
#define | LEVELWIDTH 8 |
#define | CHECKWIDTH 8 |
#define | CHECKBMPWIDTH 48 |
Typedefs |
typedef BOOL(* | gEvHandler )(gEvent *e, gControl *_This) |
Enumerations |
enum | gGraphicCommands {
GCMD_END = 0,
GCMD_SETCLIP,
GCMD_DRAWICON,
GCMD_VLINE,
GCMD_HLINE,
GCMD_RECT
} |
enum | gColors {
GWHITE = 0,
GGRAY1 = 0x11111111,
GGRAY2 = 0x22222222,
GGRAY3 = 0x33333333,
GGRAY4 = 0x44444444,
GGRAY5 = 0x55555555,
GGRAY6 = 0x66666666,
GGRAY7 = 0x77777777,
GGRAY8 = 0x88888888,
GGRAY9 = 0x99999999,
GGRAY10 = 0xaaaaaaaa,
GGRAY11 = 0xbbbbbbbb,
GGRAY12 = 0xcccccccc,
GGRAY13 = 0xdddddddd,
GGRAY14 = 0xeeeeeeee,
GBLACK = 0xffffffff
} |
enum | gAppFlags { GAPP_EXIT = 1,
GAPP_NEXTFORM,
GAPP_PREVFORM
} |
enum | gEvTypes {
GEVENT_NONE = 0,
GEVENT_KEYB = 1,
GEVENT_IDLE,
GEVENT_GUI,
GEVENT_TMR,
GEVENT_SD,
GEVENT_SERIAL
} |
enum | gEvGui {
GEVGUI_GETFOCUS = 1,
GEVGUI_LOSEFOCUS,
GEVGUI_FORMCREATE,
GEVGUI_FORMOPEN,
GEVGUI_FORMCLOSE,
GEVGUI_FORMEXIT,
GEVGUI_NEWFORM,
GEVGUI_CHANGEFORM,
GEVGUI_QUERYCLOSE,
GEVGUI_BEFORECHANGE,
GEVGUI_AFTERCHANGE,
GEVGUI_BEFORECOLLAPSE,
GEVGUI_AFTERCOLLAPSE,
GEVGUI_BEFOREEXPAND,
GEVGUI_AFTEREXPAND,
GEVGUI_BEFORECHECK,
GEVGUI_AFTERCHECK,
GEVGUI_ENTER
} |
enum | gSystemFonts {
FONT_MINI = -6,
FONT_TINY = 5,
FONT_SYSTEM6 = 6,
FONT_SYSTEM7 = 7,
FONT_SYSTEM8 = 8
} |
enum | gFormStyles {
S_TOPCAPTION = 1,
S_BOTTOMCAPTION = 2,
S_SINGLESTATUSLINE = 4,
S_DOUBLESTATUSLINE = 8,
S_TOPSTATUS = 16,
S_FORCEVSCROLL = 32,
S_FORCEHSCROLL = 64,
S_FORMBORDER = 128,
S_SHADE = 256,
S_SINGLESOFTMENU = 1024,
S_EXSOFTMENU = 2048,
S_FULLSCREEN = 4096
} |
enum | gStateFlags { STAT_VISIBLE = 1,
STAT_FOCUS = 2
} |
enum | gStyles {
S_UNCHECKED = 0,
S_CHECK = 1,
S_DOT,
S_PLUS,
S_MINUS,
S_UNKNOWN,
S_SELECTED = 8,
S_MULTILINE = 16,
S_HSCROLLBAR = 32,
S_VSCROLLBAR = 64,
S_HASBORDER = 128,
S_FOCUSED = 512
} |
enum | gEditStates {
ES_SHOWCURSOR = 1,
ES_CURSORBLINK = 2,
ES_RDONLY = 4,
ES_SINGLELINE = 8,
ES_LIMITEDIT = 16,
ES_OVERWRITE = 32
} |
enum | gListStates {
LS_HASCHECK = 1,
LS_CHECKED = 2,
LS_UNKNOWN = 4,
LS_HIDDEN = 8,
LS_SELECTED = 16,
LS_EXPANDABLE = 32,
LS_EXPANDED = 64
} |
enum | gMsgBoxStyle { S_OKCANCEL = 0,
S_YESNO,
S_RETRYCANCEL,
S_OKONLY
} |
enum | gMsgBoxResult {
S_OK = 0,
S_YES = 0,
S_RETRY = 0,
S_NO = -1,
S_CANCEL = -1
} |
Functions |
gMsgBoxResult | gDoMessageBox (gApplication *app, const char *Title, const char *Message, gMsgBoxStyle Flags) |
BOOL | gOKEvent (gEvent *e, gControl *This) |
BOOL | gCancelEvent (gEvent *e, gControl *This) |
BOOL | gDoNothingEvent (gEvent *e, gControl *This) |
Graphical User Interface in greyscale.
The GUI module enables easier coding of programs that require user interaction.
Definition in file gui.h.