73 if (curSKey != NULL) {
74 curSKey = curSKey->
next;
80 curKey = curKey->
next;
89 }
while ((curKey != NULL) || (curSKey != NULL));
void GfuiHelpScreen(void *prevScreen)
Generate a help screen.
void GfuiMenuDefaultKeysAdd(void *scr)
Add the default menu keyboard callback to a screen.
void GfuiAddKeyAction(void *scr, unsigned char key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
Add a Keyboard callback to a screen.
void GfuiAddSKeyAction(void *scr, int key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
Add a Special Keyboard shortcut to the screen.
void GfuiScreenReplace(void *screen)
Activate a screen and make it current plus release the current screen.
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.
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
int GfuiButtonCreateAction(void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, const tGfuiAction &onPush, const tGfuiAction &onFocus, const tGfuiAction &onFocusLost)
Add a button to a screen.
float GfuiColor[GFUI_COLORNB][4]
The Gaming Framework API (client part).
#define GFUI_FONT_SMALL_C
std::function< void()> tGfuiAction