summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tbzoomsliderctrl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-22 14:01:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-23 08:57:20 +0200
commit1fd35c6d0058e33694721a962f1fe5c0489d4336 (patch)
treef976cddda6d41b7b33ca1884aca97678957b07ef /sc/source/ui/inc/tbzoomsliderctrl.hxx
parentda340c48ecd67e1b97546842dae013306caa6ace (diff)
remove pimpl from ScZoomSlider
Change-Id: I446a73b3a07818927b69d93cfc41bca12858b169 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119380 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/tbzoomsliderctrl.hxx')
-rw-r--r--sc/source/ui/inc/tbzoomsliderctrl.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/ui/inc/tbzoomsliderctrl.hxx b/sc/source/ui/inc/tbzoomsliderctrl.hxx
index 1ef4d521c672..d68421f2e820 100644
--- a/sc/source/ui/inc/tbzoomsliderctrl.hxx
+++ b/sc/source/ui/inc/tbzoomsliderctrl.hxx
@@ -42,8 +42,15 @@ public:
class ScZoomSlider final : public weld::CustomWidgetController
{
private:
- struct ScZoomSliderWnd_Impl;
- std::unique_ptr<ScZoomSliderWnd_Impl> mpImpl;
+ sal_uInt16 mnCurrentZoom;
+ sal_uInt16 mnMinZoom;
+ sal_uInt16 mnMaxZoom;
+ std::vector< tools::Long > maSnappingPointOffsets;
+ std::vector< sal_uInt16 > maSnappingPointZooms;
+ Image maSliderButton;
+ Image maIncreaseButton;
+ Image maDecreaseButton;
+ bool mbOmitPaint;
css::uno::Reference<css::frame::XDispatchProvider> m_xDispatchProvider;
sal_uInt16 Offset2Zoom(tools::Long nOffset) const;