#include <base.h>
Zděděna třídami MenuBonuses, MenuCreatures, MenuCredits, MenuDeathmatch, MenuDeathmatchBonuses, MenuDeathmatchMaps, MenuLoadSaveGame, MenuMain, MenuNewGame, MenuOptions a MenuOptionsControls.
Veřejné metody | |
MenuBase () | |
virtual | ~MenuBase () |
void | show () |
void | hide () |
Statické veřejné metody | |
static void | clearStack () |
static void | handlerBack (AG_Event *ev=0) |
static void | handlerItems (AG_Event *event) |
static Uint16 | activeItem () |
static void | handlerIntItem (AG_Event *event) |
static void | handlerBoolItem (AG_Event *event) |
Chráněné typy | |
typedef std::vector< AG_Box * > | items_t |
Chráněné metody | |
void | createHeading (const char *text) |
AG_Box * | createItem (const char *text) |
AG_Box * | createItemHoriz (const char *text) |
AG_Checkbox * | createCheckboxItem (const char *text, int *value) |
AG_FileDlg * | createFileDlg (bool load, const char *path, const char *menu, const char *submenu=0) |
Chráněné atributy | |
AG_Window * | win |
items_t | items_ |
Statické chráněné atributy | |
static items_t * | p_items = 0 |
static MenuStack | menu_stack |
typedef std::vector< AG_Box * > MenuBase::items_t [protected] |
MenuBase::MenuBase | ( | ) |
MenuBase::~MenuBase | ( | ) | [virtual] |
void MenuBase::show | ( | ) |
void MenuBase::hide | ( | ) |
void MenuBase::clearStack | ( | ) | [static] |
void MenuBase::handlerBack | ( | AG_Event * | ev = 0 |
) | [static] |
void MenuBase::handlerItems | ( | AG_Event * | event | ) | [static] |
Uint16 MenuBase::activeItem | ( | ) | [static] |
void MenuBase::handlerIntItem | ( | AG_Event * | event | ) | [static] |
void MenuBase::handlerBoolItem | ( | AG_Event * | event | ) | [static] |
void MenuBase::createHeading | ( | const char * | text | ) | [protected] |
AG_Box * MenuBase::createItem | ( | const char * | text | ) | [protected] |
AG_Box * MenuBase::createItemHoriz | ( | const char * | text | ) | [protected] |
AG_Checkbox * MenuBase::createCheckboxItem | ( | const char * | text, | |
int * | value | |||
) | [protected] |
AG_FileDlg * MenuBase::createFileDlg | ( | bool | load, | |
const char * | path, | |||
const char * | menu, | |||
const char * | submenu = 0 | |||
) | [protected] |
AG_Window* MenuBase::win [protected] |
items_t MenuBase::items_ [protected] |
MenuBase::items_t * MenuBase::p_items = 0 [static, protected] |
MenuStack MenuBase::menu_stack [static, protected] |