omegalib  13.1
omegaToolkit::ui::MenuManager Class Reference

#include <MenuManager.h>

Public Member Functions

UiModulegetUiModule ()
 
virtual void initialize ()
 
virtual void dispose ()
 
virtual void update (const UpdateContext &context)
 
virtual void handleEvent (const Event &evt)
 
MenucreateMenu (const String &name)
 
void deleteMenu (Menu *)
 Deletes a menu. More...
 
void setMainMenu (Menu *menu)
 
MenugetMainMenu ()
 
void autoPlaceMenu (Menu *menu, const Event &evt)
 
float getDefaultMenuScale ()
 
float getDefaultMenuDistance ()
 
void setNavigationSuspended (bool value)
 
bool getNavigationSuspended ()
 see setNavigationSuspended More...
 
bool is3dMenuEnabled ()
 
SoundgetShowMenuSound ()
 
SoundgetHideMenuSound ()
 
- Public Member Functions inherited from omega::EngineModule
 EngineModule (const String &name)
 
 EngineModule ()
 
virtual ~EngineModule ()
 
void requestOpenGLProfile (OpenGLProfile profile)
 This method can be used within an engine module ctor or initialization to test for module compatibility. More...
 
void enableSharedData ()
 
void disableSharedData ()
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
virtual void initializeRenderer (Renderer *)
 
void doInitialize (Engine *server)
 
void doDispose ()
 
virtual bool isInitialized ()
 
EnginegetEngine ()
 
Priority getPriority ()
 
void setPriority (Priority value)
 
const StringgetName ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Static Public Member Functions

static MenuManagercreateAndInitialize ()
 
static MenuManagerinstance ()
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Additional Inherited Members

- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omegaToolkit::ui::MenuManager:

Member Function Documentation

void omegaToolkit::ui::MenuManager::autoPlaceMenu ( Menu menu,
const Event &  evt 
)
static MenuManager* omegaToolkit::ui::MenuManager::createAndInitialize ( )
static
Menu* omegaToolkit::ui::MenuManager::createMenu ( const String name)
void omegaToolkit::ui::MenuManager::deleteMenu ( Menu )

Deletes a menu.

Remarks
If a menu is not in use anymore and no variable references it, it will be deleted automatically.
virtual void omegaToolkit::ui::MenuManager::dispose ( )
virtual

Reimplemented from omega::EngineModule.

float omegaToolkit::ui::MenuManager::getDefaultMenuDistance ( )
inline
float omegaToolkit::ui::MenuManager::getDefaultMenuScale ( )
inline
Sound* omegaToolkit::ui::MenuManager::getHideMenuSound ( )
Menu* omegaToolkit::ui::MenuManager::getMainMenu ( )
inline
bool omegaToolkit::ui::MenuManager::getNavigationSuspended ( )
inline

see setNavigationSuspended

Sound* omegaToolkit::ui::MenuManager::getShowMenuSound ( )
UiModule* omegaToolkit::ui::MenuManager::getUiModule ( )
inline
virtual void omegaToolkit::ui::MenuManager::handleEvent ( const Event &  evt)
virtual
virtual void omegaToolkit::ui::MenuManager::initialize ( )
virtual

Reimplemented from omega::EngineModule.

static MenuManager* omegaToolkit::ui::MenuManager::instance ( )
static
bool omegaToolkit::ui::MenuManager::is3dMenuEnabled ( )
inline
void omegaToolkit::ui::MenuManager::setMainMenu ( Menu menu)
inline
void omegaToolkit::ui::MenuManager::setNavigationSuspended ( bool  value)
inline
virtual void omegaToolkit::ui::MenuManager::update ( const UpdateContext context)
virtual

Reimplemented from omega::EngineModule.


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