From: apo Date: Wed, 5 Oct 2005 08:50:06 +0000 (+0000) Subject: To move Set/GetBarOrientation from Colored3d to ScalarMap to provide backward compati... X-Git-Tag: BR-D5-38-2003_D2005-12-10~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96e5c330573bf488dae22d11e3ebd0ebfc4d9f72;p=modules%2Fvisu.git To move Set/GetBarOrientation from Colored3d to ScalarMap to provide backward compatibility --- diff --git a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx index 04181291..eb871855 100644 --- a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx +++ b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx @@ -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());