class GmMenu |
The menu class defines the functionality of all menu objects such as pop-ups and pull-downs.
GmMenu () Standard constructor | |
virtual void | addTextItem (char* textMenuItem, WidgetIDType widgetId) Adds a text-based menu item to the menu. |
virtual void | applyLayout (float minX, float minY, float minZ, float maxX, float maxY, float maxZ) Repositions and resizes this component based on parameters passed into the method. |
virtual void | mousePressEvent (GmEvent* event) Event processing function to process a mouse press event. |
virtual void | widgetEvent (GmEvent::WidgetEventType* widgetEvent) Called whenever a widget event occurs on a widget that this widget event handler has registered with. |
virtual | ~GmMenu () Virtual destructor |
float | mGlMenuHeight The OpenGL height of the drop-down menu |
float | mGlMenuWidth The OpenGL width of the drop-down menu |
vector<GmInteractiveWidget*> | mListItems The menu list item objects that are contained in this menu |
virtual void | render2d (GmTypes::RenderOptionType renderOptions) Renders this menu to a 2D image buffer. |
virtual void | render2dSelect (GmTypes::RenderOptionType renderOptions) Renders this menu to a selection buffer. |
The menu class defines the functionality of all menu objects such as pop-ups and pull-downs.
Alphabetic index HTML hierarchy of classes or Java