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-13 10:47:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:41 +0300
commitb04784b71678a4c96a51e23f875c3ef5ef69bf2b (patch)
tree0923b29073325dc81a78b31af53c1fd55955ba7b /map/compass_arrow.cpp
parent69f6e406743e9bfa4813989cec71d9465b1524e2 (diff)
prev frame animation for ruler
Diffstat (limited to 'map/compass_arrow.cpp')
-rw-r--r--map/compass_arrow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/map/compass_arrow.cpp b/map/compass_arrow.cpp
index 45d6f60e7d..0c9261b229 100644
--- a/map/compass_arrow.cpp
+++ b/map/compass_arrow.cpp
@@ -107,7 +107,7 @@ void CompassArrow::AlfaAnimEnded(bool isVisible)
bool CompassArrow::IsHidingAnim() const
{
ASSERT(m_animTask != NULL, ());
- AlfaCompassAnim * a = static_cast<AlfaCompassAnim *>(m_animTask.get());
+ AlfaAnimationTask * a = static_cast<AlfaAnimationTask *>(m_animTask.get());
return a->IsHiding();
}
@@ -115,7 +115,7 @@ float CompassArrow::GetCurrentAlfa() const
{
if (m_animTask)
{
- AlfaCompassAnim * a = static_cast<AlfaCompassAnim *>(m_animTask.get());
+ AlfaAnimationTask * a = static_cast<AlfaAnimationTask *>(m_animTask.get());
return a->GetCurrentAlfa();
}
@@ -129,7 +129,7 @@ void CompassArrow::CreateAnim(double startAlfa, double endAlfa, double timeInter
if (m_animTask)
m_animTask->Cancel();
- m_animTask.reset(new AlfaCompassAnim(startAlfa, endAlfa, timeInterval, timeOffset, m_framework));
+ m_animTask.reset(new AlfaAnimationTask(startAlfa, endAlfa, timeInterval, timeOffset, m_framework));
m_animTask->AddCallback(anim::Task::EEnded, bind(&CompassArrow::AlfaAnimEnded, this, isVisibleAtEnd));
m_framework->GetAnimController()->AddTask(m_animTask);
}