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

rotate_screen_task.hpp « map - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9865f2ed4353435c0dd56eb0e24f2300367110db (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/angle_interpolation.hpp"

class Framework;

class RotateScreenTask : public anim::AngleInterpolation
{
private:

  Framework * m_framework;
  double m_outAngle;

public:

  RotateScreenTask(Framework * framework,
                   double startAngle,
                   double endAngle,
                   double speed);

  void OnStep(double ts);
  void OnEnd(double ts);
};