equal
deleted
inserted
replaced
26 #include <AknDef.h> |
26 #include <AknDef.h> |
27 //<cmail> |
27 //<cmail> |
28 #include <eikedwob.h> |
28 #include <eikedwob.h> |
29 //</cmail> |
29 //</cmail> |
30 #include "ncscontrol.h" |
30 #include "ncscontrol.h" |
|
31 |
|
32 class CAknPhysics; |
31 |
33 |
32 //<cmail> Temporary hardcoded layout values |
34 //<cmail> Temporary hardcoded layout values |
33 //Horizontal values |
35 //Horizontal values |
34 const TInt KButtonXa = 5; |
36 const TInt KButtonXa = 5; |
35 const TInt KButtonXb = 80; |
37 const TInt KButtonXb = 80; |
212 |
214 |
213 // <cmail> Platform layout change |
215 // <cmail> Platform layout change |
214 TInt LayoutLineCount() const; |
216 TInt LayoutLineCount() const; |
215 // </cmail> Platform layout change |
217 // </cmail> Platform layout change |
216 |
218 |
|
219 void EnableKineticScrollingL( CAknPhysics* aPhysics ); |
|
220 |
217 //<cmail> |
221 //<cmail> |
218 private: |
222 private: |
219 |
223 |
220 void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType ); |
224 void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType ); |
221 //</cmail> |
225 //</cmail> |
281 TRgb iBgColor; |
285 TRgb iBgColor; |
282 |
286 |
283 // for keeping buttons in view while scrolling |
287 // for keeping buttons in view while scrolling |
284 TPoint iOriginalFieldPos; |
288 TPoint iOriginalFieldPos; |
285 TPoint iOriginalButtonPos; |
289 TPoint iOriginalButtonPos; |
|
290 |
|
291 // panning related |
|
292 CAknPhysics* iPhysics; |
|
293 TBool iIsDraggingStarted; |
|
294 TPoint iStartPosition; |
286 }; |
295 }; |
287 |
296 |
288 #endif // CNCSADDRESSINPUTFIELD_H |
297 #endif // CNCSADDRESSINPUTFIELD_H |