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

Public Methods | |
| virtual MenuHandleResult | handleEvent (SDL_Event *e)=0 |
| virtual void | draw (SDL_Surface *surf, TTF_Font *font, int centerX, int centerY)=0 |
| virtual void | select ()=0 |
| virtual void | deselect ()=0 |
Definition at line 62 of file MenuManager.h.
|
|
Definition at line 77 of file MenuManager.h. |
|
|
Deselect this menu item, the item will not recieve input from handleInput until select() ed again. Reimplemented in Menu::DefaultMenuItem. |
|
||||||||||||||||||||
|
Render given font onto surf, centered at centerX and centerY Reimplemented in Menu::DefaultMenuItem, Menu::BooleanItem, Menu::KeyInputter, and Menu::IntInputter. |
|
|
Handle an SDL_Event. Gives the MenuItem a Reimplemented in Menu::BooleanItem, Menu::GotoSubMenu, Menu::InputGetter, Menu::KeyInputter, and Menu::IntInputter. |
|
|
Select this menu item (make it currently focused on, such that the MenuManager can pass input to it via handleEvent) Reimplemented in Menu::DefaultMenuItem. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001