summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemHScr.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2DlgItemHScr.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemHScr.h10
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() {}
};