From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2DlgItemScr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2DlgItemScr.h') diff --git a/src/T2DLL/T2DlgItemScr.h b/src/T2DLL/T2DlgItemScr.h index 55698bb..0337b46 100644 --- a/src/T2DLL/T2DlgItemScr.h +++ b/src/T2DLL/T2DlgItemScr.h @@ -2,7 +2,7 @@ #include "common.h" #include "T2DlgItem.h" -class DLL_EXPORT T2DlgItemScr : public T2DlgItem { +class AFX_EXT_CLASS T2DlgItemScr : public T2DlgItem { public: T2DlgItemScr(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette); virtual void SetValue(int); @@ -13,7 +13,7 @@ public: enum { Area_Up = 1, Area_PageUp = 2, - Area_SetAbsolute = 3, + Area_Thumb = 3, Area_PageDown = 4, Area_Down = 5 }; @@ -30,7 +30,7 @@ protected: virtual int PositionToValue(const CPoint&) const = 0; virtual int PositionToValue(const CRect&) const = 0; - void CalcScrollBarThumb(int*, int*) const; + void CalcScrollBarThumb(int* thumbPosition, int* thumbSize) const; void ScrollBarAction(int, int); BOOL IsScrollable() const; -- cgit v1.2.3