From: enk Date: Tue, 31 May 2005 06:01:38 +0000 (+0000) Subject: Corrected Look and Feel properties for CubeAxes X-Git-Tag: JFA_MERGE_TO_3_0_0__2005-07-07 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV2_2_0_VISU_improvement;p=modules%2Fkernel.git Corrected Look and Feel properties for CubeAxes --- 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);