blob: d3ce9b92aa823ec6e35a4b88cf485b8c517cdd08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#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
|