torcs - 1.2.2

src/libs/tgfclient/gui.h File Reference

#include "guifont.h"

Include dependency graph for gui.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  GfuiKey
struct  GfuiListElement
struct  GfuiObject
struct  tGfuiButton
struct  tGfuiEditbox
struct  tGfuiGrButton
struct  tGfuiImage
struct  tGfuiLabel
struct  tGfuiScreen
struct  tGfuiScrollBar
struct  tGfuiScrollList

Defines

#define GFUI_COLORNB   21
#define GFUI_BGCOLOR   0
#define GFUI_TITLECOLOR   1
#define GFUI_BGBTNFOCUS   2
#define GFUI_BGBTNCLICK   3
#define GFUI_BGBTNENABLED   4
#define GFUI_BGBTNDISABLED   5
#define GFUI_BTNFOCUS   6
#define GFUI_BTNCLICK   7
#define GFUI_BTNENABLED   8
#define GFUI_BTNDISABLED   9
#define GFUI_LABELCOLOR   10
#define GFUI_TIPCOLOR   11
#define GFUI_MOUSECOLOR1   12
#define GFUI_MOUSECOLOR2   13
#define GFUI_HELPCOLOR1   14
#define GFUI_HELPCOLOR2   15
#define GFUI_BGSCROLLIST   16
#define GFUI_FGSCROLLIST   17
#define GFUI_BGSELSCROLLIST   18
#define GFUI_FGSELSCROLLIST   19
#define GFUI_EDITCURSORCLR   20
#define GFUI_IMAGE   21
#define GFUI_BTN_DISABLE   0
#define GFUI_BTN_RELEASED   1
#define GFUI_BTN_PUSHED   2
#define GFUI_BTN_PUSH   0
#define GFUI_BTN_STATE   1
#define GFUI_FOCUS_NONE   0
#define GFUI_FOCUS_MOUSE_MOVE   1
#define GFUI_FOCUS_MOUSE_CLICK   2

Typedefs

typedef GfuiListElement tGfuiListElement
typedef GfuiObject tGfuiObject
typedef GfuiKey tGfuiKey

Functions

void gfuiReleaseObject (tGfuiObject *curObject)
void GfuiDrawCursor ()
void GfuiDraw (tGfuiObject *obj)
void gfuiUpdateFocus ()
void gfuiPrintString (int x, int y, GfuiFontClass *font, char *string)
void gfuiMouseAction (void *action)
void gfuiSelectNext (void *)
void gfuiSelectPrev (void *)
void gfuiSelectId (void *scr, int id)
void gfuiAddObject (tGfuiScreen *screen, tGfuiObject *object)
tGfuiObjectgfuiGetObject (void *scr, int id)
void gfuiSetLabelText (tGfuiObject *object, tGfuiLabel *label, char *text)
void gfuiDrawLabel (tGfuiObject *obj)
void gfuiDrawButton (tGfuiObject *obj)
void gfuiButtonAction (int action)
void gfuiDrawGrButton (tGfuiObject *obj)
void gfuiGrButtonAction (int action)
void gfuiDrawScrollist (tGfuiObject *obj)
void gfuiScrollListAction (int mouse)
void gfuiDrawEditbox (tGfuiObject *obj)
void gfuiEditboxAction (int action)
void gfuiInit (void)
void gfuiButtonInit (void)
void gfuiHelpInit (void)
void gfuiLabelInit (void)
void gfuiObjectInit (void)
void gfuiEditboxInit (void)
void gfuiReleaseLabel (tGfuiObject *obj)
void gfuiReleaseButton (tGfuiObject *obj)
void gfuiReleaseGrButton (tGfuiObject *obj)
void gfuiReleaseScrollist (tGfuiObject *curObject)
void gfuiReleaseScrollbar (tGfuiObject *curObject)
void gfuiReleaseEditbox (tGfuiObject *curObject)
void gfuiLoadFonts (void)
void gfuiEditboxKey (tGfuiObject *obj, int key, int modifier)
void gfuiScrollListNextElt (tGfuiObject *object)
void gfuiScrollListPrevElt (tGfuiObject *object)
void gfuiReleaseImage (tGfuiObject *obj)
void gfuiDrawImage (tGfuiObject *obj)

Variables

float GfuiColor [GFUI_COLORNB][4]
tGfuiScreenGfuiScreen
tMouseInfo GfuiMouse
int GfuiMouseHW


Define Documentation

#define GFUI_BGBTNCLICK   3
 

#define GFUI_BGBTNDISABLED   5
 

#define GFUI_BGBTNENABLED   4
 

#define GFUI_BGBTNFOCUS   2
 

#define GFUI_BGCOLOR   0
 

#define GFUI_BGSCROLLIST   16
 

#define GFUI_BGSELSCROLLIST   18
 

#define GFUI_BTN_DISABLE   0
 

#define GFUI_BTN_PUSH   0
 

#define GFUI_BTN_PUSHED   2
 

#define GFUI_BTN_RELEASED   1
 

#define GFUI_BTN_STATE   1
 

#define GFUI_BTNCLICK   7
 

#define GFUI_BTNDISABLED   9
 

#define GFUI_BTNENABLED   8
 

#define GFUI_BTNFOCUS   6
 

#define GFUI_COLORNB   21
 

#define GFUI_EDITCURSORCLR   20
 

#define GFUI_FGSCROLLIST   17
 

#define GFUI_FGSELSCROLLIST   19
 

#define GFUI_FOCUS_MOUSE_CLICK   2
 

#define GFUI_FOCUS_MOUSE_MOVE   1
 

#define GFUI_FOCUS_NONE   0
 

#define GFUI_HELPCOLOR1   14
 

#define GFUI_HELPCOLOR2   15
 

#define GFUI_IMAGE   21
 

#define GFUI_LABELCOLOR   10
 

#define GFUI_MOUSECOLOR1   12
 

#define GFUI_MOUSECOLOR2   13
 

#define GFUI_TIPCOLOR   11
 

#define GFUI_TITLECOLOR   1
 


Typedef Documentation

typedef struct GfuiKey tGfuiKey
 

typedef struct GfuiListElement tGfuiListElement
 

typedef struct GfuiObject tGfuiObject
 


Function Documentation

void gfuiAddObject tGfuiScreen screen,
tGfuiObject object
 

void gfuiButtonAction int  action  ) 
 

void gfuiButtonInit void   ) 
 

void GfuiDraw tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiDrawButton tGfuiObject obj  ) 
 

Here is the call graph for this function:

void GfuiDrawCursor  ) 
 

void gfuiDrawEditbox tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiDrawGrButton tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiDrawImage tGfuiObject obj  ) 
 

void gfuiDrawLabel tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiDrawScrollist tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiEditboxAction int  action  ) 
 

Here is the call graph for this function:

void gfuiEditboxInit void   ) 
 

void gfuiEditboxKey tGfuiObject obj,
int  key,
int  modifier
 

tGfuiObject* gfuiGetObject void *  scr,
int  id
 

void gfuiGrButtonAction int  action  ) 
 

void gfuiHelpInit void   ) 
 

void gfuiInit void   ) 
 

Here is the call graph for this function:

void gfuiLabelInit void   ) 
 

void gfuiLoadFonts void   ) 
 

Here is the call graph for this function:

void gfuiMouseAction void *  action  ) 
 

Here is the call graph for this function:

void gfuiObjectInit void   ) 
 

void gfuiPrintString int  x,
int  y,
GfuiFontClass font,
char *  string
 

Here is the call graph for this function:

void gfuiReleaseButton tGfuiObject obj  ) 
 

void gfuiReleaseEditbox tGfuiObject curObject  ) 
 

void gfuiReleaseGrButton tGfuiObject obj  ) 
 

void gfuiReleaseImage tGfuiObject obj  ) 
 

Here is the call graph for this function:

void gfuiReleaseLabel tGfuiObject obj  ) 
 

void gfuiReleaseObject tGfuiObject curObject  ) 
 

Here is the call graph for this function:

void gfuiReleaseScrollbar tGfuiObject curObject  ) 
 

void gfuiReleaseScrollist tGfuiObject curObject  ) 
 

void gfuiScrollListAction int  mouse  ) 
 

Here is the call graph for this function:

void gfuiScrollListNextElt tGfuiObject object  ) 
 

Here is the call graph for this function:

void gfuiScrollListPrevElt tGfuiObject object  ) 
 

Here is the call graph for this function:

void gfuiSelectId void *  scr,
int  id
 

void gfuiSelectNext void *   ) 
 

Here is the call graph for this function:

void gfuiSelectPrev void *   ) 
 

Here is the call graph for this function:

void gfuiSetLabelText tGfuiObject object,
tGfuiLabel label,
char *  text
 

Here is the call graph for this function:

void gfuiUpdateFocus  ) 
 


Variable Documentation

float GfuiColor[GFUI_COLORNB][4]
 

tMouseInfo GfuiMouse
 

int GfuiMouseHW
 

tGfuiScreen* GfuiScreen
 


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