summaryrefslogtreecommitdiff
path: root/include/svx/PaletteManager.hxx
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-07-08 19:08:38 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2014-09-17 10:19:37 +0200
commitff17738a4a84ca53782d87da5f63d87a165d19d1 (patch)
treedff794a8637879ce047bdfe3f23951b6ef5e6559 /include/svx/PaletteManager.hxx
parent9ab1a4a0306c81c282225f1ddcb5a1c4678e9311 (diff)
Add color picker to color palette
Change-Id: I651f485598ee57af815780e234031f101b63fa24
Diffstat (limited to 'include/svx/PaletteManager.hxx')
-rw-r--r--include/svx/PaletteManager.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx
index a6b2dfa79317..e1d720153e38 100644
--- a/include/svx/PaletteManager.hxx
+++ b/include/svx/PaletteManager.hxx
@@ -21,6 +21,7 @@
#include <svx/SvxColorValueSet.hxx>
#include <rtl/ustring.hxx>
+#include <svx/tbxcolorupdate.hxx>
class PaletteManager
{
@@ -28,7 +29,9 @@ class PaletteManager
sal_uInt16 mnCurrentPalette;
long mnColorCount;
+ svx::ToolboxButtonColorUpdater* mpBtnUpdater;
+ Color mLastColor;
std::vector<Palette> maPalettes;
public:
PaletteManager();
@@ -38,6 +41,10 @@ public:
void NextPalette();
long GetColorCount();
OUString GetPaletteName();
+ const Color& GetLastColor();
+ void SetLastColor(const Color& rLastColor);
+ void SetBtnUpdater(svx::ToolboxButtonColorUpdater* pBtnUpdater);
+ void PopupColorPicker();
};
#endif // INCLUDED_SVX_PALETTEMANAGER_HXX