From 96e5c330573bf488dae22d11e3ebd0ebfc4d9f72 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 5 Oct 2005 08:50:06 +0000 Subject: [PATCH] To move Set/GetBarOrientation from Colored3d to ScalarMap to provide backward compatibility --- src/VISUGUI/VisuGUI_GaussPointsDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.39.2