1 #ifndef MENU_STATUSMENU_H_
2 #define MENU_STATUSMENU_H_
5 #include "../app/State.h"
6 #include "../common/fwd.h"
7 #include "../geometry/Vector.h"
8 #include "../graphics/Menu.h"
16 StatusMenu(PartyMenu *parent, int heroIndex);
19 virtual void HandleEvents(const app::Input &);
20 virtual void UpdateWorld(float deltaT);
21 virtual void Render(SDL_Surface *);
28 virtual void OnEnterState(SDL_Surface *screen);
29 virtual void OnExitState(SDL_Surface *screen);
30 virtual void OnResumeState(SDL_Surface *screen);
31 virtual void OnPauseState(SDL_Surface *screen);
33 virtual void OnResize(int width, int height);
38 const common::Hero &GetHero() const;
40 void RenderStatus(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
41 void RenderStats(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
42 void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const geometry::Vector<int> &position) const;
43 void RenderEquipment(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
44 void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const geometry::Vector<int> &position) const;
45 /// @param offset the top right corner!
46 void RenderExperience(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
47 /// @param offset the top right corner!
48 void RenderNextLevel(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
49 void RenderIkari(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
50 void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
55 graphics::Menu<int> menu;
61 #endif /* MENU_STATUSMENU_H_ */