summaryrefslogtreecommitdiff
path: root/include/svx/PaletteManager.hxx
diff options
context:
space:
mode:
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