62 ScZoomSlider(css::uno::Reference<css::frame::XDispatchProvider> xDispatchProvider,
63 sal_uInt16 nCurrentZoom);
76 std::unique_ptr<weld::CustomWeld>
mxWeld;
80 sal_uInt16 nCurrentZoom);
82 virtual void dispose()
override;
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
virtual ~ScZoomSliderControl() override
SFX_DECL_TOOLBOX_CONTROL()
ScZoomSliderControl(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
void UpdateFromItem(const SvxZoomSliderItem *pZoomSliderItem)
std::unique_ptr< weld::CustomWeld > mxWeld
virtual void dispose() override
std::unique_ptr< ScZoomSlider > mxWidget
ScZoomSliderWnd(vcl::Window *pParent, const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, sal_uInt16 nCurrentZoom)
virtual ~ScZoomSliderWnd() override
void DoPaint(vcl::RenderContext &rRenderContext)
std::vector< sal_uInt16 > maSnappingPointZooms
virtual bool MouseMove(const MouseEvent &rMEvt) override
sal_uInt16 Offset2Zoom(tools::Long nOffset) const
ScZoomSlider(css::uno::Reference< css::frame::XDispatchProvider > xDispatchProvider, sal_uInt16 nCurrentZoom)
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider
std::vector< tools::Long > maSnappingPointOffsets
void UpdateFromItem(const SvxZoomSliderItem *pZoomSliderItem)
tools::Long Zoom2Offset(sal_uInt16 nZoom) const
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override