clientanimationcontainer.h
来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 55 行
H
55 行
#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 + =
减小字号Ctrl + -
显示快捷键?