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:
@@ -35,11 +35,11 @@ RimAnnotationTextAppearance::RimAnnotationTextAppearance()
|
||||
auto prefs = RiaPreferences::current();
|
||||
auto defaultBackgroundColor = prefs->defaultViewerBackgroundColor();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fontSize, "FontSize", "Font Size", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fontSize, "FontSize", "Font Size" );
|
||||
m_fontSize = prefs->defaultAnnotationFontSize();
|
||||
|
||||
CAF_PDM_InitField( &m_fontColor, "FontColor", cvf::Color3f( cvf::Color3f::BLACK ), "Font Color", "", "", "" );
|
||||
CAF_PDM_InitField( &m_backgroundColor, "BackgroundColor", defaultBackgroundColor, "Background Color", "", "", "" );
|
||||
CAF_PDM_InitField( &m_fontColor, "FontColor", cvf::Color3f( cvf::Color3f::BLACK ), "Font Color" );
|
||||
CAF_PDM_InitField( &m_backgroundColor, "BackgroundColor", defaultBackgroundColor, "Background Color" );
|
||||
CAF_PDM_InitField( &m_anchorLineColor,
|
||||
"AnchorLineColor",
|
||||
cvf::Color3f( cvf::Color3f::BLACK ),
|
||||
|
||||
Reference in New Issue
Block a user