TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
tgfclient.h File Reference


The Gaming Framework API (client part). More...

#include <functional>
#include <tgf.h>
#include <GL/glut.h>
#include <plib/js.h>
#include <screen_properties.h>
Include dependency graph for tgfclient.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ScrollBarInfo
 Scroll bar call-back information. More...
struct  MouseInfo
struct  tCtrlRef
struct  tCtrlJoyInfo
 Joystick Information Structure. More...
struct  tCtrlMouseInfo
 Mouse information structure. More...

Macros

#define NUM_JOY   8
#define GFUI_LABEL   0
#define GFUI_BUTTON   1
#define GFUI_GRBUTTON   2
#define GFUI_SCROLLIST   3
#define GFUI_SCROLLBAR   4
#define GFUI_EDITBOX   5
#define GFUI_ALIGN_HL_VB   0x00
#define GFUI_ALIGN_HL_VC   0x01
#define GFUI_ALIGN_HL_VT   0x02
#define GFUI_ALIGN_HC_VB   0x10
#define GFUI_ALIGN_HC_VC   0x11
#define GFUI_ALIGN_HC_VT   0x12
#define GFUI_ALIGN_HR_VB   0x20
#define GFUI_ALIGN_HR_VC   0x21
#define GFUI_ALIGN_HR_VT   0x22
#define GFUI_MOUSE_UP   0
#define GFUI_MOUSE_DOWN   1
#define GFUI_KEY_UP   0
#define GFUI_KEY_DOWN   1
#define GFUI_SB_NONE   0
#define GFUI_SB_RIGHT   1
#define GFUI_SB_LEFT   2
#define GFUI_SB_TOP   3
#define GFUI_SB_BOTTOM   4
#define GFUI_HORI_SCROLLBAR   0
#define GFUI_VERT_SCROLLBAR   1
#define GFUI_VISIBLE   1
 Object visibility flag.
#define GFUI_INVISIBLE   0
 Object invisibility flag.
#define GFUI_DISABLE   1
#define GFUI_ENABLE   0
#define GFUI_FONT_BIG   0
#define GFUI_FONT_LARGE   1
#define GFUI_FONT_MEDIUM   2
#define GFUI_FONT_SMALL   3
#define GFUI_FONT_BIG_C   4
#define GFUI_FONT_LARGE_C   5
#define GFUI_FONT_MEDIUM_C   6
#define GFUI_FONT_SMALL_C   7
#define GFUI_FONT_DIGIT   8
#define GFUI_BTNSZ   300
#define GFCTRL_JOY_UNTESTED   -1
#define GFCTRL_JOY_NONE   0
#define GFCTRL_JOY_PRESENT   1
#define GFCTRL_JOY_MAXBUTTON   32 /* Size of integer so don't change please */

Typedefs

typedef struct ScrollBarInfo tScrollBarInfo
 Scroll bar call-back information.
typedef std::function< void()> tGfuiAction
typedef void(* tfuiCallback) (void *)
typedef void(* tfuiSBCallback) (tScrollBarInfo *)
typedef int(* tfuiKeyCallback) (unsigned char key, int modifier, int state)
 return 1 to prevent normal key computing
typedef int(* tfuiSKeyCallback) (int key, int modifier, int state)
 return 1 to prevent normal key computing
typedef struct MouseInfo tMouseInfo

Enumerations

enum  GfCtrlType {
  GFCTRL_TYPE_NOT_AFFECTED = 0 , GFCTRL_TYPE_JOY_AXIS = 1 , GFCTRL_TYPE_JOY_BUT = 2 , GFCTRL_TYPE_KEYBOARD = 3 ,
  GFCTRL_TYPE_MOUSE_BUT = 4 , GFCTRL_TYPE_MOUSE_AXIS = 5 , GFCTRL_TYPE_SKEYBOARD = 6
}

Functions

void GfInitClient (void)
unsigned char * GfImgReadPng (const char *filename, int *widthp, int *heightp, float gamma)
 Load an image from disk to a buffer in RGBA mode.
int GfImgWritePng (unsigned char *img, const char *filename, int width, int height)
 Write a buffer to a png image on disk.
int GfImgWritePngNoGamma (unsigned char *img, const char *filename, int width, int height)
 Write a framebuffer capture to a png image on disk without gamma metadata.
void GfImgFreeTex (GLuint tex)
 Free the texture.
GLuint GfImgReadTex (char *filename)
 Read a png image into a texture.
void GfScrInit (int argc, char *argv[])
void GfScrShutdown (void)
 Shutdown the screen.
void * GfScrMenuInit (void *precMenu)
 Create and activate the video options menu screen.
void GfTime2Str (char *result, int resultSize, tdble sec, int sgn)
 Convert a time in seconds (float) to an ascii string.
void GfScrGetSize (int *ScrW, int *ScrH, int *ViewW, int *ViewH)
 Get the screen and viewport sizes.
void GfScrReinit (void *)
void GfuiDisplay (void)
 Draw the active GUI screen and swap the GLUT buffers.
void GfuiDisplayNothing (void)
 GLUT display callback that performs no drawing or buffer swap.
void GfuiIdle (void)
 Process held-mouse-button repeat actions on the active screen.
void * GfuiScreenCreate (void)
 Create a new screen.
void * GfuiScreenCreateExAction (float *bgColor, const tGfuiAction &onActivate, const tGfuiAction &onDeactivate, int mouseAllowed)
 Create a screen.
void * GfuiScreenCreateEx (float *bgColor, void *userDataOnActivate, tfuiCallback onActivate, void *userDataOnDeactivate, tfuiCallback onDeactivate, int mouseAllowed)
 Create a screen using callbacks with caller-supplied data.
void GfuiScreenRelease (void *screen)
 Release the given screen.
void GfuiScreenActivate (void *screen)
 Activate a screen and make it current.
int GfuiScreenIsActive (void *screen)
 Tell if the screen is active or not.
void GfuiScreenReplace (void *screen)
 Activate a screen and make it current plus release the current screen.
void GfuiScreenDeactivate (void)
 Deactivate the current screen.
void * GfuiHookCreateAction (const tGfuiAction &onActivate)
 Create a callback hook.
void * GfuiHookCreate (void *userDataOnActivate, tfuiCallback onActivate)
 Create a callback-only screen hook.
void GfuiHookRelease (void *hook)
 Release the given hook.
void GfuiAddKeyAction (void *scr, unsigned char key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
 Add a Keyboard callback to a screen.
void GfuiAddKey (void *scr, unsigned char key, const char *descr, void *userData, tfuiCallback onKeyPressed, tfuiCallback onKeyReleased)
 Bind an ordinary key on a screen using callbacks with caller-supplied data.
void GfuiRegisterKeyAction (unsigned char key, char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
 Add a Keyboard callback to the current screen.
void GfuiRegisterKey (unsigned char key, char *descr, void *userData, tfuiCallback onKeyPressed, tfuiCallback onKeyReleased)
 Bind an ordinary key on the currently active screen.
void GfuiAddSKeyAction (void *scr, int key, const char *descr, const tGfuiAction &onKeyPressed, const tGfuiAction &onKeyReleased)
 Add a Special Keyboard shortcut to the screen.
void GfuiAddSKey (void *scr, int key, const char *descr, void *userData, tfuiCallback onKeyPressed, tfuiCallback onKeyReleased)
 Bind a GLUT special key, such as an arrow or function key, on a screen.
void GfuiHelpScreen (void *prevScreen)
 Generate a help screen.
void GfuiScreenShot (void *notused)
 Save a screen shot in png format.
void GfuiScreenAddBgImg (void *scr, const char *filename)
 Add an image background to a screen.
void GfuiKeyEventRegister (void *scr, tfuiKeyCallback onKeyAction)
 Set the ordinary-key event interceptor for a screen.
void GfuiSKeyEventRegister (void *scr, tfuiSKeyCallback onSKeyAction)
 Set the special-key event interceptor for a screen.
void GfuiKeyEventRegisterCurrent (tfuiKeyCallback onKeyAction)
 Set the ordinary-key interceptor on the currently active screen.
void GfuiSKeyEventRegisterCurrent (tfuiSKeyCallback onSKeyAction)
 Set the special-key interceptor on the currently active screen.
tMouseInfo * GfuiMouseInfo (void)
 Get the GUI's current mouse state.
void GfuiMouseSetPos (int x, int y)
 Set the mouse position.
void GfuiMouseHide (void)
 Disallow the software mouse cursor on the active screen.
void GfuiMouseShow (void)
 Allow the software mouse cursor on the active screen.
void GfuiMouseSetHWPresent (void)
 Force the hardware mouse pointer.
int GfuiVisibilitySet (void *scr, int id, int visible)
 Set/unset the visibility attribute of an object.
int GfuiEnable (void *scr, int id, int flag)
 Enable / Disable an object.
void GfuiUnSelectCurrent (void)
 Remove focus from the active screen's current widget.
int GfuiLabelCreate (void *scr, const char *text, int font, int x, int y, int align, int maxlen)
 Add a label to a screen.
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).
int GfuiTipCreate (void *scr, const char *text, int maxlen)
 Add a Tip (generally associated with a button).
int GfuiTitleCreate (void *scr, const char *text, int maxlen)
 Add a Title to the screen.
void GfuiLabelSetText (void *scr, int id, const char *text)
 Change the text of a label.
void GfuiLabelSetColor (void *scr, int id, float *color)
 Change the color of a label.
void GfuiPrintString (const char *text, float *fgColor, int font, int x, int y, int align)
 Draw text immediately in the current OpenGL context without creating a widget.
int GfuiFontHeight (int font)
 Get the height of an initialized GUI font.
int GfuiFontWidth (int font, const char *text)
 Measure text using an initialized GUI font.
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.
int GfuiButtonCreate (void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
 Create a text button using callbacks with caller-supplied data.
int GfuiLeanButtonCreateAction (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)
 Create a text button without horizontal margins.
int GfuiLeanButtonCreate (void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
 Create a marginless text button using callbacks with caller-supplied data.
int GfuiButtonStateCreateAction (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)
 Create a text button that toggles between pressed and released while focused.
int GfuiButtonStateCreate (void *scr, const char *text, int font, int x, int y, int width, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
 Add a state button to a screen.
int GfuiGrButtonCreateAction (void *scr, const char *disabled, const char *enabled, const char *focused, const char *pushed, int x, int y, int align, int mouse, const tGfuiAction &onPush, const tGfuiAction &onFocus, const tGfuiAction &onFocusLost)
 Add a graphical button to a screen.
int GfuiGrButtonCreate (void *scr, const char *disabled, const char *enabled, const char *focused, const char *pushed, int x, int y, int align, int mouse, void *userDataOnPush, tfuiCallback onPush, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost)
 Create an image button using callbacks with caller-supplied data.
void GfuiButtonSetText (void *scr, int id, const char *text)
 Change the label of a button.
int GfuiButtonGetFocused (void)
 Get the Id of the button focused in the current screen.
int GfuiEditboxCreateAction (void *scr, const char *text, int font, int x, int y, int width, int maxlen, const tGfuiAction &onFocus, const tGfuiAction &onFocusLost, int margin=10)
 Add an edit box to a screen.
int GfuiEditboxCreate (void *scr, const char *text, int font, int x, int y, int width, int maxlen, void *userDataOnFocus, tfuiCallback onFocus, tfuiCallback onFocusLost, int margin=10)
 Create an edit box using callbacks with caller-supplied data.
int GfuiEditboxGetFocused (void)
 Get the Id of the editbox focused in the current screen.
char * GfuiEditboxGetString (void *scr, int id)
 Get the current text of an edit box.
void GfuiEditboxSetString (void *scr, int id, const char *text)
 Set a new string.
int GfuiScrollListCreateAction (void *scr, int font, int x, int y, int align, int width, int height, int scrollbar, const tGfuiAction &onSelect)
 Create a new scroll list.
int GfuiScrollListCreate (void *scr, int font, int x, int y, int align, int width, int height, int scrollbar, void *userDataOnSelect, tfuiCallback onSelect)
 Create a scrolling list using a callback with caller-supplied data.
int GfuiScrollListInsertElement (void *scr, int Id, char *element, int index, void *userData)
 Insert an element in a scroll list.
int GfuiScrollListMoveSelectedElement (void *scr, int Id, int delta)
 Move the selected element within the scroll list.
char * GfuiScrollListExtractSelectedElement (void *scr, int Id, void **userData)
 Extract the selected element from the scroll list (removed).
char * GfuiScrollListExtractElement (void *scr, int Id, int index, void **userData)
 Extract the specified element from the scroll list.
char * GfuiScrollListGetSelectedElement (void *scr, int Id, void **userData)
 Get the selected element from the scroll list.
char * GfuiScrollListGetElement (void *scr, int Id, int index, void **userData)
 Get the specified element from the scroll list.
int GfuiScrollBarCreate (void *scr, int x, int y, int align, int width, int orientation, int min, int max, int len, int start, void *userData, tfuiSBCallback onScroll)
 Create a new scroll bar.
void GfuiScrollBarPosSet (void *scr, int id, int min, int max, int len, int start)
 Set new values for position.
int GfuiScrollBarPosGet (void *scr, int id)
 Get the current position of a scroll bar.
int GfuiStaticImageCreate (void *scr, int x, int y, int w, int h, char *name)
 Create a new static image.
void GfuiStaticImageSet (void *scr, int id, char *name)
 Replace an image by another one.
void * GfuiMenuScreenCreate (const char *title)
 Create a new menu screen.
void GfuiMenuDefaultKeysAdd (void *scr)
 Add the default menu keyboard callback to a screen.
int GfuiMenuButtonCreateAction (void *menu, const char *text, const char *tip, const tGfuiAction &onpush)
 Add a menu button with a focus tip.
int GfuiMenuButtonCreateActionWithDisabledTip (void *menu, const char *text, const char *tip, const char *disabledTip, const tGfuiAction &onpush)
 Add a button to a menu screen.
int GfuiMenuButtonCreate (void *menu, const char *text, const char *tip, void *userdata, tfuiCallback onpush)
 Add a menu button using a callback with caller-supplied data.
int GfuiMenuBackQuitButtonCreateAction (void *menu, const char *text, const char *tip, const tGfuiAction &onpush)
 Add the "Back" or "Quit" button at the bottom of the menu screen.
int GfuiMenuBackQuitButtonCreate (void *menu, const char *text, const char *tip, void *userdata, tfuiCallback onpush)
 Add the bottom Back/Quit menu button using a callback with caller-supplied data.
tCtrlJoyInfo * GfctrlJoyInit (void)
 Initialize the joystick control.
int GfctrlJoyIsPresent (void)
 Check if a joystick is present.
int GfctrlJoyGetCurrent (tCtrlJoyInfo *joyInfo)
 Get the joystick current values.
void GfctrlJoyRelease (tCtrlJoyInfo *joyInfo)
 Release the tCtrlJoyInfo structure.
tCtrlMouseInfo * GfctrlMouseInit (void)
 Initialize the mouse control.
int GfctrlMouseGetCurrent (tCtrlMouseInfo *mouseInfo)
 Get the mouse current values.
void GfctrlMouseRelease (tCtrlMouseInfo *mouseInfo)
 Release the tCtrlMouseInfo structure.
void GfctrlMouseCenter (void)
 Recentre the mouse on the screen.
void GfctrlMouseInitCenter (void)
 Get the reference position.
void GfctrlGetRefByName (const char *name, tCtrlRef *ref)
 Get a control reference by its name.
const char * GfctrlGetNameByRef (GfCtrlType type, int index)
 Get a control name by its reference.
const char * GfctrlGetDefaultSection (GfCtrlType type)
bool GfctrlIsEventBlacklisted (void *parmHandle, const char *driversSection, const char *event)
 Check if given event is blacklisted (used for buttons or axis which fire a button AND move event).
int GfuiGlutExtensionSupported (const char *str)
 Query an OpenGL extension through GLUT for the current rendering context.

Detailed Description


The Gaming Framework API (client part).

Author
Eric Espie

Definition in file tgfclient.h.

Macro Definition Documentation

◆ GFCTRL_JOY_MAXBUTTON

#define GFCTRL_JOY_MAXBUTTON   32 /* Size of integer so don't change please */

Definition at line 482 of file tgfclient.h.

◆ GFCTRL_JOY_NONE

#define GFCTRL_JOY_NONE   0

Definition at line 479 of file tgfclient.h.

◆ GFCTRL_JOY_PRESENT

#define GFCTRL_JOY_PRESENT   1

Definition at line 480 of file tgfclient.h.

◆ GFCTRL_JOY_UNTESTED

#define GFCTRL_JOY_UNTESTED   -1

Definition at line 478 of file tgfclient.h.

◆ GFUI_ALIGN_HC_VB

#define GFUI_ALIGN_HC_VB   0x10

Definition at line 74 of file tgfclient.h.

◆ GFUI_ALIGN_HC_VC

#define GFUI_ALIGN_HC_VC   0x11

Definition at line 75 of file tgfclient.h.

◆ GFUI_ALIGN_HC_VT

#define GFUI_ALIGN_HC_VT   0x12

Definition at line 76 of file tgfclient.h.

◆ GFUI_ALIGN_HL_VB

#define GFUI_ALIGN_HL_VB   0x00

Definition at line 71 of file tgfclient.h.

◆ GFUI_ALIGN_HL_VC

#define GFUI_ALIGN_HL_VC   0x01

Definition at line 72 of file tgfclient.h.

◆ GFUI_ALIGN_HL_VT

#define GFUI_ALIGN_HL_VT   0x02

Definition at line 73 of file tgfclient.h.

◆ GFUI_ALIGN_HR_VB

#define GFUI_ALIGN_HR_VB   0x20

Definition at line 77 of file tgfclient.h.

◆ GFUI_ALIGN_HR_VC

#define GFUI_ALIGN_HR_VC   0x21

Definition at line 78 of file tgfclient.h.

◆ GFUI_ALIGN_HR_VT

#define GFUI_ALIGN_HR_VT   0x22

Definition at line 79 of file tgfclient.h.

◆ GFUI_BTNSZ

#define GFUI_BTNSZ   300

Definition at line 292 of file tgfclient.h.

◆ GFUI_BUTTON

#define GFUI_BUTTON   1

Definition at line 64 of file tgfclient.h.

◆ GFUI_DISABLE

#define GFUI_DISABLE   1

Definition at line 241 of file tgfclient.h.

◆ GFUI_EDITBOX

#define GFUI_EDITBOX   5

Definition at line 68 of file tgfclient.h.

◆ GFUI_ENABLE

#define GFUI_ENABLE   0

Definition at line 242 of file tgfclient.h.

◆ GFUI_FONT_BIG

#define GFUI_FONT_BIG   0

Definition at line 247 of file tgfclient.h.

◆ GFUI_FONT_BIG_C

#define GFUI_FONT_BIG_C   4

Definition at line 251 of file tgfclient.h.

◆ GFUI_FONT_DIGIT

#define GFUI_FONT_DIGIT   8

Definition at line 255 of file tgfclient.h.

◆ GFUI_FONT_LARGE

#define GFUI_FONT_LARGE   1

Definition at line 248 of file tgfclient.h.

◆ GFUI_FONT_LARGE_C

#define GFUI_FONT_LARGE_C   5

Definition at line 252 of file tgfclient.h.

◆ GFUI_FONT_MEDIUM

#define GFUI_FONT_MEDIUM   2

Definition at line 249 of file tgfclient.h.

◆ GFUI_FONT_MEDIUM_C

#define GFUI_FONT_MEDIUM_C   6

Definition at line 253 of file tgfclient.h.

◆ GFUI_FONT_SMALL

#define GFUI_FONT_SMALL   3

Definition at line 250 of file tgfclient.h.

◆ GFUI_FONT_SMALL_C

#define GFUI_FONT_SMALL_C   7

Definition at line 254 of file tgfclient.h.

◆ GFUI_GRBUTTON

#define GFUI_GRBUTTON   2

Definition at line 65 of file tgfclient.h.

◆ GFUI_HORI_SCROLLBAR

#define GFUI_HORI_SCROLLBAR   0

Definition at line 97 of file tgfclient.h.

◆ GFUI_INVISIBLE

#define GFUI_INVISIBLE   0

Object invisibility flag.

Definition at line 239 of file tgfclient.h.

◆ GFUI_KEY_DOWN

#define GFUI_KEY_DOWN   1

Definition at line 87 of file tgfclient.h.

◆ GFUI_KEY_UP

#define GFUI_KEY_UP   0

Definition at line 86 of file tgfclient.h.

◆ GFUI_LABEL

#define GFUI_LABEL   0

Definition at line 63 of file tgfclient.h.

◆ GFUI_MOUSE_DOWN

#define GFUI_MOUSE_DOWN   1

Definition at line 83 of file tgfclient.h.

◆ GFUI_MOUSE_UP

#define GFUI_MOUSE_UP   0

Definition at line 82 of file tgfclient.h.

◆ GFUI_SB_BOTTOM

#define GFUI_SB_BOTTOM   4

Definition at line 94 of file tgfclient.h.

◆ GFUI_SB_LEFT

#define GFUI_SB_LEFT   2

Definition at line 92 of file tgfclient.h.

◆ GFUI_SB_NONE

#define GFUI_SB_NONE   0

Definition at line 90 of file tgfclient.h.

◆ GFUI_SB_RIGHT

#define GFUI_SB_RIGHT   1

Definition at line 91 of file tgfclient.h.

◆ GFUI_SB_TOP

#define GFUI_SB_TOP   3

Definition at line 93 of file tgfclient.h.

◆ GFUI_SCROLLBAR

#define GFUI_SCROLLBAR   4

Definition at line 67 of file tgfclient.h.

◆ GFUI_SCROLLIST

#define GFUI_SCROLLIST   3

Definition at line 66 of file tgfclient.h.

◆ GFUI_VERT_SCROLLBAR

#define GFUI_VERT_SCROLLBAR   1

Definition at line 98 of file tgfclient.h.

◆ GFUI_VISIBLE

#define GFUI_VISIBLE   1

Object visibility flag.

Definition at line 238 of file tgfclient.h.

◆ NUM_JOY

#define NUM_JOY   8

Definition at line 36 of file tgfclient.h.

Typedef Documentation

◆ tfuiCallback

typedef void(* tfuiCallback) (void *)

Definition at line 108 of file tgfclient.h.

◆ tfuiKeyCallback

typedef int(* tfuiKeyCallback) (unsigned char key, int modifier, int state)

return 1 to prevent normal key computing

Definition at line 110 of file tgfclient.h.

◆ tfuiSBCallback

typedef void(* tfuiSBCallback) (tScrollBarInfo *)

Definition at line 109 of file tgfclient.h.

◆ tfuiSKeyCallback

typedef int(* tfuiSKeyCallback) (int key, int modifier, int state)

return 1 to prevent normal key computing

Definition at line 111 of file tgfclient.h.

◆ tGfuiAction

typedef std::function<void()> tGfuiAction

Definition at line 107 of file tgfclient.h.

◆ tMouseInfo

typedef struct MouseInfo tMouseInfo

◆ tScrollBarInfo

typedef struct ScrollBarInfo tScrollBarInfo

Scroll bar call-back information.

Enumeration Type Documentation

◆ GfCtrlType

enum GfCtrlType
Enumerator
GFCTRL_TYPE_NOT_AFFECTED 
GFCTRL_TYPE_JOY_AXIS 
GFCTRL_TYPE_JOY_BUT 
GFCTRL_TYPE_KEYBOARD 
GFCTRL_TYPE_MOUSE_BUT 
GFCTRL_TYPE_MOUSE_AXIS 
GFCTRL_TYPE_SKEYBOARD 

Definition at line 461 of file tgfclient.h.

Function Documentation

◆ GfctrlGetDefaultSection()

const char * GfctrlGetDefaultSection ( GfCtrlType type)
extern

Definition at line 284 of file control.cpp.

◆ GfInitClient()

void GfInitClient ( void )
extern

Definition at line 31 of file tgfclient.cpp.

Here is the call graph for this function:

◆ GfScrInit()

void GfScrInit ( int argc,
char * argv[] )
extern

Definition at line 284 of file screen.cpp.

Here is the call graph for this function:

◆ GfScrReinit()

void GfScrReinit ( void * )
extern

Definition at line 571 of file screen.cpp.

Here is the call graph for this function: