27extern gui::IGUIEnvironment *
guienv;
28extern gui::IGUIStaticText *
guiroot;
37 for (gui::IGUIElement *e :
m_stack) {
43 m_stack.back()->setVisible(
false);
55 m_stack.back()->setVisible(
true);
76 m_stack.front()->setVisible(
false);
82 for (gui::IGUIElement *i :
m_stack) {
Definition mainmenumanager.h:15
virtual void exitToOS()=0
virtual void touchscreenLayout()=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:102
bool keyconfig_changed
Definition mainmenumanager.h:153
bool touchscreenlayout_requested
Definition mainmenumanager.h:151
bool keyconfig_requested
Definition mainmenumanager.h:150
MainGameCallback()=default
bool shutdown_requested
Definition mainmenumanager.h:152
void touchscreenLayout() override
Definition mainmenumanager.h:137
std::string show_open_url_dialog
Definition mainmenumanager.h:154
bool disconnect_requested
Definition mainmenumanager.h:147
void changeVolume() override
Definition mainmenumanager.h:122
void showOpenURLDialog(const std::string &url) override
Definition mainmenumanager.h:142
virtual ~MainGameCallback()=default
void exitToOS() override
Definition mainmenumanager.h:107
void keyConfig() override
Definition mainmenumanager.h:127
bool changevolume_requested
Definition mainmenumanager.h:149
void disconnect() override
Definition mainmenumanager.h:112
bool changepassword_requested
Definition mainmenumanager.h:148
void changePassword() override
Definition mainmenumanager.h:117
void signalKeyConfigChange() override
Definition mainmenumanager.h:132
Definition mainmenumanager.h:33
virtual bool preprocessEvent(const SEvent &event)
Definition mainmenumanager.h:61
void deleteFront()
Definition mainmenumanager.h:74
bool pausesGame()
Definition mainmenumanager.h:80
size_t menuCount() const
Definition mainmenumanager.h:69
virtual void createdMenu(gui::IGUIElement *menu)
Definition mainmenumanager.h:35
std::list< gui::IGUIElement * > m_stack
Definition mainmenumanager.h:91
virtual void deletingMenu(gui::IGUIElement *menu)
Definition mainmenumanager.h:49
MainMenuManager g_menumgr
Definition clientlauncher.cpp:36
gui::IGUIEnvironment * guienv
Definition clientlauncher.cpp:34
static bool isMenuActive()
Definition mainmenumanager.h:96
MainGameCallback * g_gamecallback
Definition clientlauncher.cpp:39
gui::IGUIStaticText * guiroot
Definition clientlauncher.cpp:35