LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::VclToolboxButtonColorUpdater Class Reference

#include <tbxcolorupdate.hxx>

Inheritance diagram for svx::VclToolboxButtonColorUpdater:
[legend]
Collaboration diagram for svx::VclToolboxButtonColorUpdater:
[legend]

Public Member Functions

 VclToolboxButtonColorUpdater (sal_uInt16 nSlotId, sal_uInt16 nTbxBtnId, ToolBox *ptrTbx, bool bWideButton, const OUString &rCommandLabel, const OUString &rCommandURL, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
- Public Member Functions inherited from svx::ToolboxButtonColorUpdaterBase
 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 ()
 

Private Member Functions

virtual void SetQuickHelpText (const OUString &rText) override
 
virtual OUString GetQuickHelpText () const override
 
virtual void SetImage (VirtualDevice *pVirDev) override
 
virtual VclPtr< VirtualDeviceCreateVirtualDevice () const override
 
virtual vcl::ImageType GetImageSize () const override
 
virtual Size GetItemSize () const override
 

Private Attributes

sal_uInt16 mnBtnId
 
VclPtr< ToolBoxmpTbx
 

Additional Inherited Members

- Protected Member Functions inherited from svx::ToolboxButtonColorUpdaterBase
void Init (sal_uInt16 nSlotId)
 
- Protected Attributes inherited from svx::ToolboxButtonColorUpdaterBase
bool mbWideButton
 
bool mbWasHiContrastMode
 
Color maCurColor
 
tools::Rectangle maUpdRect
 
Size maBmpSize
 
OUString maCommandLabel
 
OUString maCommandURL
 
css::uno::Reference< css::frame::XFrame > mxFrame
 

Detailed Description

Definition at line 90 of file tbxcolorupdate.hxx.

Constructor & Destructor Documentation

svx::VclToolboxButtonColorUpdater::VclToolboxButtonColorUpdater ( sal_uInt16  nSlotId,
sal_uInt16  nTbxBtnId,
ToolBox ptrTbx,
bool  bWideButton,
const OUString &  rCommandLabel,
const OUString &  rCommandURL,
const css::uno::Reference< css::frame::XFrame > &  rFrame 
)

Definition at line 80 of file tbxcolorupdate.cxx.

References svx::ToolboxButtonColorUpdaterBase::Init().

Member Function Documentation

VclPtr< VirtualDevice > svx::VclToolboxButtonColorUpdater::CreateVirtualDevice ( ) const
overrideprivatevirtual
vcl::ImageType svx::VclToolboxButtonColorUpdater::GetImageSize ( ) const
overrideprivatevirtual

Implements svx::ToolboxButtonColorUpdaterBase.

Definition at line 114 of file tbxcolorupdate.cxx.

References ToolBox::GetImageSize(), and mpTbx.

Referenced by GetItemSize().

Size svx::VclToolboxButtonColorUpdater::GetItemSize ( ) const
overrideprivatevirtual
OUString svx::VclToolboxButtonColorUpdater::GetQuickHelpText ( ) const
overrideprivatevirtual

Implements svx::ToolboxButtonColorUpdaterBase.

Definition at line 96 of file tbxcolorupdate.cxx.

References ToolBox::GetQuickHelpText(), mnBtnId, and mpTbx.

void svx::VclToolboxButtonColorUpdater::SetImage ( VirtualDevice pVirDev)
overrideprivatevirtual
void svx::VclToolboxButtonColorUpdater::SetQuickHelpText ( const OUString &  rText)
overrideprivatevirtual

Implements svx::ToolboxButtonColorUpdaterBase.

Definition at line 91 of file tbxcolorupdate.cxx.

References mnBtnId, mpTbx, and ToolBox::SetQuickHelpText().

Member Data Documentation

sal_uInt16 svx::VclToolboxButtonColorUpdater::mnBtnId
private

Definition at line 99 of file tbxcolorupdate.hxx.

Referenced by GetItemSize(), GetQuickHelpText(), SetImage(), and SetQuickHelpText().

VclPtr<ToolBox> svx::VclToolboxButtonColorUpdater::mpTbx
private

The documentation for this class was generated from the following files: