SCV  4.2.1
Simple Components for Visual
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scv::MenuHolder Class Reference

#include <MenuHolder.h>

Inheritance diagram for scv::MenuHolder:
Singleton< T >

Public Types

typedef std::list< ContextMenu * > ContextMenuList
 

Public Member Functions

void display (void)
 
bool processMouse (const scv::MouseEvent &evt)
 
bool processKey (const scv::KeyEvent &evt)
 
void registerMenu (ContextMenu *menu)
 
void unregisterMenu (ContextMenu *menu)
 
void activeMenu (ContextMenu *menu, const Point &position)
 
void closeAllMenus (void)
 
bool hasActiveMenu (void) const
 

Friends

class Singleton< MenuHolder >
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< T >
static void setInstance (T *instance)
 
static T * getInstance ()
 
static void destroyInstance ()
 
- Protected Member Functions inherited from Singleton< T >
 Singleton (void)
 
virtual ~Singleton (void)
 
 Singleton (const Singleton &source)
 
- Static Protected Attributes inherited from Singleton< T >
static T * _instance = 0
 

Member Typedef Documentation

Member Function Documentation

void scv::MenuHolder::activeMenu ( ContextMenu menu,
const Point position 
)
void scv::MenuHolder::closeAllMenus ( void  )
void scv::MenuHolder::display ( void  )
bool scv::MenuHolder::hasActiveMenu ( void  ) const
bool scv::MenuHolder::processKey ( const scv::KeyEvent evt)
bool scv::MenuHolder::processMouse ( const scv::MouseEvent evt)
void scv::MenuHolder::registerMenu ( ContextMenu menu)
void scv::MenuHolder::unregisterMenu ( ContextMenu menu)

Friends And Related Function Documentation

friend class Singleton< MenuHolder >
friend

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