eikmover.h

Go to the documentation of this file.
00001 // EIKMOVER.H
00002 //
00003 // Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
00004 //
00005 
00006 #if !defined(__EIKMOVER_H__)
00007 #define __EIKMOVER_H__
00008 
00009 #include <AknControl.h>
00010 
00011 //
00012 // Forward declarations
00013 //
00014 
00015 class TResourceReader;
00016 
00021 class CEikMover : public CAknControl
00022         {
00023 public: // class specific
00026         IMPORT_C ~CEikMover();
00029         IMPORT_C CEikMover();
00033         IMPORT_C void SetText(HBufC* aText);
00037         IMPORT_C void SetTextL(const TDesC& aText);
00040         IMPORT_C void SetActive(TBool aActive);
00043         IMPORT_C TBool Active() const;
00046         IMPORT_C void SetFont(const CFont* aFont);
00049         IMPORT_C void SetTitleLeftMargin(TInt aLeftMargin);
00050 public: // from CCoeControl
00054         IMPORT_C virtual void ConstructFromResourceL(TResourceReader& aReader);
00058         IMPORT_C virtual TSize MinimumSize(); 
00062         IMPORT_C virtual void SetContainerWindowL(const CCoeControl& aContainer);
00066         IMPORT_C virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const; // not available before Release 005u
00070         IMPORT_C virtual void HandleResourceChange(TInt aType);                 // not available before Release 005u
00074         IMPORT_C virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00075 protected: //from CCoeControl
00076         IMPORT_C virtual void WriteInternalStateL(RWriteStream& aWriteStream) const;
00077 private: // from CCoeControl
00078         IMPORT_C virtual void Draw(const TRect& aRect) const;
00079 private:
00080         IMPORT_C virtual void Reserved_2();
00081 private:
00085     IMPORT_C void* ExtensionInterface( TUid aInterface );
00086 private:
00087         HBufC* iText;
00088         const CFont* iFont;
00089         TPoint iPointerDownPos;
00090         TInt iMoverFlags;
00091         TInt iTitleLeftMargin;
00092         CCoeControl* iParentControl;
00093     TInt iSpare;
00094         };
00095 
00096 #endif

Copyright © Nokia Corporation 2001-2008
Back to top