javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtbutton.h
branchRCL_3
changeset 60 6c158198356e
parent 24 0fd27995241b
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   148      */
   148      */
   149     TBool IsFeedbackOnTouchReleaseNeeded(
   149     TBool IsFeedbackOnTouchReleaseNeeded(
   150         const TPointerEvent& aPointerEvent) const;
   150         const TPointerEvent& aPointerEvent) const;
   151 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   151 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   152 
   152 
       
   153     void UpdateTextColor();
       
   154 
   153 // From CCoeControl
   155 // From CCoeControl
   154 public:
   156 public:
   155     CCoeControl* ComponentControl(TInt aIndex) const;
   157     CCoeControl* ComponentControl(TInt aIndex) const;
   156     TInt CountComponentControls() const;
   158     TInt CountComponentControls() const;
   157     void MakeVisible(TBool aVisible);
   159     void MakeVisible(TBool aVisible);
   183 #endif // RD_SCALABLE_UI_V2
   185 #endif // RD_SCALABLE_UI_V2
   184     TBool IsKeyUsed(TUint aKeyCode) const;
   186     TBool IsKeyUsed(TUint aKeyCode) const;
   185     TSize ComputeSizeL(TInt aWHint, TInt aHHint);
   187     TSize ComputeSizeL(TInt aWHint, TInt aHHint);
   186     MSwtButton* ButtonInterface();
   188     MSwtButton* ButtonInterface();
   187     TInt FocusBackgroundPolicy() const;
   189     TInt FocusBackgroundPolicy() const;
       
   190     TInt PressBackgroundPolicy() const;
       
   191     void HandleHighlightChange();
   188 
   192 
   189 // From MSwtButton
   193 // From MSwtButton
   190 public:
   194 public:
   191     MSwtControl* Control();
   195     MSwtControl* Control();
   192     TBool GetSelection() const;
   196     TBool GetSelection() const;
   240     CSwtFont* iDupFont;
   244     CSwtFont* iDupFont;
   241 
   245 
   242 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   246 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   243     MTouchFeedback *iFeedback;
   247     MTouchFeedback *iFeedback;
   244 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   248 #endif //RD_JAVA_ADVANCED_TACTILE_FEEDBACK
       
   249 
       
   250     const MSwtColor* iCustomFg;
   245 };
   251 };
   246 
   252 
   247 #endif // SWTBUTTON_H
   253 #endif // SWTBUTTON_H