shapeslinechartcontainer.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 47 行

H
47
字号
#ifndef SHAPESLINECHARTCONTAINER_H
#define SHAPESLINECHARTCONTAINER_H

// INCLUDES

// Class includes
#include <coecntrl.h>	// CCoeControl

// FORWARD DECLARATIONS
class CShapesModel;       

// CLASS DECLARATION

/**
 *
 * @class	CShapesLineChartContainer ShapesLineChartContainer.h 
 * @brief	The control which a line chart based on data in the ShapesModel
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version	1.0 
 */
class CShapesLineChartContainer : public CCoeControl
	{
public:	// Construction and destruction
	static CShapesLineChartContainer* NewL(CShapesModel& aShapesModel, const TRect& aRect);
	static CShapesLineChartContainer* NewLC(CShapesModel& aShapesModel, const TRect& aRect);
	~CShapesLineChartContainer();

private:	// From CCoeControl
	void Draw(const TRect& aRect) const;
	
private:	// Construction.
	CShapesLineChartContainer(CShapesModel& aShapesModel);
	void ConstructL(const TRect& aRect);

private:	// Member functions
	void DrawAxis(const TRect& aRect, TRect& aAxisRect) const;
	void DrawLineChartL(TRect& aAxisRect) const;	

private:	// Member data
	CShapesModel& iShapesModel;
	};

#endif	// SHAPESLINECHARTCONTAINER_H

// End of File

⌨️ 快捷键说明

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