summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TreasureDialog.h
blob: 6fa95c293e6ab8b6453bd3b0968b2f9a4ce635c0 (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
#ifndef T2DLL_T2TREASUREDIALOG_H
#define T2DLL_T2TREASUREDIALOG_H
#include "../common.h"
#include "T2Dialog.h"

class AFX_CLASS_EXPORT T2TreasureDialog : public T2Dialog {
public:
	T2TreasureDialog();
	virtual ~T2TreasureDialog();
	void SetTreasureInfo(T2TowerDoc* inTowerDoc, T2TreasureStatus* inStatus);
	static void ShowTreasureDialog(T2TowerDoc* inTowerDoc, T2TreasureStatus* inStatus);

protected:
	virtual void OnT2Create();
	virtual void CreateDlgItem(CTokenizer& inTokenizer, T2DialogDef& inDef);
	virtual void OnT2Destroy();
	virtual void ShowSelf();
	virtual void HideSelf();

	T2TreasurePane *mTreasurePane;
	T2DlgItem *mTextPane;
	char mText[256];
};
#endif