diff options
Diffstat (limited to 'src/T2DLL/T2DlgItemScr.h')
-rw-r--r-- | src/T2DLL/T2DlgItemScr.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |