LibreOffice Module sc (master) 1
|
#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>
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 |
|
constexpr |
Referenced by ScZoomSlider::Offset2Zoom(), ScZoomSlider::UpdateFromItem(), and ScZoomSlider::Zoom2Offset().
SFX_IMPL_TOOLBOX_CONTROL | ( | ScZoomSliderControl | , |
SvxZoomSliderItem | |||
) |
const tools::Long nButtonHeight = 10 |
Definition at line 93 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint().
const tools::Long nButtonWidth = 10 |
Definition at line 92 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint().
const tools::Long nIncDecHeight = 11 |
Definition at line 95 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint().
const tools::Long nIncDecWidth = 11 |
Definition at line 94 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint(), and ScZoomSlider::MouseButtonDown().
const tools::Long nSliderHeight = 2 |
Definition at line 96 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint(), and ScZoomSliderWnd::ScZoomSliderWnd().
const tools::Long nSliderWidth = 4 |
Definition at line 97 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSliderWnd::ScZoomSliderWnd().
const tools::Long nSliderXOffset = 20 |
Definition at line 99 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint(), ScZoomSlider::MouseButtonDown(), ScZoomSlider::MouseMove(), ScZoomSlider::Offset2Zoom(), and ScZoomSlider::Zoom2Offset().
const tools::Long nSnappingEpsilon = 5 |
Definition at line 100 of file tbzoomsliderctrl.cxx.
const tools::Long nSnappingHeight = 4 |
Definition at line 98 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::DoPaint().
const tools::Long nSnappingPointsMinDist = nSnappingEpsilon |
Definition at line 101 of file tbzoomsliderctrl.cxx.
Referenced by ScZoomSlider::UpdateFromItem().