LibreOffice Module sc (master) 1
Functions | Variables
tbzoomsliderctrl.cxx File Reference
#include <tbzoomsliderctrl.hxx>
#include <comphelper/propertyvalue.hxx>
#include <utility>
#include <vcl/InterimItemWindow.hxx>
#include <vcl/event.hxx>
#include <vcl/image.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/virdev.hxx>
#include <svx/zoomslideritem.hxx>
#include <iterator>
#include <set>
#include <bitmaps.hlst>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
Include dependency graph for tbzoomsliderctrl.cxx:

Go to the source code of this file.

Functions

 SFX_IMPL_TOOLBOX_CONTROL (ScZoomSliderControl, SvxZoomSliderItem)
 
constexpr sal_uInt16 gnSliderCenter (100)
 

Variables

const tools::Long nButtonWidth = 10
 
const tools::Long nButtonHeight = 10
 
const tools::Long nIncDecWidth = 11
 
const tools::Long nIncDecHeight = 11
 
const tools::Long nSliderHeight = 2
 
const tools::Long nSliderWidth = 4
 
const tools::Long nSnappingHeight = 4
 
const tools::Long nSliderXOffset = 20
 
const tools::Long nSnappingEpsilon = 5
 
const tools::Long nSnappingPointsMinDist = nSnappingEpsilon
 

Function Documentation

◆ gnSliderCenter()

constexpr sal_uInt16 gnSliderCenter ( 100  )
constexpr

◆ SFX_IMPL_TOOLBOX_CONTROL()

SFX_IMPL_TOOLBOX_CONTROL ( ScZoomSliderControl  ,
SvxZoomSliderItem   
)

Variable Documentation

◆ nButtonHeight

const tools::Long nButtonHeight = 10

Definition at line 93 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

◆ nButtonWidth

const tools::Long nButtonWidth = 10

Definition at line 92 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

◆ nIncDecHeight

const tools::Long nIncDecHeight = 11

Definition at line 95 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

◆ nIncDecWidth

const tools::Long nIncDecWidth = 11

Definition at line 94 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint(), and ScZoomSlider::MouseButtonDown().

◆ nSliderHeight

const tools::Long nSliderHeight = 2

Definition at line 96 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint(), and ScZoomSliderWnd::ScZoomSliderWnd().

◆ nSliderWidth

const tools::Long nSliderWidth = 4

Definition at line 97 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSliderWnd::ScZoomSliderWnd().

◆ nSliderXOffset

const tools::Long nSliderXOffset = 20

◆ nSnappingEpsilon

const tools::Long nSnappingEpsilon = 5

Definition at line 100 of file tbzoomsliderctrl.cxx.

◆ nSnappingHeight

const tools::Long nSnappingHeight = 4

Definition at line 98 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

◆ nSnappingPointsMinDist

const tools::Long nSnappingPointsMinDist = nSnappingEpsilon

Definition at line 101 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::UpdateFromItem().