74 if (curSKey != NULL) {
75 curSKey = curSKey->
next;
81 curKey = curKey->
next;
90 }
while ((curKey != NULL) || (curSKey != NULL));
void GfuiScreenReplace(void *screen)
Activate a screen and make it current plus release the current screen.
int GfuiButtonCreate(void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
Add a button to a screen.
void GfuiAddKey(void *scr, unsigned char key, const char *descr, void *userData, tfuiCallback onKeyPressed, tfuiCallback onKeyReleased)
Add a Keyboard callback to a screen.
#define GFUI_FONT_SMALL_C
The Gaming Framework API (client part).
void GfuiMenuDefaultKeysAdd(void *scr)
Add the default menu keyboard callback to a screen.
void(* tfuiCallback)(void *)
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
void GfuiAddSKey(void *scr, int key, const char *descr, void *userData, tfuiCallback onKeyPressed, tfuiCallback onKeyReleased)
Add a Special Keyboard shortcut to the screen.
void GfuiHelpScreen(void *prevScreen)
Generate a help screen.
float GfuiColor[GFUI_COLORNB][4]
int GfuiLabelCreateEx(void *scr, const char *text, float *fgColor, int font, int x, int y, int align, int maxlen)
Create a new label (extended version).
void * GfuiScreenCreate(void)
Create a new screen.