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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 364a255fe2..ba3590b70d 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -887,18 +887,18 @@ class MIR_CORE_EXPORT CCtrlSpin : public CCtrlData
{
typedef CCtrlData CSuper;
- uint16_t m_wMin, m_wMax, m_wCurr;
+ int16_t m_wMin, m_wMax, m_wCurr;
BOOL OnNotify(int, NMHDR*) override;
public:
- CCtrlSpin(CDlgBase *dlg, int ctrlId, uint16_t max = 100, uint16_t min = 0);
+ CCtrlSpin(CDlgBase *dlg, int ctrlId, int16_t max = 100, int16_t min = 0);
bool OnApply() override;
void OnReset() override;
- uint16_t GetPosition();
- void SetPosition(uint16_t pos);
+ int16_t GetPosition();
+ void SetPosition(int16_t pos);
};
/////////////////////////////////////////////////////////////////////////////////////////