26extern gui::IGUIEnvironment *
guienv;
27extern gui::IGUIStaticText *
guiroot;
36 for (gui::IGUIElement *e :
m_stack) {
42 m_stack.back()->setVisible(
false);
54 m_stack.back()->setVisible(
true);
75 for (gui::IGUIElement *i :
m_stack) {
Definition mainmenumanager.h:15
virtual void exitToOS()=0
virtual void changePassword()=0
virtual void showOpenURLDialog(const std::string &url)=0
virtual void signalKeyConfigChange()=0
virtual void disconnect()=0
virtual void changeVolume()=0
virtual void keyConfig()=0
Definition mainmenumanager.h:95
bool keyconfig_changed
Definition mainmenumanager.h:140
bool keyconfig_requested
Definition mainmenumanager.h:138
MainGameCallback()=default
bool shutdown_requested
Definition mainmenumanager.h:139
std::string show_open_url_dialog
Definition mainmenumanager.h:141
bool disconnect_requested
Definition mainmenumanager.h:135
void changeVolume() override
Definition mainmenumanager.h:115
void showOpenURLDialog(const std::string &url) override
Definition mainmenumanager.h:130
virtual ~MainGameCallback()=default
void exitToOS() override
Definition mainmenumanager.h:100
void keyConfig() override
Definition mainmenumanager.h:120
bool changevolume_requested
Definition mainmenumanager.h:137
void disconnect() override
Definition mainmenumanager.h:105
bool changepassword_requested
Definition mainmenumanager.h:136
void changePassword() override
Definition mainmenumanager.h:110
void signalKeyConfigChange() override
Definition mainmenumanager.h:125
Definition mainmenumanager.h:32
virtual bool preprocessEvent(const SEvent &event)
Definition mainmenumanager.h:60
bool pausesGame()
Definition mainmenumanager.h:73
size_t menuCount() const
Definition mainmenumanager.h:68
virtual void createdMenu(gui::IGUIElement *menu)
Definition mainmenumanager.h:34
std::list< gui::IGUIElement * > m_stack
Definition mainmenumanager.h:84
virtual void deletingMenu(gui::IGUIElement *menu)
Definition mainmenumanager.h:48
MainMenuManager g_menumgr
Definition clientlauncher.cpp:36
gui::IGUIEnvironment * guienv
Definition clientlauncher.cpp:34
static bool isMenuActive()
Definition mainmenumanager.h:89
MainGameCallback * g_gamecallback
Definition clientlauncher.cpp:39
gui::IGUIStaticText * guiroot
Definition clientlauncher.cpp:35