blob: ee394f40663dd49057d1456eae71ac9e4ca3c5ae (
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
|
#ifndef T2DLL_T2DLGITEMALLPURPOSE_H
#define T2DLL_T2DLGITEMALLPURPOSE_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemAllPurpose : public T2DlgItem {
public:
T2DlgItemAllPurpose(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemAllPurpose();
CPoint GetUpPoint();
CPoint GetDownPoint();
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC*);
virtual void OnT2DlgItemLButtonDown(UINT, CPoint);
virtual void OnT2DlgItemLButtonUp(UINT, CPoint);
virtual void OnT2DlgItemRButtonDown(UINT, CPoint);
virtual void OnT2DlgItemRButtonUp(UINT, CPoint);
CPoint *mDownPoint;
CPoint *mUpPoint;
int mButton;
};
#endif
|