From: sbh Date: Tue, 18 Nov 2014 12:44:47 +0000 (+0300) Subject: Unused structure removed to make extended interfaces compilable under Windows X-Git-Tag: V_0.5.2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92a89a09adf9aa70a3cda500d33162a044082f9c;p=modules%2Fshaper.git Unused structure removed to make extended interfaces compilable under Windows --- diff --git a/src/GeomAPI/GeomAPI_AISObject.cpp b/src/GeomAPI/GeomAPI_AISObject.cpp index b381074b8..46e67f998 100644 --- a/src/GeomAPI/GeomAPI_AISObject.cpp +++ b/src/GeomAPI/GeomAPI_AISObject.cpp @@ -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)()) { diff --git a/src/GeomAPI/GeomAPI_AISObject.h b/src/GeomAPI/GeomAPI_AISObject.h index 97b4688e0..03785b4ec 100644 --- a/src/GeomAPI/GeomAPI_AISObject.h +++ b/src/GeomAPI/GeomAPI_AISObject.h @@ -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