#ifndef T2DLL_T2FLOORNUMBERTABLE_H #define T2DLL_T2FLOORNUMBERTABLE_H #include "../common.h" #include "T2DlgItemImageTable.h" struct StflNotification { int floorNumber; T2FloorNumberTable *theTable; }; class AFX_CLASS_EXPORT T2FloorNumberTable : public T2DlgItemImageTable { public: T2FloorNumberTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2FloorNumberTable(); virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID); void SetMover(T2Mover* inMover); void SetMoverModuleTable(T2MoverModuleTable* inTable); void ClickCell(const TableCellT& inCell, POINT inPt); void RefreshCell(int inFloor); protected: virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected); virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); virtual void OnT2DlgItemLButtonDown(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemLButtonUp(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemMouseMove(UINT inFlags, CPoint inPt); int GetVScrValue(); RECT mRect; int _10C; COLORREF _110; T2Mover *mMover; T2MoverModuleTable *mMoverModuleTable; }; #endif