diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-14 19:47:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-14 19:47:48 +0000 |
commit | c36bbbff769462948278fddcaa4713a1ab21361d (patch) | |
tree | 18731ab2685e72f0e72487308bec578debab7911 /include | |
parent | 3db0313f338d25593eeda9d60dd7b3c2f15394eb (diff) |
patch for UI Utils:
- wrapper for a spin control;
- CCtrlEdit::SetMaxLength
git-svn-id: http://svn.miranda-ng.org/main/trunk@17298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_gui.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index bea30ce302..ffc80b1bfd 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -697,6 +697,21 @@ public: virtual void OnApply();
virtual void OnReset();
+
+ void SetMaxLength(unsigned int len);
+};
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// CCtrlSpin
+
+class MIR_CORE_EXPORT CCtrlSpin : public CCtrlBase
+{
+ typedef CCtrlData CSuper;
+
+public:
+ CCtrlSpin(CDlgBase *dlg, int ctrlId);
+
+ void SetRange(short min, short max);
};
/////////////////////////////////////////////////////////////////////////////////////////
|