4 * Created on: Oct 22, 2012
8 #ifndef MENU_STATUSMENU_H_
9 #define MENU_STATUSMENU_H_
12 #include "../app/State.h"
13 #include "../common/fwd.h"
14 #include "../geometry/Vector.h"
22 StatusMenu(PartyMenu *parent, int heroIndex);
25 virtual void HandleEvents(const app::Input &);
26 virtual void UpdateWorld(float deltaT);
27 virtual void Render(SDL_Surface *);
34 virtual void OnEnterState(SDL_Surface *screen);
35 virtual void OnExitState(SDL_Surface *screen);
36 virtual void OnResumeState(SDL_Surface *screen);
37 virtual void OnPauseState(SDL_Surface *screen);
39 virtual void OnResize(int width, int height);
44 void RenderStatus(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
45 void RenderStats(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
46 void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const geometry::Vector<int> &position) const;
47 void RenderEquipment(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
48 void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const geometry::Vector<int> &position) const;
58 #endif /* MENU_STATUSMENU_H_ */