40 #ifndef _DISPLAY_TYPES_H
41 #define _DISPLAY_TYPES_H
47 #if !defined( GLES ) && !defined( _WIN32 ) && !defined( GL_VERSION_1_2 )
48 # define REPLACE_TEXTURE_MODE GL_REPLACE_EXT
50 # define REPLACE_TEXTURE_MODE GL_REPLACE
54 #define NUM_TEXTURE_POINTS 4
56 #define OBJECT_SETTING_UNDEFINED -1
81 DEPTH_BUFFER_NO_TEST_NO_WRITE = 0,
82 DEPTH_BUFFER_TEST_AND_WRITE,
161 #define DEF_WINDOW_SIZE 500
162 #define DEF_FILE_NAME "Untitled"
164 #define DEF_LINE_RCOLOR 0
165 #define DEF_LINE_GCOLOR 0
166 #define DEF_LINE_BCOLOR 0
167 #define DEF_LINE_ALPHA 255
169 #define DEF_FILL_RCOLOR 255
170 #define DEF_FILL_GCOLOR 255
171 #define DEF_FILL_BCOLOR 255
172 #define DEF_FILL_ALPHA 255
174 #define DEF_GRID_RCOLOR 0
175 #define DEF_GRID_GCOLOR 0
176 #define DEF_GRID_BCOLOR 0
177 #define DEF_GRID_ALPHA 255
179 #define DEF_AXES_RCOLOR 0
180 #define DEF_AXES_GCOLOR 0
181 #define DEF_AXES_BCOLOR 0
182 #define DEF_AXES_ALPHA 255
184 #define DEF_TEXTURE_BLEND_RCOLOR 255
185 #define DEF_TEXTURE_BLEND_GCOLOR 255
186 #define DEF_TEXTURE_BLEND_BCOLOR 255
187 #define DEF_TEXTURE_BLEND_ALPHA 255
189 #define DEF_BACKGROUND_RCOLOR 160
190 #define DEF_BACKGROUND_GCOLOR 168
191 #define DEF_BACKGROUND_BCOLOR 176
192 #define DEF_BACKGROUND_ALPHA 255
194 #define DEF_LIGHT_COLOR 255
196 #define DEF_LINE_WIDTH 1.0
197 #define DEF_LINE_STIPPLE_PATTERN 65535
198 #define DEF_LINE_STIPPLE_MULTIPLIER 1
200 #define DEF_QUAD_WIDTH 25.0
201 #define DEF_QUAD_HEIGHT 25.0
203 #define DEF_CIRCLE_WIDTH 25.0
204 #define DEF_CIRCLE_HEIGHT 25.0
205 #define DEF_SHADING SHADING_FLAT
206 #define DEF_LIGHTING_ENABLED 0
207 #define DEF_USE_PARENT_LIGHTING true
208 #define DEF_POLY_MODE POLY_MODE_OUTLINE
209 #define DEF_POLY_END POLY_CLOSED
210 #define DEF_TEXTURE_REPEAT TRUE
211 #define DEF_TEXTURE_MAGNIFICATION TEXTURE_FILTER_LINEAR
212 #define DEF_TEXTURE_MINIFICATION TEXTURE_FILTER_LINEAR
213 #define DEF_TEXTURE_MAP TEXTURE_MAP_REPLACE
214 #define DEF_POLYGON_MIN_DIMENSION 1
216 #define DEF_POLYGON_OFFSET 0
218 #define DEF_DOUBLE_CLICK 500
219 #define DEF_DOUBLE_CLICK_TOLERANCE 5
221 #define DEF_STATIC_FLAG FALSE
222 #define DEF_ALPHAMODE ALPHA_MODE_256_LEVEL
223 #define DEF_VISIBILITY TRUE
224 #define DEF_CULLBACKFACE FALSE
225 #define DEF_ZBUFFER DEPTH_BUFFER_TEST_NO_WRITE
226 #define DEF_ANTIALIAS FALSE
227 #define DEF_CIRCLE_SEGMENTS 30
228 #define DEF_PROTECTION_MODE PUBLIC
229 #define DEF_ARC_ANGLE_AMOUNT 90.0
230 #define DEF_ARC_START_ANGLE 270.0
231 #define DEF_PROJECTION ORTHOGRAPHIC
232 #define DEF_BUFFER DOUBLE_BUFFER
233 #define DEF_FRAME_RATE 30
234 #define DEF_REDRAW REDRAW_CONSTANT
235 #define DEF_BLINK false
236 #define DEF_BLINK_RATE 2.0
237 #define DEF_PICKABLE PICK_FIRST
238 #define DEF_MATERIAL_INDEX 0
240 #define DEF_TEXTURE_PALETTE_SIZE 50
242 static const int MULTIPLE_TEXTURES_ON_OBJECT = -2;
257 VIEW_PERSPECTIVE = 8,
271 GLS_INSTANCE_NAME = 1,
279 GLS_TEXTURE_MAP_MODE,
280 GLS_TEXTURE_MIN_FILTER,
281 GLS_TEXTURE_MAG_FILTER,
282 GLS_TEXTURE_BLEND_COLOR,
283 GLS_TEXTURE_ROTATION,
286 GLS_TEXTURE_OFFSET_X,
287 GLS_TEXTURE_OFFSET_Y,
292 GLS_COLOR_MATERIAL_MODE,
294 GLS_LINE_STIPPLE_PATTERN,
295 GLS_LINE_STIPPLE_MULTIPLIER,
305 GLS_LIGHTING_ENABLED,
307 GLS_MATERIAL_INDICES,
309 GLS_COMPONENT_ABSOLUTE_PLACEMENT,
310 GLS_COMPONENT_EDITOR_TRANSFORM,
Definition: display_types.h:75
Definition: display_types.h:84
Definition: display_types.h:100
Definition: display_types.h:73
ShadingType_e
Definition: display_types.h:114
Definition: display_types.h:140
GLS_Initializers
Definition: display_types.h:269
RedrawBehavior_e
Definition: display_types.h:129
Definition: display_types.h:132
Definition: display_types.h:131
PolygonMode_e
Definition: display_types.h:88
TextureFilter_e
Definition: display_types.h:68
Definition: display_types.h:152
Definition: display_types.h:150
Definition: display_types.h:91
Definition: display_types.h:103
Definition: display_types.h:92
Definition: display_types.h:102
Definition: display_types.h:110
A file for all GL Studio files to include.
Definition: display_types.h:63
Definition: display_types.h:116
Definition: display_types.h:90
Views
Definition: display_types.h:252
Definition: display_types.h:101
Definition: display_types.h:123
Definition: display_types.h:151
Definition: display_types.h:64
Definition: display_types.h:62
DepthBuffer_e
Definition: display_types.h:79
ColorMaterialMode_e
Definition: display_types.h:146
Definition: display_types.h:61
AlphaMode_e
Definition: display_types.h:98
PickableType_e
Definition: display_types.h:136
Definition: display_types.h:94
TextureMap_e
Definition: display_types.h:59
Definition: display_types.h:71
Definition: display_types.h:149
Definition: display_types.h:117
Definition: display_types.h:83
MemberAccess_e
Definition: display_types.h:121
Definition: display_types.h:93
Definition: display_types.h:74
Definition: display_types.h:70
Definition: display_types.h:138
PolygonClose_e
Definition: display_types.h:107
Definition: display_types.h:72
Definition: display_types.h:153
Definition: display_types.h:125
Definition: display_types.h:124
Definition: bmpimage.h:46
Definition: display_types.h:148
Definition: display_types.h:139
Definition: display_types.h:141
Definition: display_types.h:109