|
Classes |
| struct | mitemmanual |
| struct | mitemtext |
| struct | mitemimage |
| struct | mitemtextinput |
| struct | mitemslider |
| struct | mitemkeyinput |
| struct | mitemcheckbox |
Defines |
| #define | MAXMENU 34 |
Functions |
| void | menuset (void *m, bool save) |
| void | showmenu (const char *name, bool top) |
| void | closemenu (const char *name) |
| void | showmenu_ (const char *name) |
| void | menuselect (void *menu, int sel) |
| void | drawarrow (int dir, int x, int y, int size, float r=1.0f, float g=1.0f, float b=1.0f) |
| bool | menuvisible () |
| void | rendermenu () |
| void * | addmenu (const char *name, const char *title, bool allowinput, void(__cdecl *refreshfunc)(void *, bool), bool(__cdecl *keyfunc)(void *, int, bool, int), bool hotkeys, bool forwardkeys) |
| void | newmenu (char *name, char *hotkeys, char *forwardkeys) |
| void | menureset (void *menu) |
| void | menumanual (void *menu, char *text, char *action, color *bgcolor, const char *desc) |
| void | menutitle (void *menu, const char *title) |
| void | menuheader (void *menu, char *header, char *footer) |
| void | menuinit (char *initaction) |
| void | menuitem (char *text, char *action, char *hoveraction) |
| void | menuitemimage (char *name, char *text, char *action, char *hoveraction) |
| void | menuitemtextinput (char *text, char *value, char *action, char *hoveraction, char *maxchars) |
| void | menuitemslider (char *text, char *min_, char *max_, char *value, char *step, char *display, char *action) |
| void | menuitemkeyinput (char *text, char *bindcmd) |
| void | menuitemcheckbox (char *text, char *value, char *action) |
| void | menumdl (char *mdl, char *anim, char *rotspeed, char *scale) |
| void | menudirlist (char *dir, char *ext, char *action, char *image) |
| void | chmenumdl (char *menu, char *mdl, char *anim, char *rotspeed, char *scale) |
| | COMMAND (newmenu, ARG_3STR) |
| | COMMAND (menumdl, ARG_5STR) |
| | COMMAND (menudirlist, ARG_4STR) |
| | COMMAND (chmenumdl, ARG_6STR) |
| | COMMANDN (showmenu, showmenu_, ARG_1STR) |
| | COMMAND (closemenu, ARG_1STR) |
| | COMMAND (menuinit, ARG_1STR) |
| | COMMAND (menuitem, ARG_3STR) |
| | COMMAND (menuitemimage, ARG_4STR) |
| | COMMAND (menuitemtextinput, ARG_5STR) |
| | COMMAND (menuitemslider, ARG_7STR) |
| | COMMAND (menuitemkeyinput, ARG_2STR) |
| | COMMAND (menuitemcheckbox, ARG_3STR) |
| bool | menukey (int code, bool isdown, int unicode, SDLMod mod) |
| void | rendermenumdl () |
| | VARP (browsefiledesc, 0, 1, 1) |
| char * | getfiledesc (const char *dir, const char *name, const char *ext) |
| | VARP (applydialog, 0, 1, 1) |
| void | addchange (const char *desc, int type) |
| void | clearchanges (int type) |
| void | refreshapplymenu (void *menu, bool init) |
Variables |
| hashtable< const char *, gmenu > | menus |
| gmenu * | curmenu = NULL |
| gmenu * | lastmenu = NULL |
| vector< gmenu * > | menustack |
| void * | applymenu = NULL |
| static vector< const char * > | needsapply |