From 9961f0f9942ca431a1aae5d95649d23a0cfdf88f Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 14 Mar 2008 12:41:26 +0000 Subject: [PATCH] Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color). --- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 4 +++- src/EntityGUI/EntityGUI_SketcherDlg.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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, -- 2.39.2