#include <SubMenuItem.h>
Inheritance diagram for UI::SubMenuItem:
Public Member Functions | |
SubMenuItem (std::wstring label) | |
virtual | ~SubMenuItem () |
virtual void | draw () |
Render the menu item with OpenGL calls. | |
Menu * | get_menu () |
Private Attributes | |
Menu | menu |
Definition at line 24 of file SubMenuItem.h.
UI::SubMenuItem::SubMenuItem | ( | std::wstring | label | ) |
Definition at line 19 of file SubMenuItem.cpp.
UI::SubMenuItem::~SubMenuItem | ( | ) | [virtual] |
Definition at line 24 of file SubMenuItem.cpp.
void UI::SubMenuItem::draw | ( | ) | [virtual] |
Render the menu item with OpenGL calls.
The item will be drawn from 64 pixels high centred around 0 vertically, and from the 0 to the width set by set_width plus a constant horizontally.
Reimplemented from UI::MenuItem.
Definition at line 28 of file SubMenuItem.cpp.
Menu * UI::SubMenuItem::get_menu | ( | ) |
Definition at line 43 of file SubMenuItem.cpp.
Menu UI::SubMenuItem::menu [private] |
Definition at line 32 of file SubMenuItem.h.
Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.