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:
authorvng <viktor.govako@gmail.com>2014-09-06 13:54:20 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:26:10 +0300
commitd9ca6e56ef92b248221b66ab0f79437c573c469b (patch)
tree830f5d1ce26c3a0289fc2d8e7cfa04071d816c1c /map/alfa_animation_task.hpp
parent573e647de3a22282d0e993c30ffa05f4075c1e93 (diff)
Minor refactoring of InformationDisplay:
- remove useless class data - do not recalculate layout on every frame draw; do it when size changed only - use unique_ptr instead of shared_ptr - remove useless includes
Diffstat (limited to 'map/alfa_animation_task.hpp')
-rw-r--r--map/alfa_animation_task.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/map/alfa_animation_task.hpp b/map/alfa_animation_task.hpp
index cc446fc4b0..51be4d28dc 100644
--- a/map/alfa_animation_task.hpp
+++ b/map/alfa_animation_task.hpp
@@ -2,16 +2,19 @@
#include "../anim/task.hpp"
+
class Framework;
class AlfaAnimationTask : public anim::Task
{
- typedef anim::Task base_t;
+ typedef anim::Task BaseT;
+
public:
- AlfaAnimationTask(double start, double end, double timeInterval, double timeOffset, Framework * f);
+ AlfaAnimationTask(double start, double end,
+ double timeInterval, double timeOffset,
+ Framework * f);
bool IsHiding() const;
-
float GetCurrentAlfa() const;
virtual void OnStart(double ts);