X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FConfigMenu.cpp;h=e96c76bad7351226cc75e5bddaa96354f42095e6;hb=06db9f596cd1c5aa4c0832b387882f7c74c1b4c0;hp=9c903eb607ee3893b50032313050f312ae6d19c0;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/menu/ConfigMenu.cpp b/src/menu/ConfigMenu.cpp index 9c903eb..e96c76b 100644 --- a/src/menu/ConfigMenu.cpp +++ b/src/menu/ConfigMenu.cpp @@ -2,6 +2,8 @@ #include "PartyMenu.h" #include "Resources.h" +#include "../app/Application.h" +#include "../app/Input.h" #include "../common/GameConfig.h" #include "../common/GameState.h" #include "../graphics/Font.h" @@ -9,7 +11,7 @@ using app::Input; using common::GameState; -using geometry::Vector; +using math::Vector; using graphics::Font; using graphics::Frame; @@ -113,7 +115,7 @@ void ConfigMenu::Render(SDL_Surface *screen) { RenderMenu(screen, offset + menuOffset); } -void ConfigMenu::RenderHeadline(SDL_Surface *screen, const geometry::Vector &offset) const { +void ConfigMenu::RenderHeadline(SDL_Surface *screen, const math::Vector &offset) const { const Font &font(*parent->Res().normalFont); const Frame &frame(*parent->Res().statusFrame); const Vector textOffset( @@ -123,7 +125,7 @@ void ConfigMenu::RenderHeadline(SDL_Surface *screen, const geometry::Vector font.DrawString(parent->Res().mainMenuConfigText, screen, offset + textOffset, 6); } -void ConfigMenu::RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const { +void ConfigMenu::RenderMenu(SDL_Surface *screen, const math::Vector &offset) const { const Resources &res(parent->Res()); const Font &font(*res.normalFont); const Font &inactiveFont(*res.inactiveFont);