summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-26 22:14:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-26 22:14:04 +0300
commited6386d96cea6837d005b1881a237447043dc84e (patch)
treebdd2ba976ff698d8bfa86b86cbbcb359b3de68e6 /include/m_gui.h
parentef5d5d9a996e2392d4634f8114d096e1fa98fb43 (diff)
long needed function CCtrlBase::Show(bool)
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 226260c324..18f47b90c0 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -500,7 +500,10 @@ public:
__forceinline void SetSilent() { m_bSilent = true; }
__forceinline void UseSystemColors() { m_bUseSystemColors = true; }
- void Enable(int bIsEnable = true);
+ void Show(bool bShow = true);
+ __forceinline void Hide() { Show(false); }
+
+ void Enable(bool bIsEnable = true);
__forceinline void Disable() { Enable(false); }
BOOL Enabled(void) const;