diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 20:11:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 20:11:37 +0300 |
commit | 51720b0288dcb1bed4c34841534dc1ef1f9958c2 (patch) | |
tree | 39ff9d11053f4d2afe4412a7fea863ba414186a6 /include/m_gui.h | |
parent | e0d1e5f9f274af3cf1e83ef05e5838d897a322a6 (diff) |
CSplitter class
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index b1b30af2ae..88aa96ecd3 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -564,6 +564,9 @@ public: CCallback<CCtrlButton> OnClick;
};
+/////////////////////////////////////////////////////////////////////////////////////////
+// CCtrlMButton
+
class MIR_CORE_EXPORT CCtrlMButton : public CCtrlButton
{
typedef CCtrlButton CSuper;
@@ -583,6 +586,27 @@ protected: const char* m_toolTip;
};
+/////////////////////////////////////////////////////////////////////////////////////////
+// CSplitter
+
+class MIR_CORE_EXPORT CSplitter : public CCtrlBase
+{
+ typedef CCtrlBase CSuper;
+
+public:
+ CSplitter(CDlgBase *dlg, int ctrlId);
+
+ __forceinline int GetPos() const { return m_iPosition; }
+
+protected:
+ virtual LRESULT CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam) override;
+
+ int m_iPosition;
+};
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// CCtrlHyperlink
+
class MIR_CORE_EXPORT CCtrlHyperlink : public CCtrlBase
{
typedef CCtrlBase CSuper;
|