blob: 6f1c5814a3fb4a7a1a9484148d378282799aafec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include "anim/task.hpp"
class Framework;
class AlfaAnimationTask : public anim::Task
{
typedef anim::Task BaseT;
public:
AlfaAnimationTask(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;
};
|