blob: 73f15061d78290618afdff688261c0d8dab7c2a1 (
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
{
private:
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;
};
|