LibreOffice Module sc (master)  1
Classes | 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 <vcl/gradient.hxx>
#include <vcl/settings.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.

Classes

struct  ScZoomSlider::ScZoomSliderWnd_Impl
 

Functions

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

Variables

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

Function Documentation

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

Variable Documentation

const long nButtonHeight = 10

Definition at line 120 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const long nButtonWidth = 10

Definition at line 119 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint(), and ScInputBarGroup::Resize().

const long nIncDecHeight = 11

Definition at line 122 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const long nIncDecWidth = 11

Definition at line 121 of file tbzoomsliderctrl.cxx.

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

const long nSliderHeight = 2
const long nSliderWidth = 4

Definition at line 124 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSliderWnd::ScZoomSliderWnd().

const long nSliderXOffset = 20
const long nSnappingEpsilon = 5

Definition at line 127 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::Offset2Zoom().

const long nSnappingHeight = 4

Definition at line 125 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::DoPaint().

const long nSnappingPointsMinDist = nSnappingEpsilon

Definition at line 128 of file tbzoomsliderctrl.cxx.

Referenced by ScZoomSlider::UpdateFromItem().