diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-23 15:28:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-24 15:59:50 +0100 |
commit | 278f01eadd513608e306ea6b85d52fb115a6dedf (patch) | |
tree | dc4e9a62dc3753353fd1202a28f84d1599cf3996 /chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx | |
parent | set title of Color Replacer dialog (diff) | |
download | core-278f01eadd513608e306ea6b85d52fb115a6dedf.tar.gz core-278f01eadd513608e306ea6b85d52fb115a6dedf.zip |
weld Svx3DWin
Change-Id: I472a4edb5ac7a8039d21128256c204e2969acc6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87296
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx index 81bb278e28eb..049680760fa7 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx @@ -26,33 +26,11 @@ namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } class ColorListBox; +class LightButton; namespace chart { -class LightButton -{ -public: - explicit LightButton(std::unique_ptr<weld::ToggleButton> xButton); - - void switchLightOn(bool bOn); - bool isLightOn() const { return m_bLightOn;} - - bool get_active() const { return m_xButton->get_active(); } - void set_active(bool bActive) { m_xButton->set_active(bActive); } - - weld::ToggleButton* get_widget() const { return m_xButton.get(); } - - void connect_clicked(const Link<weld::Button&, void>& rLink) - { - m_xButton->connect_clicked(rLink); - } - -private: - std::unique_ptr<weld::ToggleButton> m_xButton; - bool m_bLightOn; -}; - struct LightSourceInfo; class ThreeD_SceneIllumination_TabPage |