X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Constants.h;h=dc99c8340b9e27bc16bec39981312898f5ef7025;hb=dc8c7d55989687693352435d69da225fc849a645;hp=95b28bd003d80ada709fbd2d9164a328616cedc2;hpb=ae347a8a8014a15245199a3bb603413628e3f7d4;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Constants.h b/src/PartSet/PartSet_Constants.h index 95b28bd00..dc99c8340 100644 --- a/src/PartSet/PartSet_Constants.h +++ b/src/PartSet/PartSet_Constants.h @@ -1,6 +1,21 @@ -// File: PartSet_Tools.h -// Created: 04 Jun 2014 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef PartSet_Constants_H #define PartSet_Constants_H @@ -9,13 +24,7 @@ /// This file contains various constants used in the PartSet module -/// Types of viewer selection in an operation -enum PartSet_SelectionMode -{ - SM_FirstPoint, - SM_SecondPoint, - SM_DonePoint -}; - +////const int CONSTRAINT_TEXT_HEIGHT = 28; /// the text height of the constraint +////const int CONSTRAINT_TEXT_SELECTION_TOLERANCE = 20; /// the text selection tolerance #endif