From a57c6b0246d6aaca49e2bf30560640a1653b7c1f Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 19 Oct 2011 08:38:03 +0000 Subject: [PATCH] Issue 021385: [CEA] Modify font properties in legend --- src/LightApp/LightApp_Application.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index edaa4b1a4..f6401978f 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -87,6 +87,7 @@ #include #include #include +#include #include @@ -2198,6 +2199,10 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref ) pref->setItemProperty( "strings", aValuesList, legendPosition ); pref->setItemProperty( "indexes", anIndicesList, legendPosition ); + pref->addPreference( tr( "PREF_FONT" ), plot2dGroup, LightApp_Preferences::Font, "Plot2d", "LegendFont" ); + + pref->addPreference( tr( "PREF_FONT_COLOR" ), plot2dGroup, LightApp_Preferences::Color, "Plot2d", "LegendColor" ); + int curveType = pref->addPreference( tr( "PREF_CURVE_TYPE" ), plot2dGroup, LightApp_Preferences::Selector, "Plot2d", "CurveType" ); aValuesList.clear(); -- 2.39.2