summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemScr.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/T2DlgItemScr.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemScr.h6
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;