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


Public Methods | |
| MenuHandleResult | handleEvent (SDL_Event *e) |
Protected Methods | |
| InputGetter (const std::string &name, const SDL_Color &selectedCol=DEFAULT_SELECTED_COL, const SDL_Color &unselectedCol=DEFAULT_DESELECTED_COL, const SDL_Color &activeCol=DEFAULT_ACTIVE_COL) | |
| const SDL_Color & | getCurrentColor () |
| bool | isActive () |
Definition at line 182 of file MenuManager.h.
|
||||||||||||||||||||
|
Definition at line 191 of file MenuManager.cpp. |
|
|
Reimplemented from Menu::DefaultMenuItem. Definition at line 217 of file MenuManager.cpp. |
|
|
When inactive, becomes active upon press of enter and returns EVENT_HANDLED, else returns EVENT_PASSED When active, becomes inactive upon press of esc and returns EVENT_HANDLED, else returns EVENT_PASSED Reimplemented from Menu::MenuItem. Reimplemented in Menu::KeyInputter, and Menu::IntInputter. Definition at line 197 of file MenuManager.cpp. |
|
|
Definition at line 199 of file MenuManager.h. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001