diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-05-21 11:09:31 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:42 +0300 |
commit | 2491f9d4d2117dc70cf8327144d4af98e5a965e1 (patch) | |
tree | 17ce3979dc91f4d976bef16bff2c61a5a8578153 /map/user_mark_container.hpp | |
parent | 6d5cc8dd486aad6f8d1dc2999860fd17689bcc79 (diff) |
[core] we need apply pixel offset for bookmarks, to bookmark look like it growing from selection center
Diffstat (limited to 'map/user_mark_container.hpp')
-rw-r--r-- | map/user_mark_container.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/map/user_mark_container.hpp b/map/user_mark_container.hpp index 366abc8ca9..3294d1ebde 100644 --- a/map/user_mark_container.hpp +++ b/map/user_mark_container.hpp @@ -92,6 +92,25 @@ private: void DeleteUserMark(UserMark const * mark); private: + void DrawUserMark(double scale, + PaintOverlayEvent const & event, + UserMarkDLCache * cache, + UserMarkDLCache::Key const & defaultKey, + UserMark const * mark) const; + + void DefaultDrawUserMark(double scale, + PaintOverlayEvent const & event, + UserMarkDLCache * cache, + UserMarkDLCache::Key const & defaultKey, + UserMark const * mark) const; + + void DrawUserMarkImpl(double scale, + const m2::PointD & pixelOfsset, + PaintOverlayEvent const & event, + graphics::DisplayList * dl, + UserMark const * mark) const; + +private: Controller m_controller; bool m_isVisible; double m_layerDepth; |