From a0c9922cd8fd99c75ec9e48cb651e9671607ef1c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Jan 2020 20:48:09 +0000 Subject: SvxLightCtl3D is now unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4aca00692184a91ce969feb909a75dff897fe5e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87298 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/svx/dlgctl3d.hxx | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) (limited to 'include') diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index 73cb8680a53c..a7b2794a739f 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -238,54 +238,6 @@ public: basegfx::B3DVector GetLightDirection(sal_uInt32 nNum) const; }; -class SAL_WARN_UNUSED SvxLightCtl3D final : public Control -{ - // local controls - VclPtr maLightControl; - VclPtr maHorScroller; - VclPtr maVerScroller; - VclPtr maSwitcher; - - // callback for interactive changes - Link maUserSelectionChangeCallback; - -public: - SvxLightCtl3D(vcl::Window* pParent); - virtual ~SvxLightCtl3D() override; - virtual void dispose() override; - - // react to size changes - virtual void Resize() override; - void NewLayout(); - - // check the selection for validity - void CheckSelection(); - - // bring further settings to the outside world - Svx3DLightControl& GetSvx3DLightControl() { return *maLightControl; } - - // register user callback - void SetUserSelectionChangeCallback(Link aNew) { maUserSelectionChangeCallback = aNew; } - - virtual void KeyInput( const KeyEvent& rKEvt ) override; - virtual void GetFocus() override; - virtual void LoseFocus() override; - - virtual Size GetOptimalSize() const override; - -private: - - DECL_LINK( InternalInteractiveChange, Svx3DLightControl*, void); - DECL_LINK( InternalSelectionChange, Svx3DLightControl*, void); - DECL_LINK( ScrollBarMove, ScrollBar*, void); - DECL_LINK( ButtonPress, Button*, void); - - // initialize local parameters - void Init(); - - void move( double fDeltaHor, double fDeltaVer ); -}; - class SAL_WARN_UNUSED SVX_DLLPUBLIC LightCtl3D { // local controls -- cgit