summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-23 20:48:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-24 16:00:18 +0100
commita0c9922cd8fd99c75ec9e48cb651e9671607ef1c (patch)
tree47e75f7ab9fbb874592d009334552fbdd31d5394 /include
parent1de047e49157957015757621288545b0b816595a (diff)
SvxLightCtl3D is now unused
Change-Id: I4aca00692184a91ce969feb909a75dff897fe5e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87298 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/dlgctl3d.hxx48
1 files changed, 0 insertions, 48 deletions
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<Svx3DLightControl> maLightControl;
- VclPtr<ScrollBar> maHorScroller;
- VclPtr<ScrollBar> maVerScroller;
- VclPtr<PushButton> maSwitcher;
-
- // callback for interactive changes
- Link<SvxLightCtl3D*,void> 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<SvxLightCtl3D*,void> 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