Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / PartSet / PartSet_Constants.h
1 // File:        PartSet_Tools.h
2 // Created:     04 Jun 2014
3 // Author:      Natalia ERMOLAEVA
4
5 #ifndef PartSet_Constants_H
6 #define PartSet_Constants_H
7
8 #include <ModelAPI_Feature.h>
9
10 /// This file contains various constants used in the PartSet module
11
12 /// Types of viewer selection in an operation
13 enum PartSet_SelectionMode
14 {
15   SM_FirstPoint,
16   SM_SecondPoint,
17   SM_ThirdPoint,
18   SM_DonePoint
19 };
20
21 const int CONSTRAINT_TEXT_HEIGHT = 28; /// the text height of the constraint
22 const int CONSTRAINT_TEXT_SELECTION_TOLERANCE = 20; /// the text selection tolerance
23
24 #endif