diff options
author | Roman Kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-09-28 18:01:10 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:16:34 +0300 |
commit | 42aa203d2da0b49d517c2e1fb0fe75c467ac9c14 (patch) | |
tree | 28b7360c7ba566d15b0069d0c5cc1fdd7b281fb6 /drape_frontend | |
parent | 44f3578c79d2e60b870f36539ab613be6e8d1874 (diff) |
Fixed recovering of selection mark after Drape reinitialization
Diffstat (limited to 'drape_frontend')
-rw-r--r-- | drape_frontend/user_mark_shapes.cpp | 6 | ||||
-rw-r--r-- | drape_frontend/user_mark_shapes.hpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drape_frontend/user_mark_shapes.cpp b/drape_frontend/user_mark_shapes.cpp index 91e5680152..fba8085779 100644 --- a/drape_frontend/user_mark_shapes.cpp +++ b/drape_frontend/user_mark_shapes.cpp @@ -17,6 +17,7 @@ namespace int const YSearchMarksLayer = 1; int const YApiMarksLayer = 2; int const YBookmarksLayer = 3; + int const YDebugLayer = 4; } TileKey GetSearchTileKey() @@ -29,6 +30,11 @@ TileKey GetApiTileKey() return TileKey(0, YApiMarksLayer, ZUserMarksLayer); } +TileKey GetDebugTileKey() +{ + return TileKey(0, YDebugLayer, ZUserMarksLayer); +} + TileKey GetBookmarkTileKey(size_t categoryIndex) { return TileKey(categoryIndex, YBookmarksLayer, ZUserMarksLayer); diff --git a/drape_frontend/user_mark_shapes.hpp b/drape_frontend/user_mark_shapes.hpp index e696c6cfdc..361d6c86b3 100644 --- a/drape_frontend/user_mark_shapes.hpp +++ b/drape_frontend/user_mark_shapes.hpp @@ -14,6 +14,7 @@ namespace df { TileKey GetSearchTileKey(); TileKey GetApiTileKey(); + TileKey GetDebugTileKey(); TileKey GetBookmarkTileKey(size_t categoryIndex); bool IsUserMarkLayer(TileKey const & tileKey); |