|
SCV
4.2.1
Simple Components for Visual
|
#include <MenuHolder.h>
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 |
| typedef std::list<ContextMenu*> scv::MenuHolder::ContextMenuList |
| 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 | ) |
|
friend |