0022149: Strings with Japanese characters can not be displayed in 3D viewer
[occt.git] / src / InterfaceGraphic / InterfaceGraphic_tgl_all.hxx
CommitLineData
7fd59977 1/*
2File InterfaceGraphic_tgl_all.h
3
416/06/2000 : ATS : G005 : Copied from OpenGl_tgl_all.h to support required
5for InterfaceGraphic_Parray.hxx definitions
623-12-02 : SAV ; Added Tuint type
7*/
8
9#ifndef INTERFACEGRAPHIC_TGL_ALL_H
10#define INTERFACEGRAPHIC_TGL_ALL_H
11
12typedef int Tint;
13typedef float Tfloat;
14/* PCD 04/07/07 */
15typedef double Tdouble;
16/* Tchar is treated as a signed char in visualization code,
17therefore it should be made signed explicitly, as on Linux
18-funsigned-char option is specified when building OCCT */
19typedef signed char Tchar;
20typedef char Tbool;
21typedef unsigned int Tuint;
13a22457
S
22/* szv: Techar is an Extended character */
23typedef unsigned short Techar;
7fd59977 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
34typedef 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
46typedef Tfloat Tmatrix3[4][4];
47
48typedef enum
49{
50 TPreConcatenate,
51 TPostConcatenate,
52 TReplace
53} TComposeType;
54
55#endif /* INTERFACEGRAPHIC_TGL_ALL_H */