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: 48ab30ec100d1f69456b9b672131a6498e6dd0a5 (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/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);

  bool IsVisual() const;
};