]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Unused structure removed to make extended interfaces compilable under Windows V_0.5.2
authorsbh <sergey.belash@opencascade.com>
Tue, 18 Nov 2014 12:44:47 +0000 (15:44 +0300)
committersbh <sergey.belash@opencascade.com>
Tue, 18 Nov 2014 12:44:47 +0000 (15:44 +0300)
src/GeomAPI/GeomAPI_AISObject.cpp
src/GeomAPI/GeomAPI_AISObject.h

index b381074b8de85f2a577edd5d618070880ca17a54..46e67f998650942a785d65f08ba3522a737d3f76 100644 (file)
@@ -30,12 +30,6 @@ const double tolerance = 1e-7;
 const int CONSTRAINT_TEXT_HEIGHT = 28;  /// the text height of the constraint
 const int CONSTRAINT_TEXT_SELECTION_TOLERANCE = 20;  /// the text selection tolerance
 
-// Initialization of color constants
-int Colors::COLOR_BROWN = Quantity_NOC_BROWN;
-int Colors::COLOR_RED = Quantity_NOC_RED;
-int Colors::COLOR_GREEN = Quantity_NOC_GREEN;
-int Colors::COLOR_BLUE = Quantity_NOC_BLUE1;
-
 GeomAPI_AISObject::GeomAPI_AISObject()
     : GeomAPI_Interface(new Handle(AIS_InteractiveObject)())
 {
index 97b4688e02f289d43fd5c64d22cb82396c369431..03785b4ec08ce7aea5d1b1cacb75144f0f9f5731 100644 (file)
@@ -15,14 +15,6 @@ class GeomAPI_Pln;
 class GeomAPI_Pnt;
 class GeomAPI_Shape;
 
-struct GEOMAPI_EXPORT Colors
-{
-  static int COLOR_BROWN;
-  static int COLOR_RED;
-  static int COLOR_GREEN;
-  static int COLOR_BLUE;
-};
-
 /** \class GeomAPI_AISObject
  *  \ingroup DataModel
  *  \brief Interface for AIS_InteractiveObject