X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Constants.h;h=b01be5f40e405a8039ff5b0a902f08b4e0f02eaf;hb=64bd95cebe79a5639800635efb7b0d21f13c079c;hp=95b28bd003d80ada709fbd2d9164a328616cedc2;hpb=3dd47d328c0457caf0ed74568f159ffef43ffb42;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_Constants.h b/src/PartSet/PartSet_Constants.h index 95b28bd00..b01be5f40 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-2022 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