eikalign.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : eikalign.h
00004 *  Part of     : S60 UI Framework / EikCoCtl
00005 *  Description : Class declaration for EIKON aligned 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 __EIKALIGN_H__
00020 #define __EIKALIGN_H__
00021 
00022 #include <coecntrl.h>
00023 #include <gulalign.h>
00024 #include <gulutil.h>
00025 #include <akncontrol.h>
00026 
00033 class CEikAlignedControl : public CAknControl
00034         {
00035 public:
00036 
00040         IMPORT_C CEikAlignedControl();
00041         
00045         IMPORT_C ~CEikAlignedControl();
00046         
00052         IMPORT_C void SetAllMarginsTo(TInt aValue);
00053         
00059         IMPORT_C void SetAlignment(TGulAlignmentValue aAlign);
00060         
00061 public: 
00078     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00079         
00080 protected:
00081 
00093         IMPORT_C void WriteInternalStateL(RWriteStream& aWriteStream) const;
00094         
00095 private: 
00097     IMPORT_C void* ExtensionInterface( TUid aInterface );
00098     
00099 public:
00101         TMargins8 iMargin;
00102         
00104         TGulAlignment iAlignment;
00105 
00106 private:
00107     TInt iSpare[2];
00108         };
00109 
00110 // __EIKALIGN_H__
00111 #endif

Copyright © Nokia Corporation 2001-2008
Back to top