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: f7e17ee29acb93a1b40de5557170913a78f7550e (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;
};