1 #ifndef MENU_CONFIGMENU_H_
2 #define MENU_CONFIGMENU_H_
12 #include "../app/State.h"
13 #include "../graphics/Menu.h"
21 explicit ConfigMenu(PartyMenu *parent);
24 virtual void HandleEvents(const app::Input &);
25 virtual void UpdateWorld(Uint32 deltaT);
26 virtual void Render(SDL_Surface *);
33 virtual void OnEnterState(SDL_Surface *screen);
34 virtual void OnExitState(SDL_Surface *screen);
35 virtual void OnResumeState(SDL_Surface *screen);
36 virtual void OnPauseState(SDL_Surface *screen);
38 virtual void OnResize(int width, int height);
40 void RenderHeadline(SDL_Surface *screen, const math::Vector<int> &offset) const;
41 void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
45 graphics::Menu<int> configMenu;