javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swttextbase.h
branchRCL_3
changeset 60 6c158198356e
parent 34 71c436fe3ce0
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   150     /**
   150     /**
   151      * Adds some reasonable spacing to facilitate finger touch usability.
   151      * Adds some reasonable spacing to facilitate finger touch usability.
   152      */
   152      */
   153     void FixPadding();
   153     void FixPadding();
   154 
   154 
       
   155     void UpdateTextColor();
       
   156 
   155 #if defined( RD_SCALABLE_UI_V2)
   157 #if defined( RD_SCALABLE_UI_V2)
   156 // From MCoeCaptionRetrieverForFep
   158 // From MCoeCaptionRetrieverForFep
   157 private:
   159 private:
   158     virtual void GetCaptionForFep(TDes& aCaption) const;
   160     virtual void GetCaptionForFep(TDes& aCaption) const;
   159     virtual void MCoeCaptionRetrieverForFep_Reserved_1();
   161     virtual void MCoeCaptionRetrieverForFep_Reserved_1();
   180 #endif //RD_SCALABLE_UI_V2
   182 #endif //RD_SCALABLE_UI_V2
   181 
   183 
   182 // From MSwtControl
   184 // From MSwtControl
   183 public:
   185 public:
   184     TBool SetSwtFocus(TInt aReason = KSwtFocusByApi);
   186     TBool SetSwtFocus(TInt aReason = KSwtFocusByApi);
   185     TInt FocusBackgroundPolicy() const;
       
   186     TRect ClientRect() const;
   187     TRect ClientRect() const;
   187     CCoeControl& CoeControl();
   188     CCoeControl& CoeControl();
   188     const CCoeControl& CoeControl() const;
   189     const CCoeControl& CoeControl() const;
   189     void SetFontL(const MSwtFont* aFont);
   190     void SetFontL(const MSwtFont* aFont);
   190     TSize ComputeSizeL(TInt aWHint, TInt aHHint);
   191     TSize ComputeSizeL(TInt aWHint, TInt aHHint);
   193     void SetBackgroundL(const MSwtColor* aColor);
   194     void SetBackgroundL(const MSwtColor* aColor);
   194     void SetForegroundL(const MSwtColor* aColor);
   195     void SetForegroundL(const MSwtColor* aColor);
   195     void SetBounds(const TRect& aRect);
   196     void SetBounds(const TRect& aRect);
   196     void SetWidgetSize(const TSize& aSize);
   197     void SetWidgetSize(const TSize& aSize);
   197     TSwtPeer Dispose();
   198     TSwtPeer Dispose();
       
   199     TInt PressBackgroundPolicy() const;
       
   200     void HandleHighlightChange();
   198 
   201 
   199 // From ASwtControlBase
   202 // From ASwtControlBase
   200 protected:
   203 protected:
   201     const MSwtFont& DefaultFont() const;
   204     const MSwtFont& DefaultFont() const;
   202 
   205