summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorPrashant Pandey <prashant3.yishu@gmail.com>2013-08-07 01:20:01 +0530
committerTor Lillqvist <tml@iki.fi>2013-08-09 12:52:43 +0000
commit3e7879998bde20d5d6540ef989ecfd850be97b08 (patch)
tree8ac796d03d01545f8fc36d24a4e884c3d2c6b4e9 /vcl/inc
parenta783c7ce72c6dc306dcd39868c9bf41d9dc886e0 (diff)
Show hidden toolbar items when window size is decreased
When the Window size is reduced, the '>>' symbol thus appearing must also show the items, that are provided by the toolbar but are not shown because they are unchecked in Tools->Customize. Change-Id: I062bee4447126bff4ae7ad6650be3b847acc0794 Reviewed-on: https://gerrit.libreoffice.org/5296 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/toolbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h
index 4a0f6d924934..96e2c5713fdf 100644
--- a/vcl/inc/toolbox.h
+++ b/vcl/inc/toolbox.h
@@ -112,6 +112,9 @@ struct ImplToolItem
// returns sal_True if the toolbar item is currently clipped, which can happen for docked toolbars
sal_Bool IsClipped() const;
+ // returns sal_True if the toolbar item is currently hidden i.e. they are unchecked in the toolbar Customize menu
+ sal_Bool IsItemHidden() const;
+
private:
void init(sal_uInt16 nItemId, ToolBoxItemBits nItemBits, sal_Bool bEmptyBtn);
};