Well Label Color: Added label color setting on Well Paths

This commit is contained in:
Jacob Støren
2013-10-01 11:44:10 +02:00
parent 2c546ea1e9
commit 5e51ded9a9
3 changed files with 8 additions and 2 deletions

View File

@@ -42,6 +42,9 @@
#include "RimAnalysisModels.h"
#include <fstream>
#include "RiaApplication.h"
#include "RiaPreferences.h"
namespace caf
{
template<>
@@ -65,6 +68,9 @@ RimWellPathCollection::RimWellPathCollection()
CAF_PDM_InitField(&showWellPathLabel, "ShowWellPathLabel", true, "Show well path labels", "", "", "");
cvf::Color3f defWellLabelColor = RiaApplication::instance()->preferences()->defaultWellLabelColor();
CAF_PDM_InitField(&wellPathLabelColor, "WellPathLabelColor", defWellLabelColor, "Well label color", "", "", "");
CAF_PDM_InitField(&wellPathVisibility, "GlobalWellPathVisibility", WellVisibilityEnum(ALL_ON), "Global well path visibility", "", "", "");
CAF_PDM_InitField(&wellPathRadiusScaleFactor, "WellPathRadiusScale", 0.1, "Well Path radius scale", "", "", "");