summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemHScr.h
blob: 34fd5c9cc7914505bb16c2c169e6bdfe7936c6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "common.h"
#include "T2DlgItemScr.h"

class AFX_CLASS_EXPORT T2DlgItemHScr : public T2DlgItemScr {
public:
	T2DlgItemHScr(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;
};