|
| tGfuiAction | gfuiMakeAction (void *userData, tfuiCallback callback) |
| tGfuiAction * | gfuiCreateAction (const tGfuiAction &action) |
| void | gfuiRunAction (const tGfuiAction *action) |
| void | gfuiReleaseAction (tGfuiAction *action) |
| static void | gfuiColorInit (void) |
| void | gfuiInit (void) |
| 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 | GfuiDisplay (void) |
| | Draw the active GUI screen and swap the GLUT buffers.
|
| 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.
|
| static void | gfuiKeyboard (unsigned char key, int, int) |
| static void | gfuiSpecial (int key, int, int) |
| static void | gfuiKeyboardUp (unsigned char key, int, int) |
| static void | gfuiSpecialUp (int key, int, int) |
| tMouseInfo * | GfuiMouseInfo (void) |
| | Get the GUI's current mouse state.
|
| void | GfuiMouseSetPos (int x, int y) |
| | Set the mouse position.
|
| static void | gfuiMouse (int button, int state, int x, int y) |
| static void | gfuiMotion (int x, int y) |
| static void | gfuiPassiveMotion (int x, int y) |
| int | GfuiScreenIsActive (void *screen) |
| | Tell if the screen is active or not.
|
| void | GfuiScreenActivate (void *screen) |
| | Activate a screen and make it current.
|
| void | GfuiScreenReplace (void *screen) |
| | Activate a screen and make it current plus release the current screen.
|
| void | GfuiScreenDeactivate (void) |
| | Deactivate the current 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 *scr) |
| | Release the given 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 | 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.
|
| 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 | GfuiScreenShot (void *) |
| | Save a screen shot in png format.
|
| void | GfuiScreenAddBgImg (void *scr, const char *filename) |
| | Add an image background to a screen.
|
This API is used to manage all the menu screens.
Definition in file gui.cpp.