blob: c541b7047a68da727ec51201619ed963b4a05725 (
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
|
#pragma once
#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;
};
|