#include <Menus.h>
Inheritance diagram for OglGui::Menus:
Public Member Functions | |
Menus (Window *parent) | |
void | SetMenuListener (MenuListener *l) |
void | ActivateListener (Menu *menu, int menuIdx, std::string itemName, int itemIdx, void *userData) |
Menu * | CreateMenu (int menuIdx=0, int w=100) |
void | Open () |
void | Hide () |
virtual void | InitDisplayFunc () |
virtual void | MouseFunc (int msg, int btn, int state, int x, int y) |
This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
Private Member Functions | |
void | Init (OGLWND *oglTopWnd) |
Private Attributes | |
std::vector< Menu * > | mMenus |
MenuListener * | mMenuListener |
OGLWND * | mOglTopWnd |
Definition at line 17 of file Menus.h.