Salome HOME
new files added
[modules/gui.git] / src / GLViewer / GLViewer_Defs.h
1 // File:      GLViewer_Defs.h
2 // Created:   March, 2005
3 // Author:    OCC team
4 // Copyright (C) CEA 2005
5
6 #ifndef GLVIEWER_DEFS_H
7 #define GLVIEWER_DEFS_H
8
9 //Selection staus 
10 enum SelectionChangeStatus
11 {
12     SCS_Invalid,
13     SCS_Local,
14     SCS_Global
15 };
16
17 //Fit Selection Rectangle
18 static const int      SELECTION_RECT_GAP = 50;
19
20 //Display Text Format of Objects
21 enum DisplayTextFormat
22 {
23   DTF_TEXTURE   = 0,
24   DTF_BITMAP    = 1
25 };
26
27 #define SEGMENTS   32
28 #define PI         3.14159265359
29 #define STEP       ( float )( 2 * PI / SEGMENTS )
30
31 #endif// GLVIEWER_DEFS_H