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