diff -r efd4f1afd43e -r d620048b4810 meetingrequest/mrgui/mrfieldbuildercommon/inc/cesmrfield.h --- a/meetingrequest/mrgui/mrfieldbuildercommon/inc/cesmrfield.h Mon Jun 21 15:20:54 2010 +0300 +++ b/meetingrequest/mrgui/mrfieldbuildercommon/inc/cesmrfield.h Thu Jul 15 18:19:25 2010 +0300 @@ -34,12 +34,12 @@ class MESMRListObserver; class MESMRCalEntry; -class CESMRBorderLayer; class CMRBackground; class MTouchFeedback; class MESMRFieldValidator; class CEikMenuPane; class MTouchFeedback; +class CMRRecordingGc; // Enumeration for border type enum TESMRFieldFocusType @@ -348,6 +348,17 @@ IMPORT_C virtual TBool SupportsLongTapFunctionalityL( const TPointerEvent &aPointerEvent ); + /** + * Moves field to and away from screen + * @param aVisible if ETrue, field is moved to screen + */ + IMPORT_C void MoveToScreen( TBool aVisible ); + + /** + * Records field drawing commands to custom graphics context + */ + IMPORT_C void RecordField(); + protected: /** @@ -423,6 +434,7 @@ IMPORT_C virtual TInt CountComponentControls() const; IMPORT_C virtual CCoeControl* ComponentControl( TInt aInd ) const; IMPORT_C virtual TSize MinimumSize(); + IMPORT_C void Draw( const TRect& aRect ) const; protected: // From base class CCoeControl @@ -464,11 +476,12 @@ private: void AquireTactileFeedback(); + void DrawControl( CCoeControl* aControl ) const; protected: // data /// Own: control which is surrounded by border CCoeControl* iExtControl; - /// Ref: Observer for notifying list component + /// Ref: Observer for notifying field container MESMRListObserver* iObserver; /// Ref: Id for this field. TESMREntryFieldId iFieldId; @@ -504,6 +517,8 @@ MESMRFieldValidator* iValidator; /// Own: lock status TBool iLocked; + /// Own: Cache for drawing commands + CMRRecordingGc* iRecordingGc; }; -#endif +#endif // CESMRFIELD_H