#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