#include <MenuManager.h>
Inheritance diagram for Menu::DefaultMenuItem:


Public Methods | |
| virtual void | select () |
| virtual void | deselect () |
| void | draw (SDL_Surface *surf, TTF_Font *font, int centerX, int centerY) |
Protected Methods | |
| DefaultMenuItem (const std::string &name, const SDL_Color &selected=DEFAULT_SELECTED_COL, const SDL_Color &unselected=DEFAULT_DESELECTED_COL) | |
| virtual const SDL_Color & | getCurrentColor () |
Definition at line 83 of file MenuManager.h.
|
|
Definition at line 89 of file MenuManager.h. |
|
||||||||||||||||
|
Definition at line 111 of file MenuManager.cpp. |
|
|
Changes color to deselected Reimplemented from Menu::MenuItem. Definition at line 123 of file MenuManager.cpp. |
|
||||||||||||||||||||
|
Renders the item's name to surf, centered about centerX and centerY Reimplemented from Menu::MenuItem. Reimplemented in Menu::BooleanItem, Menu::KeyInputter, and Menu::IntInputter. Definition at line 127 of file MenuManager.cpp. |
|
|
Reimplemented in Menu::InputGetter. Definition at line 140 of file MenuManager.cpp. |
|
|
Changes color to selected Reimplemented from Menu::MenuItem. Definition at line 119 of file MenuManager.cpp. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001