Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
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)
 
size_t menuCount () const
 
void deleteFront ()
 
bool pausesGame ()
 

Private Attributes

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

Member Function Documentation

◆ createdMenu()

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

Implements IMenuManager.

References guienv, and m_stack.

◆ deleteFront()

void MainMenuManager::deleteFront ( )
inline

References deletingMenu(), and m_stack.

Referenced by Game::shutdown().

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

◆ deletingMenu()

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

Implements IMenuManager.

References guienv, and m_stack.

Referenced by deleteFront().

+ Here is the caller graph for this function:

◆ menuCount()

size_t MainMenuManager::menuCount ( ) const
inline

References m_stack.

Referenced by ClientLauncher::~ClientLauncher(), 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::run(), Game::step(), and Game::updatePauseState().

+ 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
private

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