taskswitcher/taskswitcherui/taskswitcherapp/inc/tsphysicsengine.h
branchRCL_3
changeset 16 9674c1a575e9
parent 15 ff572dfe6d86
--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsphysicsengine.h	Fri Mar 12 15:41:49 2010 +0200
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsphysicsengine.h	Mon Mar 15 12:39:47 2010 +0200
@@ -76,11 +76,6 @@
     TBool IsRunning() const;
     
     /**
-     * Checks if the physics is running drag
-     */
-    TBool IsDragging() const;
-    
-    /**
      * Stops physics
      */
     void Stop();
@@ -114,9 +109,22 @@
     TTime iStartTime;
     
     /**
+     * Drag start position
+     */
+    TPoint iStartPosition;
+    
+    /**
      * Taskswitcher physics for item switch animation
      */
     CTsPhysics* iTaskswitcherPhysics;
+    
+    /**
+     * Marks direction in which drag events are made:
+     * Values: 0 - uninitialized
+     *         1 - drag right
+     *        -1 - drag left 
+     */
+    TInt iDragDirection;
 
     };