From 92a89a09adf9aa70a3cda500d33162a044082f9c Mon Sep 17 00:00:00 2001 From: sbh Date: Tue, 18 Nov 2014 15:44:47 +0300 Subject: [PATCH] Unused structure removed to make extended interfaces compilable under Windows --- src/GeomAPI/GeomAPI_AISObject.cpp | 6 ------ src/GeomAPI/GeomAPI_AISObject.h | 8 -------- 2 files changed, 14 deletions(-) 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 -- 2.30.2