shapespiechartcontainer.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 46 行

H
46
字号
#ifndef SHAPESPIECHARTCONTAINER_H
#define SHAPESPIECHARTCONTAINER_H

// INCLUDES

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

// FORWARD DECLARATIONS
class CShapesModel;       

// CLASS DECLARATION

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

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

private:    // Construction.
    CShapesPieChartContainer(CShapesModel& aShapesModel);
    void ConstructL(const TRect& aRect);
    
private:    // Member functions
    void DrawPie() const;
    
private:    // Member data
    CShapesModel& iShapesModel;
};

#endif    // SHAPESPIECHARTCONTAINER_H

// End of File

⌨️ 快捷键说明

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