equal
deleted
inserted
replaced
73 // Forward declaration of now removed (Series 60 2.0) custom drawer class for CEikEdwin |
73 // Forward declaration of now removed (Series 60 2.0) custom drawer class for CEikEdwin |
74 class CEikAvkonCustomDraw; |
74 class CEikAvkonCustomDraw; |
75 |
75 |
76 // For construction of Rich Text - based custom formatters |
76 // For construction of Rich Text - based custom formatters |
77 class CRichText; |
77 class CRichText; |
|
78 class CAknPhysics; |
78 |
79 |
79 enum TReplaceOption |
80 enum TReplaceOption |
80 { |
81 { |
81 ENoReplace, |
82 ENoReplace, |
82 EReplaceOnce, |
83 EReplaceOnce, |
329 TInt ClearDirection() const; |
330 TInt ClearDirection() const; |
330 |
331 |
331 /** |
332 /** |
332 * Enables kinetic scrolling. |
333 * Enables kinetic scrolling. |
333 */ |
334 */ |
334 void EnableKineticScrollingL(); |
335 void EnableKineticScrollingL( CAknPhysics* aPhysics = NULL ); |
335 |
336 |
336 /** |
337 /** |
337 * Enables physics. |
338 * Enables physics. |
338 */ |
339 */ |
339 void EnablePhysicsL(); |
340 void EnablePhysicsL( CAknPhysics* aPhysics = NULL ); |
340 |
341 |
341 /** |
342 /** |
342 * Initializes physics. |
343 * Initializes physics. |
343 */ |
344 */ |
344 void InitPhysicsL(); |
345 void InitPhysicsL(); |
2338 * |
2339 * |
2339 * @since S60 v5.2 |
2340 * @since S60 v5.2 |
2340 * @param aEnable ETrue if kinetic scrolling should be enabled. |
2341 * @param aEnable ETrue if kinetic scrolling should be enabled. |
2341 */ |
2342 */ |
2342 IMPORT_C void EnableKineticScrollingL( TBool aEnable ); |
2343 IMPORT_C void EnableKineticScrollingL( TBool aEnable ); |
|
2344 |
|
2345 /** |
|
2346 * Enables kinetic scrolling in editor with external CAknPhysics instance. |
|
2347 * |
|
2348 * Note that when kinetic scrolling is enabled, it is |
|
2349 * no longer possible to disable it with this function. |
|
2350 * |
|
2351 * @since S60 v5.2 |
|
2352 * @param aPhysics Pointer to external CAknPhysics instance. |
|
2353 */ |
|
2354 IMPORT_C void EnableKineticScrollingL( CAknPhysics* aPhysics ); |
2343 |
2355 |
2344 public: |
2356 public: |
2345 void EnableSmileySupportL( TBool aEnableSmiley ); |
2357 void EnableSmileySupportL( TBool aEnableSmiley ); |
2346 TBool IsSmileyEnabled() const; |
2358 TBool IsSmileyEnabled() const; |
2347 void DrawSmileyInTextL( RRegion& rgn, const TRect& aDrawRect, |
2359 void DrawSmileyInTextL( RRegion& rgn, const TRect& aDrawRect, |