41static float bgcolor[4] = {0.0, 0.0, 0.0, 0.0};
42static float white[4] = {1.0, 1.0, 1.0, 1.0};
43static float red[4] = {1.0, 0.0, 0.0, 1.0};
79 if (
ReInfo->s->currentTime < -1.0) {
80 ReInfo->s->currentTime = -1.0;
81 ReInfo->_reLastTime = -1.0;
91 GfOut(
"Video Capture Mode Not Enabled\n");
97 GfOut(
"Video Capture Mode On\n");
103 GfOut(
"Video Capture Mode Off\n");
137 static char *curMsg = 0;
139 if (curMsg) free(curMsg);
142 curMsg = strdup(msg);
153 static char *curMsg = 0;
155 if (curMsg) free(curMsg);
158 curMsg = strdup(msg);
301 for (i = 1; i <
LINES; i++) {
311 static const char *title[3] = {
"Practice",
"Qualifications",
"Race"};
339 for (i = 0; i <
LINES; i++) {
370 for (i = 1; i <
LINES; i++) {
387 if ((clr >= 0) && (clr < 2)) {
408 for (i = 0; i <
LINES; i++) {
void * GfuiScreenCreateExAction(float *bgColor, const tGfuiAction &onActivate, const tGfuiAction &onDeactivate, int mouseAllowed)
Create a screen.
void GfuiHelpScreen(void *prevScreen)
Generate a help screen.
void GfuiHookRelease(void *hook)
Release the given hook.
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 GfuiAddKeyAction(void *scr, unsigned char key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
Add a Keyboard callback to a screen.
void GfuiScreenAddBgImg(void *scr, const char *filename)
Add an image background to a screen.
int GfuiVisibilitySet(void *scr, int id, int visible)
Set/unset the visibility attribute of an object.
void GfuiDisplay(void)
Draw the active GUI screen and swap the GLUT buffers.
void GfuiAddSKeyAction(void *scr, int key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
Add a Special Keyboard shortcut to the screen.
void * GfuiHookCreateAction(const tGfuiAction &onActivate)
Create a callback hook.
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 GfuiLabelSetColor(void *scr, int id, float *color)
Change the color of a label.
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.
const char * GfParmGetStr(void *parmHandle, const char *path, const char *key, const char *deflt)
Get a string parameter from the parameter set handle.
void GfuiScreenShot(void *)
Save a screen shot in png format.
double GfTimeClock(void)
Get the time in seconds.
static void reResScreenShutdown(void *)
void * ReScreenInit(void)
static void reScreenActivate(void *)
static void * reScreenHandle
void * ReResScreenInit(void)
static char * reResMsg[LINES]
void ReResScreenSetText(const char *text, int line, int clr)
void ReSetRaceBigMsg(const char *msg)
static int reResMsgId[LINES]
static void reResCont(void *)
static void reAddKeys(void)
void ReResEraseScreen(void)
static void reAddResKeys(void)
void ReResScreenRemoveText(int line)
static void reResScreenActivate(void *)
void ReResScreenAddText(char *text)
static int reResMsgClr[LINES]
void ReSetRaceMsg(const char *msg)
static void * reResScreenHdle
void ReHookShutdown(void)
static void * reHookHandle
static void reContDisplay(void)
static void ReBoardInfo(void *)
static void reSkipPreStart(void *)
void ReScreenShutdown(void)
static void reDisplay(void)
static void reHookActivate(void *)
void ReResScreenSetTitle(char *title)
static void reMovieCapture(void *)
struct RmMovieCapture tRmMovieCapture
#define RE_STATE_RACE_STOP
#define RM_DISP_MODE_CAPTURE
#define RM_DISP_MODE_NONE
#define RM_DISP_MODE_NORMAL
void ReStateApply(int state)
#define GFUI_FONT_LARGE_C
#define GFUI_FONT_MEDIUM_C
std::function< void()> tGfuiAction