From 6c2ab603d2456c41ec977fb3fc18666439a10785 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 06:20:51 +0000 Subject: - fix for the button arrange procedure; - fix for the icons' enabling/disabling; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/TopToolBar/common.h') diff --git a/plugins/TopToolBar/common.h b/plugins/TopToolBar/common.h index 3a79ff3b59..996c3bf50f 100644 --- a/plugins/TopToolBar/common.h +++ b/plugins/TopToolBar/common.h @@ -66,6 +66,10 @@ struct TopButtonInt { return (dwFlags & TTBBF_ISSEPARATOR) != 0; } + __inline bool isVisible() const + { return (dwFlags & TTBBF_VISIBLE) != 0; + } + HWND hwnd; int id; BOOL bPushed; -- cgit v1.2.3