Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-11-09 17:40:13 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:46:45 +0300
commitbcc94857d7b9f092148dea4a2a9b90c592f43a75 (patch)
tree7bf4c63e9b28fd0b00dfdcffcada9bb2c637b935 /map/compass_arrow.cpp
parent771f47410fa67f271cf425a2b1a9a0ed6119b4ea (diff)
renamed yg into graphics.
Diffstat (limited to 'map/compass_arrow.cpp')
-rw-r--r--map/compass_arrow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/map/compass_arrow.cpp b/map/compass_arrow.cpp
index 5505017e77..9251e869b9 100644
--- a/map/compass_arrow.cpp
+++ b/map/compass_arrow.cpp
@@ -9,9 +9,9 @@
#include "../geometry/any_rect2d.hpp"
#include "../geometry/transformations.hpp"
-#include "../yg/display_list.hpp"
-#include "../yg/screen.hpp"
-#include "../yg/skin.hpp"
+#include "../graphics/display_list.hpp"
+#include "../graphics/screen.hpp"
+#include "../graphics/skin.hpp"
CompassArrow::CompassArrow(Params const & p)
: base_t(p),
@@ -52,7 +52,7 @@ vector<m2::AnyRectD> const & CompassArrow::boundRects() const
return m_boundRects;
}
-void CompassArrow::draw(yg::gl::OverlayRenderer * r,
+void CompassArrow::draw(graphics::gl::OverlayRenderer * r,
math::Matrix<double, 3, 3> const & m) const
{
if (isVisible())
@@ -71,7 +71,7 @@ void CompassArrow::draw(yg::gl::OverlayRenderer * r,
void CompassArrow::cache()
{
- yg::gl::Screen * cacheScreen = m_controller->GetCacheScreen();
+ graphics::gl::Screen * cacheScreen = m_controller->GetCacheScreen();
m_displayList.reset();
m_displayList.reset(cacheScreen->createDisplayList());
@@ -121,7 +121,7 @@ void CompassArrow::cache()
m2::PointD(halfW, 0)
};
- yg::PenInfo const outlinePenInfo(yg::Color(0x66, 0x66, 0x66, 0xcc), 1, 0, 0, 0);
+ graphics::PenInfo const outlinePenInfo(graphics::Color(0x66, 0x66, 0x66, 0xcc), 1, 0, 0, 0);
cacheScreen->drawPath(outlinePts, sizeof(outlinePts) / sizeof(m2::PointD), 0, cacheScreen->skin()->mapPenInfo(outlinePenInfo), depth());