diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-08 20:43:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-10 15:20:26 +0100 |
commit | abfdfe6ac1bfc917d1693874f9dec80167e0806f (patch) | |
tree | add0fa41f3d148ca9efaf844ae19552a2a504fb3 /include | |
parent | 56f79ad5d70226ca64423044c0ba92e265776802 (diff) |
weld SvxFmTbxCtlRecTotal label item window
and SvxFmTbxCtlRecText label item window
and SvxFmTbxCtlRecFromText label item window
Change-Id: I5c5bbdacfe7e69abd44b9a548deadbf6c4d2a7d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88283
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/toolbox.hxx | 3 | ||||
-rw-r--r-- | include/vcl/weld.hxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index a0ec7f897fe1..8a85863dd162 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -361,6 +361,9 @@ public: ToolBoxItemBits GetItemBits( sal_uInt16 nItemId ) const; void SetItemExpand( sal_uInt16 nItemId, bool bExpand ); + // e.g. a label used as an itemwindow + void SetItemWindowNonInteractive(sal_uInt16 nItemId, bool bNonInteractive); + void SetItemData( sal_uInt16 nItemId, void* pNewData ); void* GetItemData( sal_uInt16 nItemId ) const; diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 464047bdf843..9ed79878ea70 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -262,6 +262,8 @@ public: virtual void set_stack_background() = 0; //make this widget look like it has a highlighted background virtual void set_highlight_background() = 0; + //make this widget suitable for use in a toolbar + virtual void set_toolbar_background() = 0; virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> get_drop_target() = 0; |