blob: edf1aada4a5fcf2f793ed99164af4a212f21790c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#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;
};
|