X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FConfigMenu.h;h=666cc8960459b7ae51bc3e282de3289269cfb0be;hb=e8283bf94624b2f184d50dc1401bf45225c529d6;hp=c3f96f0cc108d283b4e1eb0f4d4d46d4cf9003dd;hpb=a47b25a3a6631c8136fec6585a92b8756c68d243;p=l2e.git diff --git a/src/menu/ConfigMenu.h b/src/menu/ConfigMenu.h index c3f96f0..666cc89 100644 --- a/src/menu/ConfigMenu.h +++ b/src/menu/ConfigMenu.h @@ -1,16 +1,16 @@ -/* - * ConfigMenu.h - * - * Created on: Nov 29, 2012 - * Author: holy - */ - #ifndef MENU_CONFIGMENU_H_ #define MENU_CONFIGMENU_H_ -#include "fwd.h" +namespace math { + template + class Vector; +} +namespace menu { + class PartyMenu; +} + #include "../app/State.h" -#include "../geometry/Vector.h" +#include "../graphics/Menu.h" namespace menu { @@ -22,7 +22,7 @@ public: public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); virtual void Render(SDL_Surface *); public: @@ -37,14 +37,15 @@ private: virtual void OnResize(int width, int height); - void RenderHeadline(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderHeadline(SDL_Surface *screen, const math::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent; + graphics::Menu configMenu; }; } -#endif /* MENU_CONFIGMENU_H_ */ +#endif