39 float black[4] = { 0.0, 0.0, 0.0, 0.0 };
74 white[i][3] = (float)i * 0.0421 + 0.2;
float white[TEXTLINES][4]
static char * rmTextLines[TEXTLINES]
void GfuiDisplay(void)
Display function for the GUI to be called during redisplay of glut.
void GfuiScreenRelease(void *scr)
Release the given screen.
void GfuiScreenAddBgImg(void *scr, const char *filename)
Add an image background to a screen.
The Gaming Framework API (client part).
void * GfuiScreenCreateEx(float *bgColor, void *userDataOnActivate, tfuiCallback onActivate, void *userDataOnDeactivate, tfuiCallback onDeactivate, int mouseAllowed)
Create a screen.
void GfuiLabelSetText(void *scr, int id, const char *text)
Change the text of a label.
int GfuiScreenIsActive(void *screen)
Tell if the screen is active or not.
static int rmTextId[TEXTLINES]
This is the car structure.
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
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).
int GfuiTitleCreate(void *scr, const char *text, int maxlen)
Add a Title to the screen.
#define GFUI_FONT_MEDIUM_C
static void rmDeativate(void *)