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-09-19 17:34:02 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:28:22 +0300
commit3669e19b813c50e521e9db86777fc715572a73bb (patch)
tree88d477087f694dfb5b0d888c4f1a8a91bf020528 /map/location_state.hpp
parentc942cfaa0beafafac1c312abee52e61f529fef82 (diff)
[core] location state animations
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r--map/location_state.hpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp
index fc63293b8a..adea91354b 100644
--- a/map/location_state.hpp
+++ b/map/location_state.hpp
@@ -13,6 +13,7 @@
class Framework;
namespace graphics { class DisplayList; }
+namespace anim { class Task;}
namespace location
{
@@ -116,7 +117,6 @@ namespace location
bool IsDirectionKnown() const;
bool IsInRouting() const;
- void FollowCompass();
void SetModeInfo(uint16_t modeInfo);
private:
@@ -142,12 +142,20 @@ namespace location
TPositionListeners m_positionListeners;
int m_currentSlotID;
- /// @nameCompass Rendering Parameters
+ /// @name Compass Rendering Parameters
//@{
unique_ptr<graphics::DisplayList> m_positionArrow;
unique_ptr<graphics::DisplayList> m_locationMarkDL;
unique_ptr<graphics::DisplayList> m_positionMarkDL;
graphics::Color m_locationAreaColor;
//@}
+
+ /// @name Rotation mode animation
+ //@{
+ shared_ptr<anim::Task> m_animTask;
+ bool FollowCompass();
+ void CreateAnimTask();
+ void EndAnimation();
+ //@}
};
}