From c9e2dea65ffc8115cde0d234fb0cb58a7fec4036 Mon Sep 17 00:00:00 2001 From: enk Date: Tue, 31 May 2005 06:01:38 +0000 Subject: [PATCH] Corrected Look and Feel properties for CubeAxes --- src/VTKFilter/SALOME_CubeAxesActor2D.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/VTKFilter/SALOME_CubeAxesActor2D.cxx b/src/VTKFilter/SALOME_CubeAxesActor2D.cxx index aa61f368c..1052ffc70 100644 --- a/src/VTKFilter/SALOME_CubeAxesActor2D.cxx +++ b/src/VTKFilter/SALOME_CubeAxesActor2D.cxx @@ -106,18 +106,23 @@ SALOME_CubeAxesActor2D::SALOME_CubeAxesActor2D() aTLProp->SetItalic(0); aTLProp->SetShadow(0); aTLProp->SetFontFamilyToArial(); - aTLProp->SetColor(1,1,1); + aTLProp->SetColor(1,0,0); if (this->XAxis->GetLabelTextProperty()) this->XAxis->GetLabelTextProperty()->ShallowCopy(aTLProp); + aTLProp->SetColor(0,1,0); if (this->YAxis->GetLabelTextProperty()) this->YAxis->GetLabelTextProperty()->ShallowCopy(aTLProp); + aTLProp->SetColor(0,0,1); if (this->ZAxis->GetLabelTextProperty()) this->ZAxis->GetLabelTextProperty()->ShallowCopy(aTLProp);; - + + aTLProp->SetColor(1,0,0); if (this->XAxis->GetLabelTextProperty()) this->XAxis->GetTitleTextProperty()->ShallowCopy(aTLProp); + aTLProp->SetColor(0,1,0); if (this->YAxis->GetLabelTextProperty()) this->YAxis->GetTitleTextProperty()->ShallowCopy(aTLProp); + aTLProp->SetColor(0,0,1); if (this->ZAxis->GetLabelTextProperty()) this->ZAxis->GetTitleTextProperty()->ShallowCopy(aTLProp); -- 2.39.2