summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/common.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:20:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:20:51 +0000
commit6c2ab603d2456c41ec977fb3fc18666439a10785 (patch)
tree75c6284dd78895e4cc7ec6b7db198e06ebdcfaa1 /plugins/TopToolBar/common.h
parent987abc0e1d9f8f32d5565701743b40d6c0326e9e (diff)
- 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
Diffstat (limited to 'plugins/TopToolBar/common.h')
-rw-r--r--plugins/TopToolBar/common.h4
1 files changed, 4 insertions, 0 deletions
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;