diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2DlgItemHScr.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to 'src/T2DLL/T2DlgItemHScr.h')
-rw-r--r-- | src/T2DLL/T2DlgItemHScr.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/T2DLL/T2DlgItemHScr.h b/src/T2DLL/T2DlgItemHScr.h index 010cf80..67f56a4 100644 --- a/src/T2DLL/T2DlgItemHScr.h +++ b/src/T2DLL/T2DlgItemHScr.h @@ -1,17 +1,15 @@ #pragma once #include "common.h" +#include "T2DlgItemScr.h" -class T2DlgItemHScr { +class AFX_EXT_CLASS T2DlgItemHScr : public T2DlgItemScr { public: - T2DlgItemHScr(T2TowerDoc*, T2ImageObj*, CPalette*); + T2DlgItemHScr(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); protected: - virtual int OnT2DlgItemEraseBkgnd(CDC*); + 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; - -public: - virtual ~T2DlgItemHScr() {} }; |