gCAD3D 2.40
gr_types.h
Go to the documentation of this file.
1 /* func_types.h
2 
3 Allgemeines Userinterface.
4 
5 
6 Korr:
7 2002-02-20 ../gr/ut_GR.h zu. RF.
8 2001-06-14 Neu zu. RF.
9 
10 */
11 
12 // #define STAT_deleted 0
13 // #define STAT_normal 1
14 
15 
16 #ifdef globTag
17 void INF_ATT_CV (){}
18 #endif
19 // attributes for lines,curves
20 #define Typ_Att_PT 0 // jellow
21 #define Typ_Att_def 1 // blue
22 #define Typ_Att_go 2
23 #define Typ_Att_rp 3
24 #define Typ_Att_Fac 4
25 #define Typ_Att_Fac1 5
26 #define Typ_Att_Fac2 6
27 #define Typ_Att_Symb 7
28 #define Typ_Att_hili 8 // white
29 #define Typ_Att_hili1 9 // red, thick=3
30 #define Typ_Att_dim 10 // unlimited lines
31 #define Typ_Att_top1 11
32 #define Typ_Att_top2 12 // used for parent-obj's
33 
34 
35 #ifdef globTag
36 void INF_BITMAP_SYMBOLS (){}
37 #endif
38 // bitmapsymbols for GL_Disp_symB color: GL_att_sym
39 #define SYM_TRI_S 130 // Bitmap tringle small
40 #define SYM_STAR_S 131 // star, small
41 #define SYM_CIR_S 132 // Bitmap circle small
42 #define SYM_TRI_B 133 // Bitmap triangle big
43 
44 
45 
46 #define SYM_VEC 139 // das Vektorsymb (nicht skaliert)
47 
48 #define SYM_AXIS 140 // first vector-symbol; Axis mit X,Y,Z-Char's
49 #define SYM_AXIS1 147 // Axis ohne Buchstaben (Sym.Rotcen)
50 #define SYM_SQUARE 142
51 #define SYM_PLANE 145
52 #define SYM_CROSS 143 // PosCross
53 #define SYM_TRIANG 141
54 #define SYM_CROSS1 144 // Schere
55 #define SYM_ARROH 146 // arrow - 2D-head only
56 #define SYM_ARROW 148 // arrow
57 #define SYM_ARRO3H 138 // arrow - 3D-head only
58 #define SYM_LENGTH 149 //
59 
60 #define SYM_CLIPBOX 150 // internal use, Vektor; unused ..
61 
62 #ifdef globTag
63 void INF_COL_PT (){}
64 #endif
65 // color of point(-symbols); value = thickness
66 // GL_att_pt GL_InitPtAtt
67 #define ATT_PT_BLACK 0
68 #define ATT_PT_HILI 1
69 #define ATT_PT_DIMMED 2
70 #define ATT_PT_GREEN 3
71 #define ATT_PT_YELLOW 4
72 
73 
74 #ifdef globTag
75 void INF_COL_SYMB (){}
76 #endif
77 // color of symbols (text, ..) and (tesselated) surfaces
78 // Definition: GL_col_tab in ../gr/ut_GL.c
79 #define ATT_COL_BLACK 0
80 #define ATT_COL_RED 2
81 #define ATT_COL_GREEN 3
82 #define ATT_COL_BLUE 4
83 #define ATT_COL_YELLOW 5
84 #define ATT_COL_MAGENTA 6
85 #define ATT_COL_CYAN 7
86 #define ATT_COL_WHITE 8
87 #define ATT_COL_HILI 9
88 #define ATT_COL_DIMMED 10
89 
90 // linetypes
91 #define LTYP_full 0
92 #define LTYP_dashLong 3
93 #define LTYP_dashShort 2
94 #define LTYP_dashDot 1
95 
96 
97 //============================================================
98 
99 
100 // textured or not; 0=normal (not textured), 1=textured.
101 #define IF_TEXURE(att) ((ColRGB*)&(att))->vtex & AP_stat.texture
102 
103 void UI_AP (int func, int widgetID, void* data);
104 
105 
106 
107 
108 //============ EOF =============
void UI_AP()
Definition: xa_batch.c:274