#include <Menu.h>
Inheritance diagram for UI::Menu:
Public Member Functions | |
Menu () | |
virtual | ~Menu () |
void | insert_item (MenuItem *item) |
Add an item to those shown on the menu. | |
void | draw () |
Draw the menu on the screen. | |
void | take_input (Engine::InputReport &report) |
Update the menu when input devices report menu events. | |
bool | want_to_quit () |
return true if we would like the menu to close. | |
Protected Member Functions | |
unsigned int | get_total_width () |
Protected Attributes | |
std::vector< MenuItem * > | items |
unsigned int | max_width |
std::size_t | selected_item |
Menu * | active_sub_menu |
Menu * | parent |
bool | quit |
Definition at line 24 of file Menu.h.
void UI::Menu::insert_item | ( | MenuItem * | item | ) |
void UI::Menu::take_input | ( | Engine::InputReport & | report | ) |
bool UI::Menu::want_to_quit | ( | ) |
Menu* UI::Menu::active_sub_menu [protected] |
std::vector<MenuItem *> UI::Menu::items [protected] |
unsigned int UI::Menu::max_width [protected] |
Menu* UI::Menu::parent [protected] |
bool UI::Menu::quit [protected] |
std::size_t UI::Menu::selected_item [protected] |
Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.