diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-12-18 14:40:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:04 +0300 |
commit | c44578fca5db273e8b01e6bbc43dde188220337a (patch) | |
tree | 6e16bef373f5e5ee99fdca31af1bc8259175c249 /map/compass_arrow.cpp | |
parent | 3e98f346b4515a41089ecfc216f839e837de3868 (diff) |
refactored GeometryBatcher to derive it from PipelinesManager.
Diffstat (limited to 'map/compass_arrow.cpp')
-rw-r--r-- | map/compass_arrow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/map/compass_arrow.cpp b/map/compass_arrow.cpp index 7cf6a49070..ac10ea67ad 100644 --- a/map/compass_arrow.cpp +++ b/map/compass_arrow.cpp @@ -11,7 +11,6 @@ #include "../graphics/display_list.hpp" #include "../graphics/screen.hpp" -#include "../graphics/skin.hpp" #include "../graphics/pen.hpp" CompassArrow::CompassArrow(Params const & p) @@ -124,7 +123,11 @@ void CompassArrow::cache() graphics::Pen::Info const outlinePenInfo(graphics::Color(0x66, 0x66, 0x66, 0xcc), 1, 0, 0, 0); - cacheScreen->drawPath(outlinePts, sizeof(outlinePts) / sizeof(m2::PointD), 0, cacheScreen->skin()->map(outlinePenInfo), depth()); + cacheScreen->drawPath(outlinePts, + sizeof(outlinePts) / sizeof(m2::PointD), + 0, + cacheScreen->mapInfo(outlinePenInfo), + depth()); cacheScreen->setDisplayList(0); cacheScreen->endFrame(); |