From 51720b0288dcb1bed4c34841534dc1ef1f9958c2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Mar 2017 20:11:27 +0300 Subject: CSplitter class --- include/m_gui.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'include/m_gui.h') 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 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; -- cgit v1.2.3