summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-03 20:11:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-03 20:11:37 +0300
commit51720b0288dcb1bed4c34841534dc1ef1f9958c2 (patch)
tree39ff9d11053f4d2afe4412a7fea863ba414186a6 /include
parente0d1e5f9f274af3cf1e83ef05e5838d897a322a6 (diff)
CSplitter class
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h24
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;