statuspanecontainer1.h

来自「状态栏示例」· C头文件 代码 · 共 50 行

H
50
字号
#ifndef __STATUSPANE_CONTAINER1_H__
#define __STATUSPANE_CONTAINER1_H__

// INCLUDES
#include <coecntrl.h>	// CCoeControl

// FORWARD DECLARATIONS
class CEikLabel;

// CLASS DECLARATION

/**
*
* @class	CStatusPaneContainer1 StatusPaneContainer1.h
* @brief	This is a container class for the StatusPane example based on the
* Series 60 view switching architecture. It allows the user to change
* the visibility of the status pane.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/
class CStatusPaneContainer1 : public CCoeControl
	{
public: // constructors and destructor

	static CStatusPaneContainer1* NewL(const TRect& aRect);
	static CStatusPaneContainer1* NewLC(const TRect& aRect);
	~CStatusPaneContainer1();

private: // constructor

	void ConstructL(const TRect& aRect);

private: // from CoeControl

	TInt CountComponentControls() const;
	CCoeControl* ComponentControl(TInt aIndex) const;
	void Draw(const TRect& aRect) const;
	void SizeChanged();

private: // data

	CEikLabel* iLabel;
	};

#endif	// __STATUSPANE_CONTAINER1_H__

// End of File

⌨️ 快捷键说明

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