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


Public Methods | |
| MenuHandleResult | handleEvent (SDL_Event *e) |
| virtual void | draw (SDL_Surface *surf, TTF_Font *font, int centerX, int centerY) |
Definition at line 224 of file MenuManager.h.
|
||||||||||||||||||||||||||||||||
|
Definition at line 268 of file MenuManager.cpp. |
|
||||||||||||||||||||
|
render name centered at (centerX, centerY), render i name at (centerX + INPUT_HORIZ_SPACE, centerY) Reimplemented from Menu::DefaultMenuItem. Definition at line 316 of file MenuManager.cpp. |
|
|
Become active if !isActive() when enter is pressed. Increment i when up is pressed, decrement it when down is pressed, turn i to the keypressed if it's a number of on the keypad. Using keyboard currently won't work for anything other than single digit numbers Reimplemented from Menu::InputGetter. Definition at line 278 of file MenuManager.cpp. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001