TORCS  1.3.9
The Open Racing Car Simulator
guimenu.cpp File Reference

GUI menu management. More...

#include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
#include <tgfclient.h>
#include "gui.h"
#include "guimenu.h"
Include dependency graph for guimenu.cpp:

Go to the source code of this file.

Functions

void gfMenuInit (void)
 
void GfuiMenuDefaultKeysAdd (void *scr)
 Add the default menu keyboard callback to a screen. More...
 
void * GfuiMenuScreenCreate (const char *title)
 Create a new menu screen. More...
 
static void dispInfo (void *cbinfo)
 
static void remInfo (void *cbinfo)
 
int GfuiMenuButtonCreate (void *scr, const char *text, const char *tip, void *userdata, tfuiCallback onpush)
 Add a button to a menu screen. More...
 
int GfuiMenuBackQuitButtonCreate (void *scr, const char *text, const char *tip, void *userdata, tfuiCallback onpush)
 Add the "Back" or "Quit" button at the bottom of the menu screen. More...
 

Detailed Description

GUI menu management.

Author
Eric Espie
Version
$Id$

Definition in file guimenu.cpp.

Function Documentation

◆ dispInfo()

static void dispInfo ( void *  cbinfo)
static

Definition at line 89 of file guimenu.cpp.

Here is the call graph for this function:

◆ gfMenuInit()

void gfMenuInit ( void  )

Definition at line 39 of file guimenu.cpp.

◆ remInfo()

static void remInfo ( void *  cbinfo)
static

Definition at line 94 of file guimenu.cpp.

Here is the call graph for this function: