equal
deleted
inserted
replaced
16 |
16 |
17 #include <coecntrl.h> |
17 #include <coecntrl.h> |
18 #include "swtscrollablebase.h" |
18 #include "swtscrollablebase.h" |
19 #include "swteditindicator.h" |
19 #include "swteditindicator.h" |
20 |
20 |
21 #if defined( RD_SCALABLE_UI_V2) |
21 #ifdef RD_SCALABLE_UI_V2 |
22 #include <fepbase.h> |
22 #include <fepbase.h> |
23 #endif //RD_SCALABLE_UI_V2 |
23 #endif //RD_SCALABLE_UI_V2 |
24 |
24 |
25 class CEikEdwin; |
25 class CEikEdwin; |
26 |
26 |
30 * @lib eswt |
30 * @lib eswt |
31 */ |
31 */ |
32 NONSHARABLE_CLASS(CSwtTextBase) |
32 NONSHARABLE_CLASS(CSwtTextBase) |
33 : public CAknControl |
33 : public CAknControl |
34 , public ASwtScrollableBase |
34 , public ASwtScrollableBase |
35 #if defined( RD_SCALABLE_UI_V2) |
35 #ifdef RD_SCALABLE_UI_V2 |
36 , public MCoeCaptionRetrieverForFep |
36 , public MCoeCaptionRetrieverForFep |
37 #endif //RD_SCALABLE_UI_V2 |
37 #endif //RD_SCALABLE_UI_V2 |
38 { |
38 { |
39 protected: |
39 protected: |
40 /** |
40 /** |
190 TSize ComputeSizeL(TInt aWHint, TInt aHHint); |
190 TSize ComputeSizeL(TInt aWHint, TInt aHHint); |
191 TBool IsKeyUsed(TUint aKeyCode) const; |
191 TBool IsKeyUsed(TUint aKeyCode) const; |
192 TBool CanDrawOutsideRect() const; |
192 TBool CanDrawOutsideRect() const; |
193 void SetBackgroundL(const MSwtColor* aColor); |
193 void SetBackgroundL(const MSwtColor* aColor); |
194 void SetForegroundL(const MSwtColor* aColor); |
194 void SetForegroundL(const MSwtColor* aColor); |
|
195 void SetBounds(const TRect& aRect); |
|
196 void SetWidgetSize(const TSize& aSize); |
|
197 TSwtPeer Dispose(); |
195 |
198 |
196 // From ASwtControlBase |
199 // From ASwtControlBase |
197 protected: |
200 protected: |
198 const MSwtFont& DefaultFont() const; |
201 const MSwtFont& DefaultFont() const; |
199 |
202 |