#pragma once #include "common.h" #include "T2Dialog.h" class AFX_EXT_CLASS 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]; };