0022149: Strings with Japanese characters can not be displayed in 3D viewer
[occt.git] / src / InterfaceGraphic / InterfaceGraphic_tgl_all.hxx
1 /*
2 File InterfaceGraphic_tgl_all.h
3
4 16/06/2000 : ATS : G005 : Copied from OpenGl_tgl_all.h to support required
5 for InterfaceGraphic_Parray.hxx definitions
6 23-12-02 : SAV ; Added Tuint type
7 */
8
9 #ifndef  INTERFACEGRAPHIC_TGL_ALL_H
10 #define  INTERFACEGRAPHIC_TGL_ALL_H
11
12 typedef  int          Tint;
13 typedef  float        Tfloat;
14 /* PCD 04/07/07  */
15 typedef  double       Tdouble;
16 /* Tchar is treated as a signed char in visualization code,
17 therefore it should be made signed explicitly, as on Linux 
18 -funsigned-char option is specified when building OCCT */
19 typedef  signed char  Tchar;
20 typedef  char         Tbool;
21 typedef  unsigned int Tuint;
22 /* szv: Techar is an Extended character */
23 typedef  unsigned short Techar;
24
25 #define  TGL_SP   1
26 #define  TGL_DP   0
27
28 #if TGL_DP
29 #define v3f v3d
30 #define c3f c3d
31 #define n3f n3d
32 #endif
33
34 typedef  enum  
35
36   TFailure = -1, 
37   TSuccess 
38 } TStatus;
39
40 #define  TOn   1
41 #define  TOff  0
42
43 #define  TDone     1
44 #define  TNotDone  0
45
46 typedef  Tfloat  Tmatrix3[4][4];
47
48 typedef  enum    
49
50   TPreConcatenate, 
51   TPostConcatenate, 
52   TReplace 
53 } TComposeType;
54
55 #endif /* INTERFACEGRAPHIC_TGL_ALL_H */