From db380aab1063e8a5e40111c40ee9f7921aa82601 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 5 Nov 2016 13:28:17 -0500 Subject: Reverts a commit series that cripple windows ci. Revert "SvxShadowTabPage::Construct was removed" f9a2c1c12ecad833c63b894c89d6008907477eb5. Revert "replace OColorPopup with SvxColorWindow" f300754bb1c6a347c92bb9548be7a65237176542. Revert "drop AutoColorInvalid/SID_ATTR_AUTO_COLOR_INVALID" 347c2c334589b18cc62af292674bb3df1dd54b71. Revert "replace last ColorLB use with a listbox of colors" 604b35bf55351751a396e34dcca3f85e75860fd5. Revert "simplify, its just a vector of colors" 351a97ce6bda3075677b59fa1387ba3d1ab17d7a. Revert "replace user draw with an Image of the color" df738e0f8ceedb4bad756960be14d9c41adc165d. Revert "strip down to the used pieces" commit 08d6cd788f2584ce10ab8fa10665245e953c59d9. Revert "move now combined ColorLB to location of last user" a19b18ad7c9eb0197c10e6d7e451ec4542e4bc9e. Revert "fold ColorListBox and ColorLB together" a989a0b1f2b425f05b58d0e44ce2de31c842ed65. Revert "move ColorListBox beside sole thing that uses it" 760a198e697f3070a5e0e029e4eff7be220eb9cd. Revert "extensions leaks out details of Color Selector, patch it up" 8bea644d6117a49405e6426dc97214220fc869d1. Revert "inherit FillAttrLB from ListBox not ColorListBox" d2ce812f1d3a7a2aad89ca0bd11948b63d2db7b0. Revert "unify color selectors" 43bc3031483d172eccd72c3804e2d4fc2ef37de4. --- cui/source/inc/cuitabarea.hxx | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'cui/source/inc/cuitabarea.hxx') diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index 362777aa0e02..52d4fce87273 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -39,7 +39,6 @@ class SdrModel; class SvxBitmapCtl; -class SvxColorListBox; /************************************************************************/ class ButtonBox @@ -322,7 +321,7 @@ private: VclPtr m_pGridShadow; VclPtr m_pCtlPosition; VclPtr m_pMtrDistance; - VclPtr m_pLbShadowColor; + VclPtr m_pLbShadowColor; VclPtr m_pMtrTransparent; VclPtr m_pCtlXRectPreview; @@ -341,13 +340,14 @@ private: DECL_LINK( ClickShadowHdl_Impl, Button*, void ); DECL_LINK( ModifyShadowHdl_Impl, Edit&, void ); - DECL_LINK( SelectShadowHdl_Impl, SvxColorListBox&, void ); + DECL_LINK( SelectShadowHdl_Impl, ListBox&, void ); public: SvxShadowTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~SvxShadowTabPage() override; virtual void dispose() override; + void Construct(); static VclPtr Create( vcl::Window*, const SfxItemSet* ); static const sal_uInt16* GetRanges() { return pShadowRanges; } @@ -381,9 +381,9 @@ private: VclPtr m_pMtrAngle; VclPtr m_pMtrBorder; VclPtr m_pSliderBorder; - VclPtr m_pLbColorFrom; + VclPtr m_pLbColorFrom; VclPtr m_pMtrColorFrom; - VclPtr m_pLbColorTo; + VclPtr m_pLbColorTo; VclPtr m_pMtrColorTo; VclPtr m_pGradientLB; VclPtr m_pMtrIncrement; @@ -413,7 +413,6 @@ private: DECL_LINK( ClickRenameHdl_Impl, SvxPresetListBox*, void ); DECL_LINK( ClickDeleteHdl_Impl, SvxPresetListBox*, void ); DECL_LINK( ModifiedEditHdl_Impl, Edit&, void ); - DECL_LINK( ModifiedColorListBoxHdl_Impl, SvxColorListBox&, void ); DECL_LINK( ModifiedListBoxHdl_Impl, ListBox&, void ); DECL_LINK( ChangeAutoStepHdl_Impl, CheckBox&, void ); DECL_LINK( ModifiedSliderHdl_Impl, Slider*, void ); @@ -456,9 +455,9 @@ private: VclPtr m_pMtrAngle; VclPtr m_pSliderAngle; VclPtr m_pLbLineType; - VclPtr m_pLbLineColor; + VclPtr m_pLbLineColor; VclPtr m_pCbBackgroundColor; - VclPtr m_pLbBackgroundColor; + VclPtr m_pLbBackgroundColor; VclPtr m_pHatchLB; VclPtr m_pCtlPreview; VclPtr m_pBtnAdd; @@ -484,9 +483,8 @@ private: void ChangeHatchHdl_Impl(); DECL_LINK( ModifiedEditHdl_Impl, Edit&, void ); DECL_LINK( ModifiedListBoxHdl_Impl, ListBox&, void ); - DECL_LINK( ModifiedColorListBoxHdl_Impl, SvxColorListBox&, void ); DECL_LINK( ToggleHatchBackgroundColor_Impl, CheckBox&, void ); - DECL_LINK( ModifiedBackgroundHdl_Impl, SvxColorListBox&, void ); + DECL_LINK( ModifiedBackgroundHdl_Impl, ListBox&, void ); DECL_LINK( ModifiedSliderHdl_Impl, Slider*, void ); void ModifiedHdl_Impl(void*); DECL_LINK( ClickAddHdl_Impl, Button*, void ); @@ -615,8 +613,8 @@ class SvxPatternTabPage : public SvxTabPage private: VclPtr m_pBxPixelEditor; VclPtr m_pCtlPixel; - VclPtr m_pLbColor; - VclPtr m_pLbBackgroundColor; + VclPtr m_pLbColor; + VclPtr m_pLbBackgroundColor; VclPtr m_pPatternLB; VclPtr m_pCtlPreview; VclPtr m_pBtnAdd; @@ -644,7 +642,7 @@ private: DECL_LINK( ClickAddHdl_Impl, Button*, void ); DECL_LINK( ClickModifyHdl_Impl, Button*, void ); DECL_LINK( ChangePatternHdl_Impl, ValueSet*, void ); - DECL_LINK( ChangeColorHdl_Impl, SvxColorListBox&, void ); + DECL_LINK( ChangeColorHdl_Impl, ListBox&, void ); DECL_LINK( ClickRenameHdl_Impl, SvxPresetListBox*, void ); DECL_LINK( ClickDeleteHdl_Impl, SvxPresetListBox*, void ); -- cgit