diff options
author | vng <viktor.govako@gmail.com> | 2015-05-15 13:09:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:08 +0300 |
commit | 1f50787b057ea3fef8c5f0b3a3945286ce07ea6a (patch) | |
tree | e570520307996acf9acb9742435b1d17f567010c /map/location_state.hpp | |
parent | eefa43a2b1e4d0bc73ca81922b8614ec05dff6c4 (diff) |
Render policies refactoring to support GPU and Software rendering.
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r-- | map/location_state.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp index 4577cc4359..37fd21b81c 100644 --- a/map/location_state.hpp +++ b/map/location_state.hpp @@ -78,6 +78,8 @@ namespace location /// @return GPS center point in mercator m2::PointD const & Position() const; double GetErrorRadius() const; + double GetDirection() const { return m_drawDirection; } + bool IsDirectionKnown() const; Mode GetMode() const; bool IsModeChangeViewport() const; @@ -125,6 +127,7 @@ namespace location RouteMatchingInfo const & GetRouteMatchingInfo() const { return m_routeMatchingInfo; } void ResetRouteMatchingInfo() { m_routeMatchingInfo.Reset(); } + void ResetDirection(); /// @name Override from graphics::OverlayElement and gui::Element. //@{ @@ -156,7 +159,6 @@ namespace location #endif // USE_DRAPE bool IsRotationActive() const; - bool IsDirectionKnown() const; bool IsInRouting() const; m2::PointD const GetModeDefaultPixelBinding(Mode mode) const; |