X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FScenarioMenu.cpp;h=a86f9a93412654bcba39ad8d41ed72f291bf974a;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=2c317bb29c158eaf77daeec8a61607830ba8eb84;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/menu/ScenarioMenu.cpp b/src/menu/ScenarioMenu.cpp index 2c317bb..a86f9a9 100644 --- a/src/menu/ScenarioMenu.cpp +++ b/src/menu/ScenarioMenu.cpp @@ -14,7 +14,7 @@ using app::Input; using common::Inventory; using common::Item; -using geometry::Vector; +using math::Vector; using graphics::Font; using graphics::Frame; @@ -100,7 +100,7 @@ int ScenarioMenu::Height() const { return parent->Height(); } -void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const geometry::Vector &offset) const { +void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const math::Vector &offset) const { const Font &font(*parent->Res().normalFont); const Frame &frame(*parent->Res().statusFrame); const Vector textOffset(2 * font.CharWidth(), font.CharHeight()); @@ -110,7 +110,7 @@ void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const geometry::VectorRes().scenarioMenuHeadline, screen, offset + textOffset); } -void ScenarioMenu::RenderItems(SDL_Surface *screen, const geometry::Vector &offset) const { +void ScenarioMenu::RenderItems(SDL_Surface *screen, const math::Vector &offset) const { const Font &font(*parent->Res().normalFont); const Frame &frame(*parent->Res().statusFrame); const Vector menuOffset(3 * font.CharWidth(), font.CharHeight() + font.CharHeight() / 4);