Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-11-18 10:51:30 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:32:48 +0300
commitc7e4429a42b5592603b4ea6c03f7373e23ad5fdf (patch)
treec7de50295f575d22dce80bf4d3a20d8d8699c6ae /map/location_state.hpp
parent764ec6d83b08bd8103ae9f688f00c0469a40606b (diff)
[core] condition compilation. We can use old renderer or drape based on define USE_DRAPE
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r--map/location_state.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp
index bccfe7b4c8..7469bd72ab 100644
--- a/map/location_state.hpp
+++ b/map/location_state.hpp
@@ -123,11 +123,13 @@ namespace location
void CallPositionChangedListeners(m2::PointD const & pt);
void CallStateModeListeners();
+#ifndef USE_DRAPE
void CachePositionArrow();
void CacheRoutingArrow();
void CacheLocationMark();
void CacheArrow(graphics::DisplayList * dl, string const & iconName);
+#endif // USE_DRAPE
bool IsRotationActive() const;
bool IsDirectionKnown() const;
@@ -177,10 +179,12 @@ namespace location
/// @name Compass Rendering Parameters
//@{
+#ifndef USE_DRAPE
unique_ptr<graphics::DisplayList> m_positionArrow;
unique_ptr<graphics::DisplayList> m_locationMarkDL;
unique_ptr<graphics::DisplayList> m_positionMarkDL;
unique_ptr<graphics::DisplayList> m_routingArrow;
+#endif // USE_DRAPE
graphics::Color m_locationAreaColor;
//@}