blob: 8c15f28762fbc6cd8c7325dadbcf985ea3ac12ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef T2DLL_T2DLGITEMANIMATION_H
#define T2DLL_T2DLGITEMANIMATION_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemAnimation : public T2DlgItem {
public:
T2DlgItemAnimation(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemAnimation();
void SetAnimation(HINSTANCE inModule, int inResID, int unk);
void SetAnimationParam(int inDelay, int inStartFrame);
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC*);
virtual int OnT2DlgItemCreate(CREATESTRUCT*);
virtual void OnT2Close();
virtual void OnT2Timer(UINT);
T2BitImage *mBitImage;
T2ImageObj *mImageObj;
int mCurrentFrame;
int mStartFrame;
int mDelay;
BOOL mTimerCreated;
};
#endif
|