mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8250 Use variadic macros and remove obsolete parameters
This commit is contained in:
@@ -46,13 +46,13 @@ RimSurfaceIntersectionBand::RimSurfaceIntersectionBand()
|
||||
{
|
||||
CAF_PDM_InitObject( "SurfaceIntersectionBand", ":/ReservoirSurface16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_lineAppearance, "LineAppearance", "Line Appearance", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_lineAppearance, "LineAppearance", "Line Appearance" );
|
||||
m_lineAppearance = new RimAnnotationLineAppearance;
|
||||
m_lineAppearance->objectChanged.connect( this, &RimSurfaceIntersectionBand::onObjectChanged );
|
||||
uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_bandColor, "BandColor", cvf::Color3f( cvf::Color3f::BLACK ), "Band Color", "", "", "" );
|
||||
CAF_PDM_InitField( &m_bandOpacity, "BandOpacity", 0.8, "Band Opacity", "", "", "" );
|
||||
CAF_PDM_InitField( &m_bandColor, "BandColor", cvf::Color3f( cvf::Color3f::BLACK ), "Band Color" );
|
||||
CAF_PDM_InitField( &m_bandOpacity, "BandOpacity", 0.8, "Band Opacity" );
|
||||
m_bandOpacity.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_bandPolygonOffsetUnit,
|
||||
@@ -64,10 +64,10 @@ RimSurfaceIntersectionBand::RimSurfaceIntersectionBand()
|
||||
"" );
|
||||
m_bandPolygonOffsetUnit.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_surfaces, "Surfaces", "Band Surfaces", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_surfaces, "Surfaces", "Band Surfaces" );
|
||||
m_surfaces.uiCapability()->setUiEditorTypeName( caf::PdmUiTreeSelectionEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_nameProxy, "NameProxy", "Name", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_nameProxy, "NameProxy", "Name" );
|
||||
m_nameProxy.registerGetMethod( this, &RimSurfaceIntersectionBand::objectName );
|
||||
m_nameProxy.uiCapability()->setUiHidden( true );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user