equal
deleted
inserted
replaced
17 #include <AknControl.h> |
17 #include <AknControl.h> |
18 #include <eiksbobs.h> |
18 #include <eiksbobs.h> |
19 #include <mswtphysics.h> |
19 #include <mswtphysics.h> |
20 #include "eswtwidgetscore.h" |
20 #include "eswtwidgetscore.h" |
21 #include "swtscrollablebase.h" |
21 #include "swtscrollablebase.h" |
22 |
22 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
|
23 #include <touchfeedback.h> |
|
24 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
23 |
25 |
24 class CEikScrollBarFrame; |
26 class CEikScrollBarFrame; |
25 class CSwtScrollBar; |
27 class CSwtScrollBar; |
26 class CSwtUiUtils; |
28 class CSwtUiUtils; |
27 |
29 |
134 void PhysicsStartTimer(); |
136 void PhysicsStartTimer(); |
135 static TInt PhysicsTimerCallback(TAny* aPtr); |
137 static TInt PhysicsTimerCallback(TAny* aPtr); |
136 void PaintUrgently() const; |
138 void PaintUrgently() const; |
137 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
139 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
138 void UpdateTactileFeedbackDensity(); |
140 void UpdateTactileFeedbackDensity(); |
|
141 void DoScrollingFeedback(); |
139 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
142 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
140 |
143 |
141 // Data |
144 // Data |
142 protected: |
145 protected: |
143 /** |
146 /** |
203 |
206 |
204 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
207 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
205 /** |
208 /** |
206 * Kinetic scrolling tactile feedback |
209 * Kinetic scrolling tactile feedback |
207 */ |
210 */ |
|
211 MTouchFeedback* iFeedback; // Not own |
208 TInt iLastTactileFeedbackPos; |
212 TInt iLastTactileFeedbackPos; |
209 TInt iTactileFeedbackDensity; |
213 TInt iTactileFeedbackDensity; |
|
214 TInt iLastPointerEventType; |
210 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
215 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK |
211 }; |
216 }; |
212 |
217 |
213 |
218 |
214 /** |
219 /** |