diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-11-09 17:40:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:46:45 +0300 |
commit | bcc94857d7b9f092148dea4a2a9b90c592f43a75 (patch) | |
tree | 7bf4c63e9b28fd0b00dfdcffcada9bb2c637b935 /gui/controller.cpp | |
parent | 771f47410fa67f271cf425a2b1a9a0ed6119b4ea (diff) |
renamed yg into graphics.
Diffstat (limited to 'gui/controller.cpp')
-rw-r--r-- | gui/controller.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/controller.cpp b/gui/controller.cpp index 65a7267f96..45155aa945 100644 --- a/gui/controller.cpp +++ b/gui/controller.cpp @@ -1,9 +1,9 @@ #include "controller.hpp" #include "element.hpp" -#include "../map/drawer_yg.hpp" +#include "../map/drawer.hpp" -#include "../yg/overlay.hpp" +#include "../graphics/overlay.hpp" #include "../std/bind.hpp" @@ -19,8 +19,8 @@ namespace gui Controller::RenderParams::RenderParams(double visualScale, TInvalidateFn invalidateFn, - yg::GlyphCache * glyphCache, - yg::gl::Screen * cacheScreen) + graphics::GlyphCache * glyphCache, + graphics::gl::Screen * cacheScreen) : m_VisualScale(visualScale), m_InvalidateFn(invalidateFn), m_GlyphCache(glyphCache), @@ -158,7 +158,7 @@ namespace gui PurgeElements(); } - void Controller::DrawFrame(yg::gl::Screen * screen) + void Controller::DrawFrame(graphics::gl::Screen * screen) { screen->beginFrame(); @@ -178,7 +178,7 @@ namespace gui m_InvalidateFn(); } - yg::GlyphCache * Controller::GetGlyphCache() const + graphics::GlyphCache * Controller::GetGlyphCache() const { return m_GlyphCache; } @@ -201,7 +201,7 @@ namespace gui return m_bundle; } - yg::gl::Screen * Controller::GetCacheScreen() const + graphics::gl::Screen * Controller::GetCacheScreen() const { return m_CacheScreen; } |