diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-10-02 00:58:08 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-10-02 00:59:24 +0200 |
commit | 0c2b43b70776ea49655a7f18c6c11dc64a5f25b2 (patch) | |
tree | 5cc803500f139a6584ecb4d1ed89098973e2e9f3 /include/svtools | |
parent | 13cb02ce1046779864109646a105c09c2e27249a (diff) |
Improved striped rows implementation
Some renaming, use variable for row background when not striped
Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/treelistbox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index f54f32439d5d..fb6965686b2f 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -236,7 +236,7 @@ class SVT_DLLPUBLIC SvTreeListBox sal_uInt16 nLastSelTab; long mnCheckboxItemWidth; bool mbContextBmpExpanded; - bool mbAlternatingRowColor; + bool mbAlternatingRowColors; SvTreeListEntry* pHdlEntry; SvLBoxItem* pHdlItem; @@ -780,8 +780,8 @@ public: virtual Size GetOptimalSize() const SAL_OVERRIDE; - void SetAlternatingRow( const bool bEnable ); - bool IsRowAlternating() const { return mbAlternatingRowColor; } + void SetAlternatingRowColors( const bool bEnable ); + bool IsAlternatingRowColors() const { return mbAlternatingRowColors; } }; #define SV_LBOX_DD_FORMAT "SV_LBOX_DD_FORMAT" |