basicdrawingcontainer.h

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

H
36
字号
#ifndef BASICDRAWINGCONTAINER_H
#define BASICDRAWINGCONTAINER_H

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

/**
 *
 * @class    CBasicDrawingContainer BasicDrawingContainer1.h 
 * @brief    This is a container class for the BasicDrawing example application.
 * Through its Draw function some horizontal lines are rendered on the screen. They 
 * have different colors and widths. The example illustrates some of the key core concepts
 * to understanding graphics on Series 60.
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 * 
 */
class CBasicDrawingContainer : public CCoeControl
{
public: // Construction and destruction
    static CBasicDrawingContainer* NewL(const TRect& aRect);
    static CBasicDrawingContainer* NewLC(const TRect& aRect);
    ~CBasicDrawingContainer();

private:    // Functions from CCoeControl        
    void Draw(const TRect& aRect) const;
    
private:    // Construction
    void ConstructL(const TRect& aRect);        
};

#endif    // BASICDRAWINGCONTAINER_H

// End of File

⌨️ 快捷键说明

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