LibreOffice Module sc (master)  1
Functions | Variables
tbzoomsliderctrl.cxx File Reference
#include <tbzoomsliderctrl.hxx>
#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

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

Variable Documentation

const tools::Long nButtonHeight = 10

Definition at line 90 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const tools::Long nButtonWidth = 10

Definition at line 89 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const tools::Long nIncDecHeight = 11

Definition at line 92 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const tools::Long nIncDecWidth = 11

Definition at line 91 of file tbzoomsliderctrl.cxx.

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

const tools::Long nSliderHeight = 2

Definition at line 93 of file tbzoomsliderctrl.cxx.

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

const tools::Long nSliderWidth = 4

Definition at line 94 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSliderWnd::ScZoomSliderWnd().

const tools::Long nSliderXOffset = 20
const tools::Long nSnappingEpsilon = 5

Definition at line 97 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::Offset2Zoom().

const tools::Long nSnappingHeight = 4

Definition at line 95 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const tools::Long nSnappingPointsMinDist = nSnappingEpsilon

Definition at line 98 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::UpdateFromItem().