20 #ifndef INCLUDED_SVX_SOURCE_TBXCTRLS_COLORWINDOW_HXX
21 #define INCLUDED_SVX_SOURCE_TBXCTRLS_COLORWINDOW_HXX
24 #include <rtl/ustring.hxx>
43 void statusChanged(
const css::frame::FeatureStateEvent& rEvent );
49 #define COL_NONE_COLOR ::Color(ColorTransparency, 0x80, 0xFF, 0xFF, 0xFF)
76 bool get_active()
const;
77 void set_inactive()
const;
115 std::shared_ptr<PaletteManager>
const & rPaletteManager,
118 const css::uno::Reference<css::frame::XFrame>& rFrame,
123 void ShowNoneButton();
124 void SetNoSelection();
125 bool IsNoSelection()
const;
127 void SelectEntry(
const Color& rColor);
130 virtual void statusChanged(
const css::frame::FeatureStateEvent& rEvent )
override;
std::pair< Color, OUString > NamedColor
TopLevelParentFunction maTopLevelParentFunction
MenuOrToolMenuButton maMenuButton
ColorStatus & mrColorStatus
std::unique_ptr< weld::ComboBox > mxPaletteListBox
std::unique_ptr< weld::CustomWeld > mxRecentColorSetWin
std::unique_ptr< weld::Button > mxButtonPicker
std::unique_ptr< weld::Button > mxButtonNoneColor
std::unique_ptr< SvxColorValueSet > mxRecentColorSet
weld::Button * mpDefaultButton
std::unique_ptr< weld::Widget > mxAutomaticSeparator
std::unique_ptr< weld::CustomWeld > mxColorSetWin
std::shared_ptr< PaletteManager > mxPaletteManager
Link< const NamedColor &, void > maSelectedLink
std::unique_ptr< weld::Button > mxButtonAutoColor
std::function< weld::Window *()> TopLevelParentFunction
const sal_uInt16 theSlotId
void SetSelectedHdl(const Link< const NamedColor &, void > &rLink)
#define SVXCORE_DLLPUBLIC
std::function< void(const OUString &, const NamedColor &)> ColorSelectFunction
std::unique_ptr< SvxColorValueSet > mxColorSet
ColorSelectFunction maColorSelectFunction