summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/common.h
diff options
context:
space:
mode:
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;