mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-25 02:52:03 +05:00
Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color).
This commit is contained in:
parent
3731e3ec02
commit
9961f0f994
@ -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 );
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user