diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-07-21 18:21:06 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:04 +0300 |
commit | e0a3b78025c98ce56b64bcbc5bf0d46311af529a (patch) | |
tree | 8519b300efcd04e139d73bf51557d0e845149e67 /map/route_track.hpp | |
parent | 0dc3e2ab69b78eeba5a40f6109daa2b9b170a290 (diff) |
Set arrow color in framework class instead of hardcode
Diffstat (limited to 'map/route_track.hpp')
-rw-r--r-- | map/route_track.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/map/route_track.hpp b/map/route_track.hpp index 06698fe005..76a22450f4 100644 --- a/map/route_track.hpp +++ b/map/route_track.hpp @@ -27,6 +27,8 @@ public: void AddClosingSymbol(bool isBeginSymbol, string const & symbolName, graphics::EPosition pos, double depth); + void SetArrowColor(graphics::Color color) { m_arrowColor = color; } + private: void CreateDisplayListSymbols(graphics::Screen * dlScreen, PointContainerT const & pts) const; @@ -48,10 +50,11 @@ private: vector<ClosingSymbol> m_beginSymbols; vector<ClosingSymbol> m_endSymbols; - routing::turns::TTurnsGeom m_turnsGeom; mutable location::RouteMatchingInfo m_relevantMatchedInfo; mutable graphics::DisplayList * m_closestSegmentDL = nullptr; + + graphics::Color m_arrowColor; }; bool ClipArrowBodyAndGetArrowDirection(vector<m2::PointD> & ptsTurn, pair<m2::PointD, m2::PointD> & arrowDirection, |