Salome HOME
Corrected Look and Feel properties for CubeAxes V2_2_0_VISU_improvement JFA_MERGE_TO_3_0_0__2005-07-07
authorenk <enk@opencascade.com>
Tue, 31 May 2005 06:01:38 +0000 (06:01 +0000)
committerenk <enk@opencascade.com>
Tue, 31 May 2005 06:01:38 +0000 (06:01 +0000)
src/VTKFilter/SALOME_CubeAxesActor2D.cxx

index aa61f368c5e106c1841e6c1a7475538bb52b81b0..1052ffc70b3631fd5ddcad47736fbf1353556197 100644 (file)
@@ -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);