summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-10-02 00:58:08 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-10-02 00:59:24 +0200
commit0c2b43b70776ea49655a7f18c6c11dc64a5f25b2 (patch)
tree5cc803500f139a6584ecb4d1ed89098973e2e9f3 /include
parent13cb02ce1046779864109646a105c09c2e27249a (diff)
Improved striped rows implementation
Some renaming, use variable for row background when not striped Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371
Diffstat (limited to 'include')
-rw-r--r--include/svtools/treelistbox.hxx6
-rw-r--r--include/vcl/settings.hxx6
2 files changed, 6 insertions, 6 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"
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index bb454a366281..9650828a3711 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -358,12 +358,12 @@ public:
void SetInactiveTabColor( const Color& rColor );
const Color& GetInactiveTabColor() const;
+ void SetRowColor( const Color& rColor );
+ const Color& GetRowColor() const;
+
void SetAlternatingRowColor( const Color& rColor );
const Color& GetAlternatingRowColor() const;
- void SetAlternatingRowColor2( const Color& rColor );
- const Color& GetAlternatingRowColor2() const;
-
void SetHighContrastMode(bool bHighContrast );
bool GetHighContrastMode() const;