diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2018-04-03 03:05:04 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-04-06 15:59:42 +0300 |
commit | 33d9a07005a2e158c7cd2a945f5ab4e226d8205b (patch) | |
tree | 05326f67f33c0cc2436640fdb4402078c93106f5 /drape_frontend/user_mark_shapes.hpp | |
parent | ed54df20ee4dd5b0c236cd6a89a67766eaf3bd96 (diff) |
Use base types from kml library.
Diffstat (limited to 'drape_frontend/user_mark_shapes.hpp')
-rw-r--r-- | drape_frontend/user_mark_shapes.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drape_frontend/user_mark_shapes.hpp b/drape_frontend/user_mark_shapes.hpp index 41e66c85c8..f881c59f01 100644 --- a/drape_frontend/user_mark_shapes.hpp +++ b/drape_frontend/user_mark_shapes.hpp @@ -60,8 +60,8 @@ struct UserLineRenderParams m2::SharedSpline m_spline; }; -using UserMarksRenderCollection = std::unordered_map<MarkID, drape_ptr<UserMarkRenderParams>>; -using UserLinesRenderCollection = std::unordered_map<MarkID, drape_ptr<UserLineRenderParams>>; +using UserMarksRenderCollection = std::unordered_map<kml::MarkId, drape_ptr<UserMarkRenderParams>>; +using UserLinesRenderCollection = std::unordered_map<kml::MarkId, drape_ptr<UserLineRenderParams>>; struct UserMarkRenderData { @@ -82,10 +82,10 @@ void ProcessSplineSegmentRects(m2::SharedSpline const & spline, double maxSegmen std::function<bool(m2::RectD const & segmentRect)> const & func); void CacheUserMarks(TileKey const & tileKey, ref_ptr<dp::TextureManager> textures, - MarkIDCollection const & marksId, UserMarksRenderCollection & renderParams, + kml::MarkIdCollection const & marksId, UserMarksRenderCollection & renderParams, dp::Batcher & batcher); void CacheUserLines(TileKey const & tileKey, ref_ptr<dp::TextureManager> textures, - LineIDCollection const & linesId, UserLinesRenderCollection & renderParams, + kml::TrackIdCollection const & linesId, UserLinesRenderCollection & renderParams, dp::Batcher & batcher); } // namespace df |