summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2013-12-08 19:33:42 -0200
committerCaolán McNamara <caolanm@redhat.com>2013-12-09 20:32:52 +0000
commit56e1133f724896aec3f5b5c409fb5917a3b13eb4 (patch)
tree480f9aa58416a1caedc6c2a08cad85dda553962c /chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
parent9f87de91cee05656808a98ab1bd65ad9509ef7df (diff)
Convert chart 3D scene illumination to .ui
Change-Id: I55e56196818e181d16e74ae93376ff4ff1c4c395 Reviewed-on: https://gerrit.libreoffice.org/6998 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.hxx41
1 files changed, 15 insertions, 26 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
index e2980947eff6..0f6d02e08776 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
@@ -41,7 +41,7 @@ namespace chart
class LightButton : public ImageButton
{
public:
- LightButton( Window* pParent, const ResId& rResId, sal_Int32 nLightNumber );
+ LightButton( Window* pParent);
virtual ~LightButton();
void switchLightOn(bool bOn);
@@ -51,13 +51,6 @@ private:
bool m_bLightOn;
};
-class ColorButton : public ImageButton
-{
-public:
- ColorButton( Window* pParent, const ResId& rResId );
- virtual ~ColorButton();
-};
-
struct LightSourceInfo;
class ThreeD_SceneIllumination_TabPage : public TabPage
@@ -89,30 +82,26 @@ private:
void applyLightSourceToModel( sal_uInt32 nLightNumber );
void applyLightSourcesToModel();
- FixedText m_aFT_LightSource;
-
- LightButton m_aBtn_Light1;
- LightButton m_aBtn_Light2;
- LightButton m_aBtn_Light3;
- LightButton m_aBtn_Light4;
- LightButton m_aBtn_Light5;
- LightButton m_aBtn_Light6;
- LightButton m_aBtn_Light7;
- LightButton m_aBtn_Light8;
+ LightButton* m_pBtn_Light1;
+ LightButton* m_pBtn_Light2;
+ LightButton* m_pBtn_Light3;
+ LightButton* m_pBtn_Light4;
+ LightButton* m_pBtn_Light5;
+ LightButton* m_pBtn_Light6;
+ LightButton* m_pBtn_Light7;
+ LightButton* m_pBtn_Light8;
- ColorLB m_aLB_LightSource;
- ColorButton m_aBtn_LightSource_Color;
+ ColorLB* m_pLB_LightSource;
+ PushButton* m_pBtn_LightSource_Color;
- FixedText m_aFT_AmbientLight;
- ColorLB m_aLB_AmbientLight;
- ColorButton m_aBtn_AmbientLight_Color;
+ ColorLB* m_pLB_AmbientLight;
+ PushButton* m_pBtn_AmbientLight_Color;
- SvxLightCtl3D m_aCtl_Preview;
+ SvxLightCtl3D* m_pCtl_Preview;
LightSourceInfo* m_pLightSourceInfoList;
- ::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > m_xSceneProperties;
+ ::com::sun::star::uno::Reference<::com::sun::star::beans::XPropertySet > m_xSceneProperties;
TimerTriggeredControllerLock m_aTimerTriggeredControllerLock;