equal
deleted
inserted
replaced
74 * Checks if the physics is running |
74 * Checks if the physics is running |
75 */ |
75 */ |
76 TBool IsRunning() const; |
76 TBool IsRunning() const; |
77 |
77 |
78 /** |
78 /** |
79 * Checks if the physics is running drag |
|
80 */ |
|
81 TBool IsDragging() const; |
|
82 |
|
83 /** |
|
84 * Stops physics |
79 * Stops physics |
85 */ |
80 */ |
86 void Stop(); |
81 void Stop(); |
87 |
82 |
88 /** |
83 /** |
112 * Drag start time |
107 * Drag start time |
113 */ |
108 */ |
114 TTime iStartTime; |
109 TTime iStartTime; |
115 |
110 |
116 /** |
111 /** |
|
112 * Drag start position |
|
113 */ |
|
114 TPoint iStartPosition; |
|
115 |
|
116 /** |
117 * Taskswitcher physics for item switch animation |
117 * Taskswitcher physics for item switch animation |
118 */ |
118 */ |
119 CTsPhysics* iTaskswitcherPhysics; |
119 CTsPhysics* iTaskswitcherPhysics; |
|
120 |
|
121 /** |
|
122 * Marks direction in which drag events are made: |
|
123 * Values: 0 - uninitialized |
|
124 * 1 - drag right |
|
125 * -1 - drag left |
|
126 */ |
|
127 TInt iDragDirection; |
120 |
128 |
121 }; |
129 }; |
122 |
130 |
123 #endif /* TSPHYSICSENGINE_H_*/ |
131 #endif /* TSPHYSICSENGINE_H_*/ |