class GmMenu |
The menu class defines the functionality of all menu objects such as pop-ups and pull-downs.
![]() | GmMenu () Standard constructor |
![]() | addTextItem (char* textMenuItem, WidgetIDType widgetId) Adds a text-based menu item to the menu. |
![]() | 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. |
![]() | mousePressEvent (GmEvent* event) Event processing function to process a mouse press event. |
![]() | widgetEvent (GmEvent::WidgetEventType* widgetEvent) Called whenever a widget event occurs on a widget that this widget event handler has registered with. |
![]() | ~GmMenu () Virtual destructor |
![]() | mGlMenuHeight The OpenGL height of the drop-down menu |
![]() | mGlMenuWidth The OpenGL width of the drop-down menu |
![]() | mListItems The menu list item objects that are contained in this menu |
![]() | render2d (GmTypes::RenderOptionType renderOptions) Renders this menu to a 2D image buffer. |
![]() | 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