diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-07-31 09:24:44 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:59:35 +0300 |
commit | 8c9f87e66ac5bc12b082493dd638aa72c70ab101 (patch) | |
tree | a4a6647bdedc0355b42f66d68fcdb038bb3838d1 /map/bookmark_manager.hpp | |
parent | 6b014d1414ab893e3934cb3d1a1296621ebc0ef4 (diff) |
Integration routing rendering in old engine
Diffstat (limited to 'map/bookmark_manager.hpp')
-rw-r--r-- | map/bookmark_manager.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp index 70fd6f6d00..92de1d1ce9 100644 --- a/map/bookmark_manager.hpp +++ b/map/bookmark_manager.hpp @@ -11,10 +11,10 @@ class Framework; class PaintEvent; namespace graphics { class Screen; } +namespace rg { class RouteRenderer; } class BookmarkManager : private noncopyable { - unique_ptr<RouteTrack> m_routeTrack; vector<BookmarkCategory *> m_categories; string m_lastCategoryUrl; string m_lastType; @@ -86,8 +86,10 @@ public: void SetScreen(graphics::Screen * screen); void ResetScreen(); - void SetRouteTrack(RouteTrack & track); + void SetRouteTrack(m2::PolylineD const & routePolyline, vector<double> const & turns, + graphics::Color const & color); void ResetRouteTrack(); + void UpdateRouteDistanceFromBegin(double distance); private: UserMarkContainer const * FindUserMarksContainer(UserMarkContainer::Type type) const; @@ -96,4 +98,6 @@ private: UserMarkDLCache * m_cache; SelectionContainer m_selection; + + unique_ptr<rg::RouteRenderer> m_routeRenderer; }; |