From: rnv Date: Fri, 14 Mar 2008 12:41:26 +0000 (+0000) Subject: Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color). X-Git-Tag: V4_1_2rc1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9961f0f9942ca431a1aae5d95649d23a0cfdf88f;p=modules%2Fgeom.git Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color). --- diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 2e0446a18..0d2297a65 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -1524,7 +1524,9 @@ void EntityGUI_SketcherDlg::displayPreview( GEOM::GEOM_Object_ptr object, const bool append, const bool activate, const bool update, - const double lineWidth ) + const double lineWidth, + const int displayMode, + const int color) { // Set color for preview shape getDisplayer()->SetColor( Quantity_NOC_RED ); diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.h b/src/EntityGUI/EntityGUI_SketcherDlg.h index 64260b2ae..aeafad8cc 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.h +++ b/src/EntityGUI/EntityGUI_SketcherDlg.h @@ -133,7 +133,9 @@ private : const bool append = false, const bool activate = false, const bool update = true, - const double lineWidth = -1 ); + const double lineWidth = -1, + const int displayMode = -1, + const int color = -1); bool createShapes( GEOM::GEOM_Object_ptr theObject, TopoDS_Shape& theApplyedWire,