⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientanimationcontainer.h

📁 series60 应用程序开发的源代码 series60 应用程序开发的源代码
💻 H
字号:
#ifndef __CLIENTANIMATIONCONTAINER_H__
#define __CLIENTANIMATIONCONTAINER_H__

// INCLUDES

#include <coecntrl.h>    // CCoeControl

// FORWARD DECLARATIONS
class CDoubleBufferedArea;
class CExplosionArray;
class CExplosionCreator;

// CLASS DECLARATION

/**
*
* @class    CClientAnimationContainer ClientAnimationContainer.h 
* @brief    This is a container class which performs the animating
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CClientAnimationContainer : public CCoeControl
{
public: // constructors and destructor

    static CClientAnimationContainer* NewL(const TRect& aRect);
    static CClientAnimationContainer* NewLC(const TRect& aRect);
    ~CClientAnimationContainer();
    void StartAnimationL();
    void StopAnimation();

private: //timer functions
    static TInt AnimationCallback(TAny* aPtr);
    void DrawFrame();
    void DrawToDoubleBufferedArea();

private: // constructor

    void ConstructL(const TRect& aRect);

private: // from CoeControl    

private: // data
    CDoubleBufferedArea* iDoubleBufferedArea;
    CExplosionArray* iExplosions;
    CExplosionCreator* iExplosionCreator;
    CPeriodic* iTimer;
};

#endif    // __CLIENTANIMATIONCONTAINER_H__

// End of File

⌨️ 快捷键说明

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