colorcontainer.h

来自「symbian有关文件操作的一个很好的例子」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef __ColorCONTAINER_H__
#define __ColorCONTAINER_H__

// INCLUDES
#include <aknview.h>

class CEikLabel;
class CEikEdwin;
class CAknNumericSecretEditor;
class CColorContainer : public CCoeControl
{
public: // Constructors and destructor
 	CColorContainer();	
	virtual ~CColorContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;
public:
	void GetEditText(TDes& aDes);
private:
	CEikLabel* m_pLabel;
	CEikLabel* m_pLabel2;

	CEikEdwin* m_pEdwin;
	CEikEdwin* m_pEdwin2;
	CAknNumericSecretEditor* m_pEdScrect;
	TInt m_nDrawEditRectFlag;
};

#endif      // __ColorCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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