]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To move Set/GetBarOrientation from Colored3d to ScalarMap to provide backward compati...
authorapo <apo@opencascade.com>
Wed, 5 Oct 2005 08:50:06 +0000 (08:50 +0000)
committerapo <apo@opencascade.com>
Wed, 5 Oct 2005 08:50:06 +0000 (08:50 +0000)
src/VISUGUI/VisuGUI_GaussPointsDlg.cxx

index 0418129104b53be3197a58c03abd71c0c1de32f4..eb87185595bd98313a0e81706204d8f45458aed2 100644 (file)
@@ -267,7 +267,7 @@ void VisuGUI_GaussScalarBarPane::initFromPrsObject(VISU::GaussPoints_i* thePrs)
                 thePrs->GetPosY(),
                 thePrs->GetWidth(),
                 thePrs->GetHeight(),
-                thePrs->GetScalarBarOrientation());
+                thePrs->GetBarOrientation());
 
   SpacingSpin->setValue(thePrs->GetSpacing());
 
@@ -346,7 +346,7 @@ int VisuGUI_GaussScalarBarPane::storeToPrsObject(VISU::GaussPoints_i* thePrs) {
   thePrs->SetPosition(XSpin->value(), YSpin->value());
   thePrs->SetSize(WidthSpin->value(), HeightSpin->value());
   thePrs->SetSpacing(SpacingSpin->value());
-  thePrs->SetScalarBarOrientation((RBvert->isChecked())? VISU::ColoredPrd3d::VERTICAL : VISU::ColoredPrd3d::HORIZONTAL);
+  thePrs->SetBarOrientation((RBvert->isChecked())? VISU::ScalarMap::VERTICAL : VISU::ScalarMap::HORIZONTAL);
   thePrs->SetIsActiveLocalScalarBar(myRBLocal->isChecked());
   thePrs->SetIsDispGlobalScalarBar(myCBDisplayed->isChecked());
   thePrs->SetNbColors(ColorSpin->value());