Go to the source code of this file.
Classes | |
| struct | _tag_menuframework |
| struct | menucommon_s |
| struct | menufield_s |
| struct | menuslider_s |
| struct | menulist_s |
| struct | menuaction_s |
| struct | menuseparator_s |
Macros | |
| #define | MAXMENUITEMS 64 |
| #define | MTYPE_SLIDER 0 |
| #define | MTYPE_LIST 1 |
| #define | MTYPE_ACTION 2 |
| #define | MTYPE_SPINCONTROL 3 |
| #define | MTYPE_SEPARATOR 4 |
| #define | MTYPE_FIELD 5 |
| #define | K_TAB 9 |
| #define | K_ENTER 13 |
| #define | K_ESCAPE 27 |
| #define | K_SPACE 32 |
| #define | K_BACKSPACE 127 |
| #define | K_UPARROW 128 |
| #define | K_DOWNARROW 129 |
| #define | K_LEFTARROW 130 |
| #define | K_RIGHTARROW 131 |
| #define | QMF_LEFT_JUSTIFY 0x00000001 |
| #define | QMF_GRAYED 0x00000002 |
| #define | QMF_NUMBERSONLY 0x00000004 |
Typedefs | |
| typedef struct _tag_menuframework | menuframework_s |
Functions | |
| qboolean | Field_Key (menufield_s *field, int key) |
| void | Menu_AddItem (menuframework_s *menu, void *item) |
| void | Menu_AdjustCursor (menuframework_s *menu, int dir) |
| void | Menu_Center (menuframework_s *menu) |
| void | Menu_Draw (menuframework_s *menu) |
| void * | Menu_ItemAtCursor (menuframework_s *m) |
| qboolean | Menu_SelectItem (menuframework_s *s) |
| void | Menu_SetStatusBar (menuframework_s *s, const char *string) |
| void | Menu_SlideItem (menuframework_s *s, int dir) |
| int | Menu_TallySlots (menuframework_s *menu) |
| void | Menu_DrawString (int, int, const char *) |
| void | Menu_DrawStringDark (int, int, const char *) |
| void | Menu_DrawStringR2L (int, int, const char *) |
| void | Menu_DrawStringR2LDark (int, int, const char *) |
| typedef struct _tag_menuframework menuframework_s |
| qboolean Field_Key | ( | menufield_s * | field, |
| int | key | ||
| ) |
Definition at line 135 of file qmenu.c.
Referenced by Default_MenuKey().
| void Menu_AddItem | ( | menuframework_s * | menu, |
| void * | item | ||
| ) |
Definition at line 266 of file qmenu.c.
Referenced by AddressBook_MenuInit(), DMOptions_MenuInit(), DownloadOptions_MenuInit(), Game_MenuInit(), JoinServer_MenuInit(), Keys_MenuInit(), LoadGame_MenuInit(), Multiplayer_MenuInit(), Options_MenuInit(), PlayerConfig_MenuInit(), SaveGame_MenuInit(), StartServer_MenuInit(), and VID_MenuInit().
| void Menu_AdjustCursor | ( | menuframework_s * | menu, |
| int | dir | ||
| ) |
Definition at line 288 of file qmenu.c.
Referenced by Default_MenuKey(), Game_MenuDraw(), Keys_MenuDraw(), Multiplayer_MenuDraw(), Options_MenuDraw(), SaveGame_MenuDraw(), VID_MenuDraw(), and VID_MenuKey().
| void Menu_Center | ( | menuframework_s * | menu | ) |
Definition at line 336 of file qmenu.c.
Referenced by DMOptions_MenuInit(), DownloadOptions_MenuInit(), Game_MenuInit(), JoinServer_MenuInit(), Keys_MenuInit(), Multiplayer_MenuInit(), StartServer_MenuInit(), and VID_MenuInit().
| void Menu_Draw | ( | menuframework_s * | menu | ) |
Definition at line 346 of file qmenu.c.
Referenced by AddressBook_MenuDraw(), DMOptions_MenuDraw(), DownloadOptions_MenuDraw(), Game_MenuDraw(), JoinServer_MenuDraw(), Keys_MenuDraw(), LoadGame_MenuDraw(), Multiplayer_MenuDraw(), Options_MenuDraw(), PlayerConfig_MenuDraw(), SaveGame_MenuDraw(), StartServer_MenuDraw(), and VID_MenuDraw().
Definition at line 434 of file qmenu.c.
Referenced by Action_Draw(), DrawKeyBindingFunc(), Field_Draw(), Menu_DrawStatusBar(), and SpinControl_Draw().
Definition at line 464 of file qmenu.c.
Referenced by Action_Draw(), Field_Draw(), MenuList_Draw(), Separator_Draw(), Slider_Draw(), and SpinControl_Draw().
| void* Menu_ItemAtCursor | ( | menuframework_s * | m | ) |
Definition at line 474 of file qmenu.c.
Referenced by Default_MenuKey(), Field_Draw(), Keys_MenuKey(), Menu_AdjustCursor(), Menu_Draw(), Menu_SelectItem(), and Menu_SlideItem().
| qboolean Menu_SelectItem | ( | menuframework_s * | s | ) |
| void Menu_SetStatusBar | ( | menuframework_s * | s, |
| const char * | string | ||
| ) |
Definition at line 506 of file qmenu.c.
Referenced by DMOptions_MenuInit(), KeyBindingFunc(), Keys_MenuInit(), Keys_MenuKey(), M_Menu_PlayerConfig_f(), and Multiplayer_MenuInit().
| void Menu_SlideItem | ( | menuframework_s * | s, |
| int | dir | ||
| ) |
| int Menu_TallySlots | ( | menuframework_s * | menu | ) |