torcs - 1.2.2

src/libs/tgfclient/guimenu.cpp File Reference


Detailed Description

GUI menu management.

Author:
Eric Espie
Version:
Id
guimenu.cpp,v 1.2 2003/06/24 21:02:25 torcs Exp

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <GL/glut.h>
#include <tgfclient.h>
#include "gui.h"
#include "guimenu.h"

Include dependency graph for guimenu.cpp:

Include dependency graph

Functions

void gfMenuInit (void)
void GfuiMenuDefaultKeysAdd (void *scr)
 Add the default menu keyboard callback to a screen.

void * GfuiMenuScreenCreate (char *title)
 Create a new menu screen.

int GfuiMenuButtonCreate (void *scr, char *text, char *tip, void *userdata, tfuiCallback onpush)
 Add a button to a menu screen.

int GfuiMenuBackQuitButtonCreate (void *scr, char *text, char *tip, void *userdata, tfuiCallback onpush)
 Add the "Back" or "Quit" button at the bottom of the menu screen.


Function Documentation

void gfMenuInit void   ) 
 


Generated at Thu Feb 26 21:53:11 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.