📄 animationappview.h
字号:
/*
============================================================================
Name : AnimationAppView.h
Author :
Copyright : Your copyright notice
Description : Declares view class for application.
============================================================================
*/
#ifndef __ANIMATIONAPPVIEW_h__
#define __ANIMATIONAPPVIEW_h__
// INCLUDES
#include <coecntrl.h>
#include "controlbase.h"
#include "Animationcontrol.h"
// CLASS DECLARATION
class CAnimationAppView : public COggCanvas
{
public: // New methods
static CAnimationAppView* NewL( const TRect& aRect );
static CAnimationAppView* NewLC( const TRect& aRect );
virtual ~CAnimationAppView();
private: // Constructors
void ConstructL(const TRect& aRect);
CAnimationAppView();
public:
void Invalidate();
void ClearCanvases();
static TInt CallBack(TAny* aPtr);
void HandleCallBack();
void StopCallBack();
void RestartCallBack();
COggAnimation* iAnimation;
CPeriodic* iTimer;
TCallBack* iCallBack;
};
#endif // __ANIMATIONAPPVIEW_h__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -