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-03-07 16:05:57 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:40 +0300
commit69f6e406743e9bfa4813989cec71d9465b1524e2 (patch)
tree98ec8f1e4163bcfced4abafcd37499c51401ccd9 /map/alfa_animation_task.hpp
parentaa9010fa705edb99280619e9e74e04fbff2b0430 (diff)
new ruler with chess and poetesses
Diffstat (limited to 'map/alfa_animation_task.hpp')
-rw-r--r--map/alfa_animation_task.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/map/alfa_animation_task.hpp b/map/alfa_animation_task.hpp
new file mode 100644
index 0000000000..151b1f9c3a
--- /dev/null
+++ b/map/alfa_animation_task.hpp
@@ -0,0 +1,29 @@
+#pragma once
+
+#include "../anim/task.hpp"
+
+class Framework;
+
+class AlfaCompassAnim : public anim::Task
+{
+ typedef anim::Task base_t;
+public:
+ AlfaCompassAnim(double start, double end, double timeInterval, double timeOffset, Framework * f);
+
+ bool IsHiding() const;
+
+ float GetCurrentAlfa() const;
+
+ virtual void OnStart(double ts);
+ virtual void OnStep(double ts);
+
+private:
+ double m_start;
+ double m_end;
+ double m_current;
+ double m_timeInterval;
+ double m_timeOffset;
+ double m_timeStart;
+
+ Framework * m_f;
+};