40 #ifndef _DISPLAY_TYPES_H
41 #define _DISPLAY_TYPES_H
48 #if !defined(GLES) && !defined(_WIN32) && !defined(GL_VERSION_1_2)
49 #define REPLACE_TEXTURE_MODE GL_REPLACE_EXT
51 #define REPLACE_TEXTURE_MODE GL_REPLACE
55 #define NUM_TEXTURE_POINTS 4
57 #define OBJECT_SETTING_UNDEFINED -1
82 DEPTH_BUFFER_NO_TEST_NO_WRITE = 0,
83 DEPTH_BUFFER_TEST_AND_WRITE,
162 #define DEF_WINDOW_SIZE 500
163 #define DEF_FILE_NAME "Untitled"
165 #define DEF_LINE_RCOLOR 0
166 #define DEF_LINE_GCOLOR 0
167 #define DEF_LINE_BCOLOR 0
168 #define DEF_LINE_ALPHA 255
170 #define DEF_FILL_RCOLOR 255
171 #define DEF_FILL_GCOLOR 255
172 #define DEF_FILL_BCOLOR 255
173 #define DEF_FILL_ALPHA 255
175 #define DEF_GRID_RCOLOR 0
176 #define DEF_GRID_GCOLOR 0
177 #define DEF_GRID_BCOLOR 0
178 #define DEF_GRID_ALPHA 255
180 #define DEF_AXES_RCOLOR 0
181 #define DEF_AXES_GCOLOR 0
182 #define DEF_AXES_BCOLOR 0
183 #define DEF_AXES_ALPHA 255
185 #define DEF_TEXTURE_BLEND_RCOLOR 255
186 #define DEF_TEXTURE_BLEND_GCOLOR 255
187 #define DEF_TEXTURE_BLEND_BCOLOR 255
188 #define DEF_TEXTURE_BLEND_ALPHA 255
190 #define DEF_BACKGROUND_RCOLOR 160
191 #define DEF_BACKGROUND_GCOLOR 168
192 #define DEF_BACKGROUND_BCOLOR 176
193 #define DEF_BACKGROUND_ALPHA 255
195 #define DEF_LIGHT_COLOR 255
197 #define DEF_LINE_WIDTH 1.0
198 #define DEF_LINE_STIPPLE_PATTERN 65535
199 #define DEF_LINE_STIPPLE_MULTIPLIER 1
201 #define DEF_QUAD_WIDTH 25.0
202 #define DEF_QUAD_HEIGHT 25.0
204 #define DEF_CIRCLE_WIDTH 25.0
205 #define DEF_CIRCLE_HEIGHT 25.0
206 #define DEF_SHADING SHADING_FLAT
207 #define DEF_LIGHTING_ENABLED 0
208 #define DEF_USE_PARENT_LIGHTING true
209 #define DEF_POLY_MODE POLY_MODE_OUTLINE
210 #define DEF_POLY_END POLY_CLOSED
211 #define DEF_TEXTURE_REPEAT TRUE
212 #define DEF_TEXTURE_MAGNIFICATION TEXTURE_FILTER_LINEAR
213 #define DEF_TEXTURE_MINIFICATION TEXTURE_FILTER_LINEAR
214 #define DEF_TEXTURE_MAP TEXTURE_MAP_REPLACE
215 #define DEF_POLYGON_MIN_DIMENSION 1
217 #define DEF_POLYGON_OFFSET 0
219 #define DEF_DOUBLE_CLICK 500
220 #define DEF_DOUBLE_CLICK_TOLERANCE 5
222 #define DEF_STATIC_FLAG FALSE
223 #define DEF_ALPHAMODE ALPHA_MODE_256_LEVEL
224 #define DEF_VISIBILITY TRUE
225 #define DEF_CULLBACKFACE FALSE
226 #define DEF_ZBUFFER DEPTH_BUFFER_TEST_NO_WRITE
227 #define DEF_ANTIALIAS FALSE
228 #define DEF_CIRCLE_SEGMENTS 30
229 #define DEF_PROTECTION_MODE PUBLIC
230 #define DEF_ARC_ANGLE_AMOUNT 90.0
231 #define DEF_ARC_START_ANGLE 270.0
232 #define DEF_PROJECTION ORTHOGRAPHIC
233 #define DEF_BUFFER DOUBLE_BUFFER
234 #define DEF_FRAME_RATE 30
235 #define DEF_REDRAW REDRAW_CONSTANT
236 #define DEF_BLINK false
237 #define DEF_BLINK_RATE 2.0
238 #define DEF_PICKABLE PICK_FIRST
239 #define DEF_MATERIAL_INDEX 0
241 #define DEF_TEXTURE_PALETTE_SIZE 50
243 static const int MULTIPLE_TEXTURES_ON_OBJECT = -2;
258 VIEW_PERSPECTIVE = 8,
280 GLS_TEXTURE_MAP_MODE,
281 GLS_TEXTURE_MIN_FILTER,
282 GLS_TEXTURE_MAG_FILTER,
283 GLS_TEXTURE_BLEND_COLOR,
284 GLS_TEXTURE_ROTATION,
287 GLS_TEXTURE_OFFSET_X,
288 GLS_TEXTURE_OFFSET_Y,
293 GLS_COLOR_MATERIAL_MODE,
295 GLS_LINE_STIPPLE_PATTERN,
296 GLS_LINE_STIPPLE_MULTIPLIER,
306 GLS_LIGHTING_ENABLED,
308 GLS_MATERIAL_INDICES,
310 GLS_COMPONENT_ABSOLUTE_PLACEMENT,
311 GLS_COMPONENT_EDITOR_TRANSFORM,
Definition: display_types.h:76
Definition: display_types.h:85
Definition: display_types.h:101
Definition: display_types.h:74
ShadingType_e
Definition: display_types.h:115
Definition: display_types.h:141
GLS_Initializers
Definition: display_types.h:270
RedrawBehavior_e
Definition: display_types.h:130
Definition: display_types.h:133
Definition: display_types.h:132
PolygonMode_e
Definition: display_types.h:89
TextureFilter_e
Definition: display_types.h:69
Definition: display_types.h:153
Definition: display_types.h:151
Definition: display_types.h:92
Definition: display_types.h:104
Definition: display_types.h:93
Definition: display_types.h:103
Definition: display_types.h:111
A file for all GL Studio files to include.
Definition: display_types.h:64
Definition: display_types.h:117
Definition: display_types.h:91
Views
Definition: display_types.h:253
Definition: display_types.h:102
Definition: display_types.h:124
Definition: display_types.h:152
Definition: display_types.h:65
Definition: display_types.h:63
DepthBuffer_e
Definition: display_types.h:80
ColorMaterialMode_e
Definition: display_types.h:147
Definition: display_types.h:62
AlphaMode_e
Definition: display_types.h:99
PickableType_e
Definition: display_types.h:137
Definition: display_types.h:95
TextureMap_e
Definition: display_types.h:60
Definition: display_types.h:72
Definition: display_types.h:150
Definition: display_types.h:118
Definition: display_types.h:84
MemberAccess_e
Definition: display_types.h:122
Definition: display_types.h:94
Definition: display_types.h:75
Definition: display_types.h:71
Definition: display_types.h:139
PolygonClose_e
Definition: display_types.h:108
Definition: display_types.h:73
Definition: display_types.h:154
Definition: display_types.h:126
Definition: display_types.h:125
Definition: bmpimage.h:46
Definition: display_types.h:149
Definition: display_types.h:140
Definition: display_types.h:142
Definition: display_types.h:110