Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color).

This commit is contained in:
rnv 2008-03-14 12:41:26 +00:00
parent 3731e3ec02
commit 9961f0f994
2 changed files with 6 additions and 2 deletions

View File

@ -1524,7 +1524,9 @@ void EntityGUI_SketcherDlg::displayPreview( GEOM::GEOM_Object_ptr object,
const bool append, const bool append,
const bool activate, const bool activate,
const bool update, const bool update,
const double lineWidth ) const double lineWidth,
const int displayMode,
const int color)
{ {
// Set color for preview shape // Set color for preview shape
getDisplayer()->SetColor( Quantity_NOC_RED ); getDisplayer()->SetColor( Quantity_NOC_RED );

View File

@ -133,7 +133,9 @@ private :
const bool append = false, const bool append = false,
const bool activate = false, const bool activate = false,
const bool update = true, 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, bool createShapes( GEOM::GEOM_Object_ptr theObject,
TopoDS_Shape& theApplyedWire, TopoDS_Shape& theApplyedWire,