summaryrefslogtreecommitdiffstats
path: root/include/svx/SvxColorValueSet.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-18 21:30:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-20 12:41:53 +0200
commit1f8d45c276760a173c3e30c78b8b740414a5b05f (patch)
tree4e22f39b8515a1839c9dc64146725ca02ec9b6f9 /include/svx/SvxColorValueSet.hxx
parentforcepoint: rework to explore loop (diff)
downloadcore-1f8d45c276760a173c3e30c78b8b740414a5b05f.tar.gz
core-1f8d45c276760a173c3e30c78b8b740414a5b05f.zip
weld SvxColorTabPage
Change-Id: I5dc6f949edcb34aa110dfa9415e2ac886d0dfa4c Reviewed-on: https://gerrit.libreoffice.org/56111 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/SvxColorValueSet.hxx')
-rw-r--r--include/svx/SvxColorValueSet.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx
index e08de01f6cb2..a1098fb7bd91 100644
--- a/include/svx/SvxColorValueSet.hxx
+++ b/include/svx/SvxColorValueSet.hxx
@@ -45,11 +45,13 @@ public:
class SVX_DLLPUBLIC ColorValueSet : public SvtValueSet
{
public:
- ColorValueSet();
+ ColorValueSet(weld::ScrolledWindow* pWindow);
virtual void Resize() override;
void addEntriesForXColorList(const XColorList& rXColorList, sal_uInt32 nStartIndex = 1);
+ void addEntriesForColorSet(const std::set<Color>& rColorSet, const OUString& rNamePrefix);
+ Size layoutAllVisible(sal_uInt32 nEntryCount);
Size layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntryCount);
};