From ed6386d96cea6837d005b1881a237447043dc84e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Mar 2017 22:14:04 +0300 Subject: long needed function CCtrlBase::Show(bool) --- include/m_gui.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3