summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemICheck.h
blob: f75cf0d8c185476f666c5e99f8487750abbd43fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef T2DLL_T2DLGITEMICHECK_H
#define T2DLL_T2DLGITEMICHECK_H
#include "../common.h"
#include "T2DlgItem.h"

class AFX_CLASS_EXPORT T2DlgItemICheck : public T2DlgItem {
public:
	T2DlgItemICheck(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
	virtual BOOL Create(const char* windowName, DWORD style, const RECT& inRect, CWnd* parentWnd, UINT nId);
	virtual void SetValue(int inValue);
protected:
	virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
	virtual void OnT2DlgItemLButtonDown(UINT, CPoint);
	virtual void OnT2DlgItemLButtonUp(UINT, CPoint);
	virtual void OnT2DlgItemMouseMove(UINT, CPoint);
};
#endif