37float black[4] = { 0.0, 0.0, 0.0, 0.0 };
72 white[i][3] = (float)i * 0.0421 + 0.2;
void * GfuiScreenCreateExAction(float *bgColor, const tGfuiAction &onActivate, const tGfuiAction &onDeactivate, int mouseAllowed)
Create a screen.
void GfuiLabelSetText(void *scr, int id, const char *text)
Change the text of a label.
void GfuiScreenRelease(void *scr)
Release the given screen.
int GfuiTitleCreate(void *scr, const char *text, int maxlen)
Add a Title to the screen.
void GfuiScreenAddBgImg(void *scr, const char *filename)
Add an image background to a screen.
void GfuiDisplay(void)
Draw the active GUI screen and swap the GLUT buffers.
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 GfuiScreenIsActive(void *screen)
Tell if the screen is active or not.
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
static int rmTextId[TEXTLINES]
static char * rmTextLines[TEXTLINES]
static void rmDeativate(void)
#define GFUI_FONT_MEDIUM_C
std::function< void()> tGfuiAction