GUI menu management.
More...
#include <stdio.h>
#include <stdlib.h>
#include <memory>
#include <GL/glut.h>
#include <tgfclient.h>
#include "gui.h"
#include "guimenu.h"
Go to the source code of this file.
|
| void | gfMenuInit (void) |
| void | GfuiMenuDefaultKeysAdd (void *scr) |
| | Add the default menu keyboard callback to a screen.
|
| void * | GfuiMenuScreenCreate (const char *title) |
| | Create a new menu screen.
|
| static void | dispInfo (const tMnuCallbackInfo *cbinfo) |
| static void | remInfo (const tMnuCallbackInfo *cbinfo) |
| int | GfuiMenuButtonCreateActionWithDisabledTip (void *scr, const char *text, const char *tip, const char *disabledTip, const tGfuiAction &onpush) |
| | Add a button to a menu screen.
|
| int | GfuiMenuButtonCreateAction (void *scr, const char *text, const char *tip, const tGfuiAction &onpush) |
| | Add a menu button with a focus tip.
|
| int | GfuiMenuButtonCreate (void *scr, const char *text, const char *tip, void *userdata, tfuiCallback onpush) |
| | Add a menu button using a callback with caller-supplied data.
|
| int | GfuiMenuBackQuitButtonCreateAction (void *scr, 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 *scr, const char *text, const char *tip, void *userdata, tfuiCallback onpush) |
| | Add the bottom Back/Quit menu button using a callback with caller-supplied data.
|
GUI menu management.
- Author
- Eric Espie
Definition in file guimenu.cpp.
◆ dispInfo()
◆ gfMenuInit()
◆ remInfo()