#ifndef T2DLL_T2TREASUREPANE_H #define T2DLL_T2TREASUREPANE_H #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; }; #endif