s60uicodeexrotatecontrol.h

来自「symbian os c++ 自定义界面」· C头文件 代码 · 共 93 行

H
93
字号
/*
* ============================================================================
*  Name     : S60UICodeExRotateControl.h
*  Part of  : S60UICodeEx
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ============================================================================
*/

#ifndef S60UICODEEXROTATECONTROL_H
#define S60UICODEEXROTATECONTROL_H

// INCLUDE FILES
#include <coecntrl.h>

// CLASS DECLARATION
/**
* CS60UICodeExTextControl control class.
* 
*/
class CS60UICodeExRotateControl : public CCoeControl 						
    {
    public: // Constructors and destructor
       
	 	 /** 
		 * First phase of two-phased constructor
		 * 
		 * @return the created CS60UICodeExRotateControl object
		 */
		static CS60UICodeExRotateControl* NewL( const TRect& aRect, const CCoeControl* aParent );
		 
		 /**
         * Destructor.
         */
        virtual ~CS60UICodeExRotateControl();

    public: // Methods from base class
	    
	    /*
        * From CoeControl
        *
        */
        void SizeChanged();

	    /**
        * From CCoeControl
        *
		*/
        void Draw(const TRect& aRect) const;

	public: // New methods
	
		void ControlFocusGained( TBool aFocus );


	private:

		 /**
         * Second phase of constructor.
		 *
         */
        void ConstructL( const TRect& aRect, const CCoeControl* aParent );
	
	
    private: // Data
	
	    // Pointer to the CFbsBitmap object;
		CFbsBitmap*				iDisplayBitmap;
		
		// Pointer to the CFbsBitmap object;
		CFbsBitmap*				iDisplayMask;

        // Pointer to the CFbsBitmap object;
		CFbsBitmap*				iBgSquaresBitmap;
		
		// Pointer to the CFbsBitmap object;
		CFbsBitmap*				iBgSquaresBitmapMask;
	
	    // If ETrue, then this control has focus.
		TBool					iFocus;
						
    };
    
#endif

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?