diff options
author | Jason Hulme <jsnhulme@gmail.com> | 2013-06-05 12:33:38 -0700 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-07 07:42:54 +0000 |
commit | 8ac87296c3f5f67d34336bf1eb75d1a6cc81e1c7 (patch) | |
tree | d6b9bd9fcf7de011f23ac5ee330458e884b89a30 /include | |
parent | 803bd5f1f23a1330d8c51942234e3a51671b7048 (diff) |
fdo#63866 Hid useless checkboxes
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes
Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6
Reviewed-on: https://gerrit.libreoffice.org/4169
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/svlbitm.hxx | 2 | ||||
-rw-r--r-- | include/svtools/treelistbox.hxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx index 14784835fa6b..78a1da0bb4a6 100644 --- a/include/svtools/svlbitm.hxx +++ b/include/svtools/svlbitm.hxx @@ -133,6 +133,7 @@ public: class SVT_DLLPUBLIC SvLBoxButton : public SvLBoxItem { + bool isVis; SvLBoxButtonData* pData; SvLBoxButtonKind eKind; sal_uInt16 nItemFlags; @@ -166,6 +167,7 @@ public: void SetStateUnchecked(); void SetStateTristate(); void SetStateHilighted( sal_Bool bHilight ); + void SetStateInvisible(); SvLBoxButtonKind GetKind() const { return eKind; } diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 9c06c58e4b67..4c09d74dcdea 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -629,6 +629,7 @@ public: void SetDefaultCollapsedEntryBmp( const Image& rBmp ); void SetCheckButtonState( SvTreeListEntry*, SvButtonState ); + void SetCheckButtonInvisible( SvTreeListEntry* ); SvButtonState GetCheckButtonState( SvTreeListEntry* ) const; void SetEntryText(SvTreeListEntry*, const XubString& ); |