Welcome to mirror list, hosted at ThFree Co, Russian Federation.

change_viewport_task.hpp « map - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6f662169dd0f5a8970fab173885da1b5af92e6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);
};