Kaydet (Commit) fd75daa5 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS toolbars4 (1.60.44); FILE MERGED

2005/03/06 08:35:06 cd 1.60.44.3: RESYNC: (1.60-1.62); FILE MERGED
2005/02/16 14:45:50 cd 1.60.44.2: #i39612# Changed toolbox item style to TIB_DROPDOWNONLY
2005/02/10 17:29:14 cd 1.60.44.1: #i39612# Changed toolbar button style to TIB_DROPDOWNONLY
üst fbe628de
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: tbcontrl.cxx,v $ * $RCSfile: tbcontrl.cxx,v $
* *
* $Revision: 1.62 $ * $Revision: 1.63 $
* *
* last change: $Author: kz $ $Date: 2005-03-01 19:11:19 $ * last change: $Author: obo $ $Date: 2005-03-15 09:29:51 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -2847,7 +2847,10 @@ SvxColorToolBoxControl::SvxColorToolBoxControl( USHORT nSlotId, USHORT nId, Tool ...@@ -2847,7 +2847,10 @@ SvxColorToolBoxControl::SvxColorToolBoxControl( USHORT nSlotId, USHORT nId, Tool
SfxToolBoxControl( nSlotId, nId, rTbx ) SfxToolBoxControl( nSlotId, nId, rTbx )
{ {
rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) ); if ( nSlotId == SID_BACKGROUND_COLOR )
rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) );
else
rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) );
rTbx.Invalidate(); rTbx.Invalidate();
pBtnUpdater = new SvxTbxButtonColorUpdater_Impl( nSlotId, nId, &GetToolBox() ); pBtnUpdater = new SvxTbxButtonColorUpdater_Impl( nSlotId, nId, &GetToolBox() );
} }
...@@ -3037,7 +3040,7 @@ SvxFrameToolBoxControl::SvxFrameToolBoxControl( ...@@ -3037,7 +3040,7 @@ SvxFrameToolBoxControl::SvxFrameToolBoxControl(
: SfxToolBoxControl( nSlotId, nId, rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx )
{ {
rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) ); rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) );
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
...@@ -3089,7 +3092,7 @@ SvxFrameLineStyleToolBoxControl::SvxFrameLineStyleToolBoxControl( ...@@ -3089,7 +3092,7 @@ SvxFrameLineStyleToolBoxControl::SvxFrameLineStyleToolBoxControl(
: SfxToolBoxControl( nSlotId, nId, rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx )
{ {
rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) ); rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) );
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
...@@ -3140,7 +3143,7 @@ SvxFrameLineColorToolBoxControl::SvxFrameLineColorToolBoxControl( ...@@ -3140,7 +3143,7 @@ SvxFrameLineColorToolBoxControl::SvxFrameLineColorToolBoxControl(
SfxToolBoxControl( nSlotId, nId, rTbx ), SfxToolBoxControl( nSlotId, nId, rTbx ),
pBtnUpdater(new SvxTbxButtonColorUpdater_Impl( nSlotId, nId, &GetToolBox() )) pBtnUpdater(new SvxTbxButtonColorUpdater_Impl( nSlotId, nId, &GetToolBox() ))
{ {
rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) ); rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) );
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment