#ifndef T2DLL_T2DLGITEMPEOPLEVIEW_H #define T2DLL_T2DLGITEMPEOPLEVIEW_H #include "../common.h" #include "T2DlgItem.h" class AFX_CLASS_EXPORT T2DlgItemPeopleView : public T2DlgItem { public: T2DlgItemPeopleView(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2DlgItemPeopleView(); virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID); void SetPeople(T2People* inPeople); void StartAdd(); void FinishAdd(); void AddOne(T2People* inPeople); protected: virtual int OnT2DlgItemCreate(CREATESTRUCT* inCreateStruct); virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); virtual void OnT2DlgItemLButtonDown(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemLButtonUp(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemRButtonDown(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemRButtonUp(UINT inFlags, CPoint inPt); virtual void OnT2DlgItemMouseMove(UINT inFlags, CPoint inPt); virtual BOOL OnCommand(WPARAM inWParam, LPARAM inLParam); void SetMouseCursor(UINT inCursor); int mFullHeight; int mFullWidth; LArray *mArray; T2BitImage *mImage; int _98; CWnd *mParent; }; #endif