Minetest  5.4.0
MainMenuManager Class Reference

#include <mainmenumanager.h>

+ Inheritance diagram for MainMenuManager:
+ Collaboration diagram for MainMenuManager:

Public Member Functions

virtual void createdMenu (gui::IGUIElement *menu)
 
virtual void deletingMenu (gui::IGUIElement *menu)
 
virtual bool preprocessEvent (const SEvent &event)
 
u32 menuCount ()
 
bool pausesGame ()
 

Public Attributes

std::list< gui::IGUIElement * > m_stack
 

Member Function Documentation

◆ createdMenu()

virtual void MainMenuManager::createdMenu ( gui::IGUIElement *  menu)
inlinevirtual

Implements IMenuManager.

References m_stack.

◆ deletingMenu()

virtual void MainMenuManager::deletingMenu ( gui::IGUIElement *  menu)
inlinevirtual

Implements IMenuManager.

References m_stack.

Referenced by Game::shutdown().

+ Here is the caller graph for this function:

◆ menuCount()

u32 MainMenuManager::menuCount ( )
inline

References m_stack.

Referenced by isMenuActive(), Game::shutdown(), and GameUI::update().

+ Here is the caller graph for this function:

◆ pausesGame()

bool MainMenuManager::pausesGame ( )
inline

References m_stack, and GUIModalMenu::pausesGame().

Referenced by Game::limitFps(), and Game::step().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ preprocessEvent()

virtual bool MainMenuManager::preprocessEvent ( const SEvent &  event)
inlinevirtual

References m_stack, and GUIModalMenu::preprocessEvent().

Referenced by MyEventReceiver::OnEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_stack

std::list<gui::IGUIElement*> MainMenuManager::m_stack

The documentation for this class was generated from the following file: