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

class AFX_CLASS_EXPORT T2DlgItemVScr : public T2DlgItemScr {
public:
	T2DlgItemVScr(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
protected:
	virtual BOOL OnT2DlgItemEraseBkgnd(CDC*);
	virtual int ScrollBarHittest(CPoint) const;
	virtual void GetUpButtonRect(const CRect&, CRect&) const;
	virtual void GetDnButtonRect(const CRect&, CRect&) const;
	virtual int PositionToValue(const CPoint&) const;
	virtual int PositionToValue(const CRect&) const;
};
#endif