blob: f9955ad7a1a466404463fd55a8d148438028d086 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef T2DLL_T2DLGITEMBUTTONBASE_H
#define T2DLL_T2DLGITEMBUTTONBASE_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemButtonBase : public T2DlgItem {
public:
T2DlgItemButtonBase(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
protected:
virtual void OnT2DlgItemLButtonDown(UINT, CPoint);
virtual void OnT2DlgItemLButtonUp(UINT, CPoint);
virtual void OnT2DlgItemMouseMove(UINT, CPoint);
virtual void DrawButtonBase(CDC*, const RECT&, int);
BOOL mIsClicked;
};
#endif
|