eikspace.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : eikspace.h
00004 *  Part of     : S60 UI Framework / EikCtl
00005 *  Description : Class declaration for EIKON spacer control.
00006 *  Version     : %version: 1 %
00007 *
00008 *  Copyright © 2002-2006 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 */
00018 
00019 #ifndef __EIKSPACE_H__
00020 #define __EIKSPACE_H__
00021 
00022 #include <akncontrol.h>
00023 #include <gdi.h>
00024 
00025 // Forward declarations
00026 class TResourceReader;
00027 
00040 class CEikSpacer : public CAknControl
00041     {
00042 public:
00043 
00048     IMPORT_C CEikSpacer();
00049     
00057         IMPORT_C CEikSpacer(TInt aWidth,TInt aHeight,TRgb aColor);
00058         
00062     IMPORT_C ~CEikSpacer();
00063     
00069         IMPORT_C void SetWidth(TInt aWidth);
00070         
00076         IMPORT_C void SetHeight(TInt aHeight);
00077         
00083         IMPORT_C void SetColor(TRgb aColor);
00084         
00095         IMPORT_C void SetClear(TBool aClear);
00096         
00097 public: // From @c CCoeControl.
00098 
00113     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00114     
00115 private: 
00117     void ConstructFromResourceL(TResourceReader& aReader);
00118 
00119         void Draw(const TRect& aRect) const;
00120         
00121 private: 
00123     IMPORT_C void* ExtensionInterface( TUid aInterface );
00124     
00125 private:
00126         TRgb iColor;
00127         TBool iClear;
00128     };
00129 
00130 // __EIKSPACE_H__
00131 #endif

Copyright © Nokia Corporation 2001-2008
Back to top