diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/extrusioncontrols.cxx | 295 | ||||
-rw-r--r-- | svx/source/tbxctrls/extrusioncontrols.hxx | 49 | ||||
-rw-r--r-- | svx/source/tbxctrls/extrusioncontrols.src | 145 |
3 files changed, 266 insertions, 223 deletions
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 2fdc95bb28fb..7300fe8048b3 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -123,6 +123,7 @@ ExtrusionDirectionWindow::ExtrusionDirectionWindow( svt::ToolboxController& rCon mpDirectionSet->SetOutputSizePixel( Size( 72, 72 ) ); appendEntry( 2, mpDirectionSet ); + appendSeparator(); appendEntry( 0, String( SVX_RES( STR_PERSPECTIVE ) ), bHighContrast ? maImgPerspectiveH : maImgPerspective ); appendEntry( 1, String( SVX_RES( STR_PARALLEL ) ), bHighContrast ? maImgParallelH : maImgParallel ); @@ -251,11 +252,9 @@ IMPL_LINK( ExtrusionDirectionWindow, SelectHdl, void *, pControl ) return 0; } -/************************************************************************* -|* -|* SvxLineEndToolBoxControl -|* -\************************************************************************/ +// ======================================================================= +// ExtrusionDirectionControl +// ======================================================================= ExtrusionDirectionControl::ExtrusionDirectionControl( const Reference< lang::XMultiServiceFactory >& rServiceManager ) : svt::PopupWindowController( rServiceManager, Reference< frame::XFrame >(), OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:ExtrusionDirectionFloater" ) ) ) @@ -340,148 +339,96 @@ double ExtrusionDepthDialog::getDepth() const double aDepthListInch[] = { 0, 1270,2540,5080,10160 }; double aDepthListMM[] = { 0, 1000, 2500, 5000, 10000 }; -ExtrusionDepthController::ExtrusionDepthController( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) -: svt::PopupMenuControllerBase( xServiceManager ) +ExtrusionDepthWindow::ExtrusionDepthWindow( svt::ToolboxController& rController, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window* pParentWindow ) +: ToolbarMenu( rFrame, pParentWindow, SVX_RES( RID_SVXFLOAT_EXTRUSION_DIRECTION )) +, mrController( rController ) +, maImgDepth0( SVX_RES( IMG_DEPTH_0 ) ) +, maImgDepth1( SVX_RES( IMG_DEPTH_1 ) ) +, maImgDepth2( SVX_RES( IMG_DEPTH_2 ) ) +, maImgDepth3( SVX_RES( IMG_DEPTH_3 ) ) +, maImgDepth4( SVX_RES( IMG_DEPTH_4 ) ) +, maImgDepthInfinity( SVX_RES( IMG_DEPTH_INFINITY ) ) +, maImgDepth0h( SVX_RES( IMG_DEPTH_0_H ) ) +, maImgDepth1h( SVX_RES( IMG_DEPTH_1_H ) ) +, maImgDepth2h( SVX_RES( IMG_DEPTH_2_H ) ) +, maImgDepth3h( SVX_RES( IMG_DEPTH_3_H ) ) +, maImgDepth4h( SVX_RES( IMG_DEPTH_4_H ) ) +, maImgDepthInfinityh( SVX_RES( IMG_DEPTH_INFINITY_H ) ) , mfDepth( -1.0 ) , msExtrusionDepth( RTL_CONSTASCII_USTRINGPARAM( ".uno:ExtrusionDepth" ) ) , msMetricUnit( RTL_CONSTASCII_USTRINGPARAM( ".uno:MetricUnit" ) ) { - for( int i = 0; i < 5; i++ ) - { - maImgDepth[i] = Image( SVX_RES( RID_SVXIMG_EXTRUSION_DEPTH_0 + i ) ); - maImgDepth_hc[i] = Image( SVX_RES( RID_SVXIMG_EXTRUSION_DEPTH_0_H + i ) ); - } + SetHelpId( HID_MENU_EXTRUSION_DEPTH ); - maImgDepthInfinity = Image( SVX_RES( RID_SVXIMG_EXTRUSION_DEPTH_INFINITY ) ); - maImgDepthInfinityh = Image( SVX_RES( RID_SVXIMG_EXTRUSION_DEPTH_INFINITY_H ) ); -} + SetSelectHdl( LINK( this, ExtrusionDepthWindow, SelectHdl ) ); -// XPopupMenuController -void SAL_CALL ExtrusionDepthController::updatePopupMenu() throw (RuntimeException) -{ - const StyleSettings& rSettings = Application::GetSettings().GetStyleSettings(); - bool bShowImages( rSettings.GetUseImagesInMenus() ); - bool bHiContrast( rSettings.GetHighContrastMode() ); + bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode(); - updateCommand( msExtrusionDepth ); - updateCommand( msMetricUnit ); + String aEmpty; + appendEntry( 0, aEmpty, bHighContrast ? maImgDepth0h : maImgDepth0 ); + appendEntry( 1, aEmpty, bHighContrast ? maImgDepth1h : maImgDepth1 ); + appendEntry( 2, aEmpty, bHighContrast ? maImgDepth2h : maImgDepth2 ); + appendEntry( 3, aEmpty, bHighContrast ? maImgDepth3h : maImgDepth3 ); + appendEntry( 4, aEmpty, bHighContrast ? maImgDepth4h : maImgDepth4 ); + appendEntry( 5, String( SVX_RES( STR_INFINITY ) ), bHighContrast ? maImgDepthInfinityh : maImgDepthInfinity ); + appendEntry( 6, String( SVX_RES( STR_CUSTOM ) ) ); - Reference< awt::XPopupMenuExtended > xPopupMenu( m_xPopupMenu, UNO_QUERY ); - if( xPopupMenu.is() ) - { - // clear existing entries - if( m_xPopupMenu->getItemCount() ) - m_xPopupMenu->removeItem( 0, m_xPopupMenu->getItemCount() ); + SetOutputSizePixel( getMenuSize() ); - USHORT nResource = IsMetric( meUnit ) ? RID_SVXSTR_DEPTH_0 : RID_SVXSTR_DEPTH_0_INCH; + FreeResource(); - Reference< XGraphic > xGraphic; + AddStatusListener( msExtrusionDepth ); + AddStatusListener( msMetricUnit ); +} - for( int i = 0; i < 5; i++ ) - { - OUString aStr( String( SVX_RES( nResource + i ) ) ); - m_xPopupMenu->insertItem( i+1, aStr, awt::MenuItemStyle::CHECKABLE, i+1 ); - if( bShowImages ) - { - if( bHiContrast ) - xGraphic = maImgDepth_hc[i].GetXGraphic(); - else - xGraphic = maImgDepth[i].GetXGraphic(); - } - xPopupMenu->setItemImage( i+1, xGraphic, sal_False ); +// ----------------------------------------------------------------------- - xPopupMenu->checkItem( i+1, (mfDepth == (IsMetric( meUnit ) ? aDepthListMM[i] : aDepthListInch[i])) ? TRUE : FALSE ); +void ExtrusionDepthWindow::implSetDepth( double fDepth ) +{ + mfDepth = fDepth; + int i; + for( i = 0; i < 7; i++ ) + { + if( i == 5 ) + { + checkEntry( i, fDepth >= 338666 ); } - - if( bShowImages ) + else if( i != 6 ) { - if( bHiContrast ) - xGraphic = maImgDepthInfinityh.GetXGraphic(); - else - xGraphic = maImgDepthInfinity.GetXGraphic(); + checkEntry( i, (fDepth == (IsMetric( meUnit ) ? aDepthListMM[i] : aDepthListInch[i]) ) ); } - m_xPopupMenu->insertItem( 6, OUString( String( SVX_RES( RID_SVXSTR_EXTRUSION_INFINITY ) ) ), awt::MenuItemStyle::CHECKABLE, 6 ); - xPopupMenu->setItemImage( 6, xGraphic, sal_False ); - xPopupMenu->checkItem( 6, (mfDepth >= 338666) ? TRUE : FALSE ); - - m_xPopupMenu->insertItem( 7, OUString( String( SVX_RES( RID_SVXSTR_EXTRUSION_CUSTOM ) ) ), awt::MenuItemStyle::CHECKABLE, 7 ); } } // ----------------------------------------------------------------------- -ExtrusionDepthController::~ExtrusionDepthController() -{ -} - -// ----------------------------------------------------------------------- -// XEventListener -// ----------------------------------------------------------------------- - -void SAL_CALL ExtrusionDepthController::disposing( const EventObject& ) throw ( RuntimeException ) -{ - Reference< awt::XMenuListener > xHolder(( OWeakObject *)this, UNO_QUERY ); - - osl::MutexGuard aLock( m_aMutex ); - m_xFrame.clear(); - m_xDispatch.clear(); - m_xServiceManager.clear(); - - if ( m_xPopupMenu.is() ) - m_xPopupMenu->removeMenuListener( Reference< awt::XMenuListener >(( OWeakObject *)this, UNO_QUERY )); - m_xPopupMenu.clear(); -} - -// ----------------------------------------------------------------------- -// XServiceInfo -// ----------------------------------------------------------------------- - -OUString SAL_CALL ExtrusionDepthController_getImplementationName() -{ - return OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svx.ExtrusionDepthController" )); -} - -// -------------------------------------------------------------------- - -Sequence< OUString > SAL_CALL ExtrusionDepthController_getSupportedServiceNames() throw( RuntimeException ) -{ - Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.PopupMenuController" )); - return aSNS; -} - -// -------------------------------------------------------------------- - -Reference< XInterface > SAL_CALL SAL_CALL ExtrusionDepthController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) -{ - return *new ExtrusionDepthController( rSMgr ); -} - -// -------------------------------------------------------------------- - -OUString SAL_CALL ExtrusionDepthController::getImplementationName( ) throw (RuntimeException) +void ExtrusionDepthWindow::implFillStrings( FieldUnit eUnit ) { - return ExtrusionDepthController_getImplementationName(); -} + meUnit = eUnit; + USHORT nResource = IsMetric( eUnit ) ? RID_SVXSTR_DEPTH_0 : RID_SVXSTR_DEPTH_0_INCH; -// -------------------------------------------------------------------- - -Sequence< OUString > SAL_CALL ExtrusionDepthController::getSupportedServiceNames( ) throw (RuntimeException) -{ - return ExtrusionDepthController_getSupportedServiceNames(); + for( int i = 0; i < 5; i++ ) + { + String aStr( SVX_RES( nResource + i ) ); + setEntryText( i, aStr ); + }; } // ----------------------------------------------------------------------- -// XStatusListener -// ----------------------------------------------------------------------- -void SAL_CALL ExtrusionDepthController::statusChanged( const frame::FeatureStateEvent& Event ) throw ( RuntimeException ) +void SAL_CALL ExtrusionDepthWindow::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException ) { if( Event.FeatureURL.Main.equals( msExtrusionDepth ) ) { - if( Event.IsEnabled ) + if( !Event.IsEnabled ) { - Event.State >>= mfDepth; + implSetDepth( 0 ); + } + else + { + double fValue = 0.0; + if( Event.State >>= fValue ) + implSetDepth( fValue ); } } else if( Event.FeatureURL.Main.equals( msMetricUnit ) ) @@ -490,69 +437,140 @@ void SAL_CALL ExtrusionDepthController::statusChanged( const frame::FeatureState { sal_Int32 nValue = 0; if( Event.State >>= nValue ) - meUnit = (FieldUnit)nValue; + { + implFillStrings( static_cast<FieldUnit>(nValue) ); + if( mfDepth >= 0.0 ) + implSetDepth( mfDepth ); + } } } } // ----------------------------------------------------------------------- -// XMenuListener + +void ExtrusionDepthWindow::DataChanged( const DataChangedEvent& rDCEvt ) +{ + ToolbarMenu::DataChanged( rDCEvt ); + + if( ( rDCEvt.GetType() == DATACHANGED_SETTINGS ) && ( rDCEvt.GetFlags() & SETTINGS_STYLE ) ) + { + bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode(); + + setEntryImage( 0, bHighContrast ? maImgDepth0h : maImgDepth0 ); + setEntryImage( 1, bHighContrast ? maImgDepth1h : maImgDepth1 ); + setEntryImage( 2, bHighContrast ? maImgDepth2h : maImgDepth2 ); + setEntryImage( 3, bHighContrast ? maImgDepth3h : maImgDepth3 ); + setEntryImage( 4, bHighContrast ? maImgDepth4h : maImgDepth4 ); + setEntryImage( 5, bHighContrast ? maImgDepthInfinityh : maImgDepthInfinity ); + } +} + + // ----------------------------------------------------------------------- -void SAL_CALL ExtrusionDepthController::select( const awt::MenuEvent& rEvent ) throw (RuntimeException) +IMPL_LINK( ExtrusionDepthWindow, SelectHdl, void *, EMPTYARG ) { - if( rEvent.MenuId ) + int nSelected = getSelectedEntryId(); + if( nSelected != -1 ) { - if( rEvent.MenuId == 7 ) + if( nSelected == 6 ) { + if ( IsInPopupMode() ) + EndPopupMode(); + const rtl::OUString aCommand( RTL_CONSTASCII_USTRINGPARAM( ".uno:ExtrusionDepthDialog" )); + Any a; Sequence< PropertyValue > aArgs( 2 ); aArgs[0].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Depth" )); aArgs[0].Value <<= mfDepth; aArgs[1].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Metric" )); - aArgs[1].Value <<= (sal_Int32)meUnit; + aArgs[1].Value <<= static_cast<sal_Int32>( meUnit ); - dispatchCommand( aCommand, aArgs ); + mrController.dispatchCommand( aCommand, aArgs ); } else { double fDepth; - if( rEvent.MenuId == 6 ) + if( nSelected == 5 ) { fDepth = 338666.6; } else { - fDepth = IsMetric( meUnit ) ? aDepthListMM[rEvent.MenuId-1] : aDepthListInch[rEvent.MenuId-1]; + fDepth = IsMetric( meUnit ) ? aDepthListMM[nSelected] : aDepthListInch[nSelected]; } Sequence< PropertyValue > aArgs( 1 ); aArgs[0].Name = msExtrusionDepth.copy(5); aArgs[0].Value <<= fDepth; - dispatchCommand( msExtrusionDepth, aArgs ); + mrController.dispatchCommand( msExtrusionDepth, aArgs ); + implSetDepth( fDepth ); + + if ( IsInPopupMode() ) + EndPopupMode(); } } + return 0; +} + +// ======================================================================= +// ExtrusionDirectionControl +// ======================================================================= + +ExtrusionDepthController::ExtrusionDepthController( const Reference< lang::XMultiServiceFactory >& rServiceManager ) +: svt::PopupWindowController( rServiceManager, Reference< frame::XFrame >(), OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:ExtrusionDepthFloater" ) ) ) +{ } // ----------------------------------------------------------------------- -// XInitialization + +::Window* ExtrusionDepthController::createPopupWindow( ::Window* pParent ) +{ + return new ExtrusionDirectionWindow( *this, m_xFrame, pParent ); +} + + +// ----------------------------------------------------------------------- +// XServiceInfo // ----------------------------------------------------------------------- -void SAL_CALL ExtrusionDepthController::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException ) +OUString SAL_CALL ExtrusionDepthController_getImplementationName() { - osl::MutexGuard aLock( m_aMutex ); + return OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svx.ExtrusionDepthController" )); +} - sal_Bool bInitalized( m_bInitialized ); - if ( !bInitalized ) - { - svt::PopupMenuControllerBase::initialize( aArguments ); - m_aBaseURL = ::rtl::OUString(); - } +// -------------------------------------------------------------------- + +Sequence< OUString > SAL_CALL ExtrusionDepthController_getSupportedServiceNames() throw( RuntimeException ) +{ + Sequence< OUString > aSNS( 1 ); + aSNS.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.PopupMenuController" )); + return aSNS; +} + +// -------------------------------------------------------------------- + +Reference< XInterface > SAL_CALL SAL_CALL ExtrusionDepthController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) +{ + return *new ExtrusionDepthController( rSMgr ); +} + +// -------------------------------------------------------------------- + +OUString SAL_CALL ExtrusionDepthController::getImplementationName( ) throw (RuntimeException) +{ + return ExtrusionDepthController_getImplementationName(); +} + +// -------------------------------------------------------------------- + +Sequence< OUString > SAL_CALL ExtrusionDepthController::getSupportedServiceNames( ) throw (RuntimeException) +{ + return ExtrusionDepthController_getSupportedServiceNames(); } -// ----------------------------------------------------------------------- // #################################################################### @@ -615,6 +633,7 @@ ExtrusionLightingWindow::ExtrusionLightingWindow( svt::ToolboxController& rContr mpLightingSet->SetOutputSizePixel( Size( 72, 72 ) ); appendEntry( 3, mpLightingSet ); + appendSeparator(); appendEntry( 0, String( SVX_RES( STR_BRIGHT ) ), bHighContrast ? maImgBrighth : maImgBright ); appendEntry( 1, String( SVX_RES( STR_NORMAL ) ), bHighContrast ? maImgNormalh : maImgNormal ); appendEntry( 2, String( SVX_RES( STR_DIM ) ), bHighContrast ? maImgDimh : maImgDim ); @@ -923,7 +942,7 @@ ExtrusionSurfaceControl::ExtrusionSurfaceControl( const Reference< lang::XMultiS ::Window* ExtrusionSurfaceControl::createPopupWindow( ::Window* pParent ) { - return new ExtrusionLightingWindow( *this, m_xFrame, pParent ); + return new ExtrusionSurfaceWindow( *this, m_xFrame, pParent ); } // ----------------------------------------------------------------------- diff --git a/svx/source/tbxctrls/extrusioncontrols.hxx b/svx/source/tbxctrls/extrusioncontrols.hxx index 958ccc014afc..4f5e2404d83f 100644 --- a/svx/source/tbxctrls/extrusioncontrols.hxx +++ b/svx/source/tbxctrls/extrusioncontrols.hxx @@ -96,14 +96,23 @@ public: //======================================================================== -class ExtrusionDepthController : public svt::PopupMenuControllerBase +class ExtrusionDepthWindow : public svtools::ToolbarMenu { - using svt::PopupMenuControllerBase::disposing; private: - Image maImgDepth[5]; + svt::ToolboxController& mrController; + + Image maImgDepth0; + Image maImgDepth1; + Image maImgDepth2; + Image maImgDepth3; + Image maImgDepth4; Image maImgDepthInfinity; - Image maImgDepth_hc[5]; + Image maImgDepth0h; + Image maImgDepth1h; + Image maImgDepth2h; + Image maImgDepth3h; + Image maImgDepth4h; Image maImgDepthInfinityh; FieldUnit meUnit; @@ -112,28 +121,30 @@ private: const rtl::OUString msExtrusionDepth; const rtl::OUString msMetricUnit; -public: - ExtrusionDepthController( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ); - virtual ~ExtrusionDepthController(); + DECL_LINK( SelectHdl, void * ); - // XServiceInfo - virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException); + void implFillStrings( FieldUnit eUnit ); + void implSetDepth( double fDepth ); - // XInitialization - virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); +public: + ExtrusionDepthWindow( svt::ToolboxController& rController, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window* pParentWindow ); - // XStatusListener virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException ); + virtual void DataChanged( const DataChangedEvent& rDCEvt ); +}; - // XMenuListener - virtual void SAL_CALL select( const ::com::sun::star::awt::MenuEvent& rEvent ) throw (::com::sun::star::uno::RuntimeException); +//======================================================================== + +class ExtrusionDepthController : public svt::PopupWindowController +{ +public: + ExtrusionDepthController( const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rServiceManager ); - // XEventListener - virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException ); + virtual ::Window* createPopupWindow( ::Window* pParent ); - // XPopupMenuController - virtual void SAL_CALL updatePopupMenu() throw (::com::sun::star::uno::RuntimeException); + // XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException ); }; //======================================================================== diff --git a/svx/source/tbxctrls/extrusioncontrols.src b/svx/source/tbxctrls/extrusioncontrols.src index 11f40e6f2976..084606439cc3 100644 --- a/svx/source/tbxctrls/extrusioncontrols.src +++ b/svx/source/tbxctrls/extrusioncontrols.src @@ -200,83 +200,96 @@ DockingWindow RID_SVXFLOAT_EXTRUSION_DIRECTION }; }; -String RID_SVXSTR_EXTRUSION_CUSTOM +DockingWindow RID_SVXFLOAT_EXTRUSION_DEPTH { - Text [ en-US ] = "~Custom..."; -}; + Border = FALSE ; + Hide = TRUE ; + SVLook = TRUE ; + Sizeable = FALSE ; + Moveable = TRUE ; + Closeable = TRUE ; + Zoomable = TRUE ; -String RID_SVXSTR_EXTRUSION_INFINITY -{ - Text [ en-US ] = "~Infinity"; -}; + Text [ en-US ] = "Extrusion Depth" ; -Image RID_SVXIMG_EXTRUSION_DEPTH_0 -{ - ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; }; - MASKCOLOR -}; -Image RID_SVXIMG_EXTRUSION_DEPTH_0_H -{ - ImageBitmap = Bitmap { File = "extrusion0inch_16_h.bmp"; }; - MASKCOLOR -}; + String STR_CUSTOM + { + Text [ en-US ] = "~Custom..."; + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_1 -{ - ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; }; - MASKCOLOR -}; -Image RID_SVXIMG_EXTRUSION_DEPTH_1_H -{ - ImageBitmap = Bitmap { File = "extrusion05inch_16_h.bmp"; }; - MASKCOLOR -}; + String STR_INFINITY + { + Text [ en-US ] = "~Infinity"; + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_2 -{ - ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; }; - MASKCOLOR -}; + Image IMG_DEPTH_0 + { + ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_0_H + { + ImageBitmap = Bitmap { File = "extrusion0inch_16_h.bmp"; }; + MASKCOLOR + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_2_H -{ - ImageBitmap = Bitmap { File = "extrusion1inch_16_h.bmp"; }; - MASKCOLOR -}; + Image IMG_DEPTH_1 + { + ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_1_H + { + ImageBitmap = Bitmap { File = "extrusion05inch_16_h.bmp"; }; + MASKCOLOR + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_3 -{ - ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; }; - MASKCOLOR -}; -Image RID_SVXIMG_EXTRUSION_DEPTH_3_H -{ - ImageBitmap = Bitmap { File = "extrusion2inch_16_h.bmp"; }; - MASKCOLOR -}; + Image IMG_DEPTH_2 + { + ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_2_H + { + ImageBitmap = Bitmap { File = "extrusion1inch_16_h.bmp"; }; + MASKCOLOR + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_4 -{ - ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; }; - MASKCOLOR -}; -Image RID_SVXIMG_EXTRUSION_DEPTH_4_H -{ - ImageBitmap = Bitmap { File = "extrusion4inch_16_h.bmp"; }; - MASKCOLOR -}; + Image IMG_DEPTH_3 + { + ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_3_H + { + ImageBitmap = Bitmap { File = "extrusion2inch_16_h.bmp"; }; + MASKCOLOR + }; -Image RID_SVXIMG_EXTRUSION_DEPTH_INFINITY -{ - ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; }; - MASKCOLOR -}; -Image RID_SVXIMG_EXTRUSION_DEPTH_INFINITY_H -{ - ImageBitmap = Bitmap { File = "extrusioninfinity_16_h.bmp"; }; - MASKCOLOR + Image IMG_DEPTH_4 + { + ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_4_H + { + ImageBitmap = Bitmap { File = "extrusion4inch_16_h.bmp"; }; + MASKCOLOR + }; + + Image IMG_DEPTH_INFINITY + { + ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; }; + MASKCOLOR + }; + Image IMG_DEPTH_INFINITY_H + { + ImageBitmap = Bitmap { File = "extrusioninfinity_16_h.bmp"; }; + MASKCOLOR + }; }; + DockingWindow RID_SVXFLOAT_EXTRUSION_LIGHTING { Border = FALSE ; |