11 #include "utils/Geometry.h" 12 #include "utils/Vector.h" 26 bool IsScrolling() {
return m_bScrolling; }
29 bool CheckForInertialScrolling(
const CAction* action);
30 bool ProcessInertialScroll(
float frameTime);
37 bool m_bScrolling =
false;
40 bool m_bAborting =
false;
48 PanPoint(
unsigned int time,
CVector velocity) : time(time), velocity(velocity) {}
49 unsigned int TimeElapsed()
const;
51 std::deque<PanPoint> m_panPoints;
52 CPoint m_iLastGesturePoint;
53 CVector m_inertialDeacceleration;
54 unsigned int m_inertialStartTime = 0;
55 float m_timeToZero = 0.0f;
Definition: Application.h:82
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21