equal
deleted
inserted
replaced
126 * @param aIsFieldChanged Indicates whether field was changed already |
126 * @param aIsFieldChanged Indicates whether field was changed already |
127 * @returns true if "modified" event should be posted. |
127 * @returns true if "modified" event should be posted. |
128 */ |
128 */ |
129 void UpdateFieldCounters(TBool aIsFieldNumeric, TBool aIsFieldChanged); |
129 void UpdateFieldCounters(TBool aIsFieldNumeric, TBool aIsFieldChanged); |
130 |
130 |
|
131 void UpdateTextColor(); |
|
132 |
131 // From CCoeControl |
133 // From CCoeControl |
132 public: |
134 public: |
133 TInt CountComponentControls() const; |
135 TInt CountComponentControls() const; |
134 CCoeControl* ComponentControl(TInt aIndex) const; |
136 CCoeControl* ComponentControl(TInt aIndex) const; |
135 void MakeVisible(TBool aVisible); |
137 void MakeVisible(TBool aVisible); |
159 void SetForegroundL(const MSwtColor* aColor); |
161 void SetForegroundL(const MSwtColor* aColor); |
160 TBool IsKeyUsed(TUint aKeyCode) const; |
162 TBool IsKeyUsed(TUint aKeyCode) const; |
161 void SetBounds(const TRect& aRect); |
163 void SetBounds(const TRect& aRect); |
162 void SetWidgetSize(const TSize& aSize); |
164 void SetWidgetSize(const TSize& aSize); |
163 TSwtPeer Dispose(); |
165 TSwtPeer Dispose(); |
|
166 TInt PressBackgroundPolicy() const; |
|
167 void HandleHighlightChange(); |
164 |
168 |
165 // From ASwtControlBase |
169 // From ASwtControlBase |
166 protected: |
170 protected: |
167 const MSwtFont& DefaultFont() const; |
171 const MSwtFont& DefaultFont() const; |
168 HBufC* MSKLabelL() const; |
172 HBufC* MSKLabelL() const; |
244 /** |
248 /** |
245 * User set colors. |
249 * User set colors. |
246 */ |
250 */ |
247 TBool iBgColorIsCustom; |
251 TBool iBgColorIsCustom; |
248 TBool iFgColorIsCustom; |
252 TBool iFgColorIsCustom; |
|
253 |
|
254 /** |
|
255 * Foreground color |
|
256 */ |
|
257 TRgb iForegroundColor; |
249 }; |
258 }; |
250 |
259 |
251 |
260 |
252 #endif // SWTDATEEDITOR_H |
261 #endif // SWTDATEEDITOR_H |