LibreOffice Module svx (master)
1
|
#include <tbxcolorupdate.hxx>
Public Member Functions | |
VclToolboxButtonColorUpdater (sal_uInt16 nSlotId, ToolBoxItemId nTbxBtnId, ToolBox *ptrTbx, bool bWideButton, const OUString &rCommandLabel, const OUString &rCommandURL, const css::uno::Reference< css::frame::XFrame > &rFrame) | |
![]() | |
ToolboxButtonColorUpdaterBase (bool bWideButton, const OUString &rCommandLabel, const OUString &rCommandURL, const css::uno::Reference< css::frame::XFrame > &rFrame) | |
virtual | ~ToolboxButtonColorUpdaterBase () |
void | Update (const NamedColor &rNamedColor) |
void | Update (const Color &rColor, bool bForceUpdate=false) |
Color const & | GetCurrentColor () const |
OUString | GetCurrentColorName () const |
Private Member Functions | |
virtual void | SetQuickHelpText (const OUString &rText) override |
virtual OUString | GetQuickHelpText () const override |
virtual void | SetImage (VirtualDevice *pVirDev) override |
virtual VclPtr< VirtualDevice > | CreateVirtualDevice () const override |
virtual vcl::ImageType | GetImageSize () const override |
virtual Size | GetItemSize (const Size &rImageSize) const override |
Private Attributes | |
ToolBoxItemId | mnBtnId |
VclPtr< ToolBox > | mpTbx |
Additional Inherited Members | |
![]() | |
void | Init (sal_uInt16 nSlotId) |
![]() | |
bool | mbWideButton |
bool | mbWasHiContrastMode |
Color | maCurColor |
tools::Rectangle | maUpdRect |
Size | maBmpSize |
vcl::ImageType | meImageType |
OUString | maCommandLabel |
OUString | maCommandURL |
css::uno::Reference< css::frame::XFrame > | mxFrame |
Definition at line 90 of file tbxcolorupdate.hxx.
svx::VclToolboxButtonColorUpdater::VclToolboxButtonColorUpdater | ( | sal_uInt16 | nSlotId, |
ToolBoxItemId | nTbxBtnId, | ||
ToolBox * | ptrTbx, | ||
bool | bWideButton, | ||
const OUString & | rCommandLabel, | ||
const OUString & | rCommandURL, | ||
const css::uno::Reference< css::frame::XFrame > & | rFrame | ||
) |
Definition at line 81 of file tbxcolorupdate.cxx.
References svx::ToolboxButtonColorUpdaterBase::Init().
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 107 of file tbxcolorupdate.cxx.
References VclPtr< reference_type >::Create(), vcl::Window::GetControlBackground(), vcl::Window::GetOutDev(), and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 115 of file tbxcolorupdate.cxx.
References ToolBox::GetImageSize(), and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 120 of file tbxcolorupdate.cxx.
References ToolBox::GetItemContentSize(), svx::ToolboxButtonColorUpdaterBase::mbWideButton, mnBtnId, and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 97 of file tbxcolorupdate.cxx.
References ToolBox::GetQuickHelpText(), mnBtnId, and mpTbx.
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 102 of file tbxcolorupdate.cxx.
References OutputDevice::GetBitmapEx(), svx::ToolboxButtonColorUpdaterBase::maBmpSize, mnBtnId, mpTbx, Point, and ToolBox::SetItemImage().
|
overrideprivatevirtual |
Implements svx::ToolboxButtonColorUpdaterBase.
Definition at line 92 of file tbxcolorupdate.cxx.
References mnBtnId, mpTbx, and ToolBox::SetQuickHelpText().
|
private |
Definition at line 99 of file tbxcolorupdate.hxx.
Referenced by GetItemSize(), GetQuickHelpText(), SetImage(), and SetQuickHelpText().
Definition at line 100 of file tbxcolorupdate.hxx.
Referenced by CreateVirtualDevice(), GetImageSize(), GetItemSize(), GetQuickHelpText(), SetImage(), and SetQuickHelpText().