diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-11-18 10:51:30 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:32:48 +0300 |
commit | c7e4429a42b5592603b4ea6c03f7373e23ad5fdf (patch) | |
tree | c7de50295f575d22dce80bf4d3a20d8d8699c6ae /map/location_state.hpp | |
parent | 764ec6d83b08bd8103ae9f688f00c0469a40606b (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.hpp | 4 |
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; //@} |