summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TreasurePane.h
blob: 1916e97a1e19894ba2fad13e6e6504ef19378e6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#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;
};