blob: 84eccea9b9cee9d1c45c4ce815ff61d360d735f2 (
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
|
#pragma once
#include "anim/anyrect_interpolation.hpp"
class Framework;
class ChangeViewportTask : public anim::AnyRectInterpolation
{
typedef anim::AnyRectInterpolation BaseT;
Framework * m_framework;
m2::AnyRectD m_outRect;
public:
ChangeViewportTask(m2::AnyRectD const & startRect,
m2::AnyRectD const & endRect,
double rotationSpeed,
Framework * framework);
void OnStep(double ts);
void OnEnd(double ts);
bool IsVisual() const;
};
|