summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index d02df66fbf..9230708e8e 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -876,17 +876,18 @@ class MIR_CORE_EXPORT CCtrlSpin : public CCtrlData
{
typedef CCtrlData CSuper;
+ WORD m_wMin, m_wMax;
+
BOOL OnNotify(int, NMHDR*) override;
public:
- CCtrlSpin(CDlgBase *dlg, int ctrlId);
+ CCtrlSpin(CDlgBase *dlg, int ctrlId, WORD max = 100, WORD min = 0);
bool OnApply() override;
void OnReset() override;
WORD GetPosition();
void SetPosition(WORD pos);
- void SetRange(WORD max, WORD min = 0);
};
/////////////////////////////////////////////////////////////////////////////////////////