blob: 7cdbd12a0a7ac6a4cb5528f9ab4b6566c96f4bb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef T2DLL_T2TREASUREPANE_H
#define T2DLL_T2TREASUREPANE_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2TreasurePane : public T2DlgItem {
public:
T2TreasurePane(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2TreasurePane();
virtual void SpendTime();
virtual void DrawSelf(CDC* pDC);
void SetAnimPics(T2TowerDoc* inDoc, int inID1, int inID2);
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
virtual int OnCreate(CREATESTRUCT* inCreateStruct);
T2BitImage *mImages[2];
int mCurrentImage;
DWORD mLastChangeAt;
};
#endif
|