 |
torcs - 1.2.2 |
 |
src/libs/tgfclient/gui.h File Reference
#include "guifont.h"
Include dependency graph for gui.h:
This graph shows which files directly or indirectly include this file:
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) |
tGfuiObject * | gfuiGetObject (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] |
tGfuiScreen * | GfuiScreen |
tMouseInfo | GfuiMouse |
int | GfuiMouseHW |
Define Documentation
#define GFUI_BGBTNCLICK 3
|
|
#define GFUI_BGBTNDISABLED 5
|
|
#define GFUI_BGBTNENABLED 4
|
|
#define GFUI_BGBTNFOCUS 2
|
|
#define GFUI_BGSCROLLIST 16
|
|
#define GFUI_BGSELSCROLLIST 18
|
|
#define GFUI_BTN_DISABLE 0
|
|
#define GFUI_BTN_PUSHED 2
|
|
#define GFUI_BTN_RELEASED 1
|
|
#define GFUI_BTNDISABLED 9
|
|
#define GFUI_BTNENABLED 8
|
|
#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_LABELCOLOR 10
|
|
#define GFUI_MOUSECOLOR1 12
|
|
#define GFUI_MOUSECOLOR2 13
|
|
#define GFUI_TITLECOLOR 1
|
|
Typedef Documentation
Function Documentation
void gfuiButtonAction |
( |
int |
action |
) |
|
|
void gfuiButtonInit |
( |
void |
|
) |
|
|
Here is the call graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
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 |
|
) |
|
|
void gfuiGrButtonAction |
( |
int |
action |
) |
|
|
void gfuiHelpInit |
( |
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:
Here is the call graph for this function:
Here is the call graph for this function:
void gfuiScrollListAction |
( |
int |
mouse |
) |
|
|
Here is the call graph for this function:
Here is the call graph for this function:
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:
Here is the call graph for this function:
Variable Documentation
Generated at Thu Feb 26 21:53:10 2004 for torcs by
1.3.3 written by Dimitri van Heesch,
© 1997-1999
TORCS © Eric Espié 1999, 2002.