]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Implementation of NPAL16017 (EDF 415 GEOM : Sketcher Modify the preview color).
authorrnv <rnv@opencascade.com>
Fri, 14 Mar 2008 12:41:26 +0000 (12:41 +0000)
committerrnv <rnv@opencascade.com>
Fri, 14 Mar 2008 12:41:26 +0000 (12:41 +0000)
src/EntityGUI/EntityGUI_SketcherDlg.cxx
src/EntityGUI/EntityGUI_SketcherDlg.h

index 2e0446a184fc0dcac84f82d69224ec662cc8e67f..0d2297a65e90fe191152163612ca4c99ffe25d42 100644 (file)
@@ -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 );
index 64260b2ae166c2bd28a3a6fc4cd3506ca24effb9..aeafad8cc7187c36d133c7dacdff9b40e114ea0f 100644 (file)
@@ -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,