Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 04_Viewer3d / res / Viewer3d.rc
1 //Microsoft Developer Studio generated resource script.
2 //
3 #include "resource.h"
4
5 #define APSTUDIO_READONLY_SYMBOLS
6 /////////////////////////////////////////////////////////////////////////////
7 //
8 // Generated from the TEXTINCLUDE 2 resource.
9 //
10 #include "afxres.h"
11 #include "..\..\Common\res\OCC_Resource.h"
12 /////////////////////////////////////////////////////////////////////////////
13 #undef APSTUDIO_READONLY_SYMBOLS
14
15 /////////////////////////////////////////////////////////////////////////////
16 // Russian resources
17
18 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
19 #ifdef _WIN32
20 LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
21 #pragma code_page(1251)
22 #endif //_WIN32
23
24 /////////////////////////////////////////////////////////////////////////////
25 //
26 // Dialog
27 //
28
29 IDD_SETOFFSETS DIALOGEX 442, 45, 187, 60
30 STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_VISIBLE | 
31     WS_CAPTION | WS_SYSMENU
32 EXSTYLE WS_EX_TOOLWINDOW
33 CAPTION "Set offsets"
34 FONT 8, "MS Sans Serif", 0, 0, 0x1
35 BEGIN
36     CONTROL         "Slider2",IDC_SLIDER_OFFSETFACTOR,"msctls_trackbar32",
37                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,39,14,100,15
38     LTEXT           "Factor:",IDC_STATIC,13,17,23,15
39     LTEXT           "Units:",IDC_STATIC,13,35,19,8
40     CONTROL         "Slider3",IDC_SLIDER_OFFSETUNITS,"msctls_trackbar32",
41                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,39,32,100,15
42     GROUPBOX        "Offset parameters",IDC_STATIC,7,6,173,47
43     EDITTEXT        IDC_EDIT_OFFSETFACTOR,148,14,22,14,ES_AUTOHSCROLL | 
44                     ES_NUMBER
45     EDITTEXT        IDC_EDIT_OFFSETUNITS,148,32,22,14,ES_AUTOHSCROLL | 
46                     ES_NUMBER
47 END
48
49 IDD_TRIHEDRON DIALOG DISCARDABLE  0, 0, 138, 95
50 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
51 CAPTION "Triedron settings"
52 FONT 8, "MS Sans Serif"
53 BEGIN
54     DEFPUSHBUTTON   "OK",IDOK,21,75,50,14
55     PUSHBUTTON      "Cancel",IDCANCEL,73,75,50,14
56     COMBOBOX        IDC_COMBOTRIHEDRPOS,38,8,92,60,CBS_DROPDOWN | CBS_SORT | 
57                     WS_VSCROLL | WS_TABSTOP
58     COMBOBOX        IDC_COMBOTRIHEDRCOLOR,38,29,92,78,CBS_DROPDOWN | 
59                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
60     EDITTEXT        IDC_EDITTRIHEDRSCALE,38,51,33,12,ES_CENTER | 
61                     ES_AUTOHSCROLL
62     LTEXT           "Color:",IDC_STATIC,8,31,20,8
63     LTEXT           "Position:",IDC_STATIC,8,10,28,8
64     LTEXT           "Scale:",IDC_STATIC,8,53,24,10
65     CONTROL         "Spin1",IDC_SPINTRIHEDRSCALE,"msctls_updown32",
66                     UDS_AUTOBUDDY | UDS_ARROWKEYS,70,51,11,12
67 END
68
69
70 /////////////////////////////////////////////////////////////////////////////
71 //
72 // DESIGNINFO
73 //
74
75 #ifdef APSTUDIO_INVOKED
76 GUIDELINES DESIGNINFO MOVEABLE PURE 
77 BEGIN
78     IDD_SETOFFSETS, DIALOG
79     BEGIN
80         LEFTMARGIN, 7
81         RIGHTMARGIN, 180
82         TOPMARGIN, 6
83         BOTTOMMARGIN, 53
84     END
85 END
86 #endif    // APSTUDIO_INVOKED
87
88 #endif    // Russian resources
89 /////////////////////////////////////////////////////////////////////////////
90
91
92 /////////////////////////////////////////////////////////////////////////////
93 // English (U.S.) resources
94
95 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
96 #ifdef _WIN32
97 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
98 #pragma code_page(1252)
99 #endif //_WIN32
100
101 /////////////////////////////////////////////////////////////////////////////
102 //
103 // Dialog
104 //
105
106 IDD_ZCLIPPING DIALOG DISCARDABLE  0, 0, 180, 95
107 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
108 CAPTION "ZClipping"
109 FONT 8, "MS Sans Serif"
110 BEGIN
111     DEFPUSHBUTTON   "OK",IDOK,13,68,50,14
112     PUSHBUTTON      "Cancel",IDCANCEL,70,68,50,14
113     CONTROL         "Slider1",IDC_SLIDER_ZCLIPPINGDEPTH,"msctls_trackbar32",
114                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,34,6,97,15
115     LTEXT           "Depth:",IDC_STATIC,13,9,22,8
116     GROUPBOX        "",IDC_STATIC,7,0,166,44
117     EDITTEXT        IDC_EDIT_ZCLIPPINGDEPTH,131,7,34,14,ES_AUTOHSCROLL | 
118                     ES_NUMBER
119     CONTROL         "Slider2",IDC_SLIDER_ZCLIPPINGWIDTH,"msctls_trackbar32",
120                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,34,25,97,15
121     LTEXT           "Width:",IDC_STATIC,13,28,22,8
122     EDITTEXT        IDC_EDIT_ZCLIPPINGWIDTH,131,26,34,14,ES_AUTOHSCROLL | 
123                     ES_NUMBER
124     COMBOBOX        IDC_COMBO_ZCLIPPINGTYPE,39,47,80,55,CBS_DROPDOWNLIST | 
125                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
126     LTEXT           "Type:",IDC_STATIC,13,49,19,8
127     GROUPBOX        "",IDC_STATIC,7,59,166,29
128 END
129
130 IDD_ZCUEING DIALOG DISCARDABLE  0, 0, 180, 95
131 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
132 CAPTION "ZCueing"
133 FONT 8, "MS Sans Serif"
134 BEGIN
135     DEFPUSHBUTTON   "OK",IDOK,13,68,50,14
136     PUSHBUTTON      "Cancel",IDCANCEL,70,68,50,14
137     CONTROL         "Slider1",IDC_SLIDER_ZCUEINGDEPTH,"msctls_trackbar32",
138                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,34,6,97,15
139     LTEXT           "Depth:",-1,13,9,22,8
140     GROUPBOX        "",-1,7,0,166,44
141     EDITTEXT        IDC_EDIT_ZCUEINGDEPTH,131,7,34,14,ES_AUTOHSCROLL | 
142                     ES_NUMBER
143     CONTROL         "Slider2",IDC_SLIDER_ZCUEINGWIDTH,"msctls_trackbar32",
144                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,34,25,97,15
145     LTEXT           "Width:",-1,13,28,22,8
146     EDITTEXT        IDC_EDIT_ZCUEINGWIDTH,131,26,34,14,ES_AUTOHSCROLL | 
147                     ES_NUMBER
148     GROUPBOX        "",-1,7,59,166,29
149     CONTROL         "Cueing ON/OFF",IDC_CHECK_CUEINGONOFF,"Button",
150                     BS_AUTOCHECKBOX | WS_TABSTOP,13,49,67,10
151 END
152
153 IDD_SHADINGMODEL DIALOG DISCARDABLE  0, 0, 60, 66
154 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
155 CAPTION "ShadingModel"
156 FONT 8, "MS Sans Serif"
157 BEGIN
158     PUSHBUTTON      "COLOR",IDC_SHADINGMODEL_COLOR,7,7,46,16
159     PUSHBUTTON      "FLAT",IDC_SHADINGMODEL_FLAT,7,25,46,15
160     PUSHBUTTON      "GOURAUD",IDC_SHADINGMODEL_GOURAUD,7,43,46,16
161 END
162
163 IDD_MODELCLIPPING DIALOG DISCARDABLE  0, 0, 180, 74
164 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
165 CAPTION "Model clipping"
166 FONT 8, "MS Sans Serif"
167 BEGIN
168     DEFPUSHBUTTON   "OK",IDOK,13,47,50,14
169     PUSHBUTTON      "Cancel",IDCANCEL,70,47,50,14
170     CONTROL         "Slider1",IDC_SLIDER_MODELCLIPPING_Z,"msctls_trackbar32",
171                     TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,21,6,97,15
172     LTEXT           "Z:",-1,12,10,8,8
173     GROUPBOX        "",-1,7,0,166,25
174     EDITTEXT        IDC_EDIT_MODELCLIPPING_Z,118,7,34,14,ES_AUTOHSCROLL | 
175                     ES_NUMBER
176     GROUPBOX        "",-1,7,38,166,29
177     CONTROL         "Model clipping ON/OFF",IDC_CHECK_MODELCLIPPINGONOFF,
178                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,28,91,10
179 END
180
181
182 #ifdef APSTUDIO_INVOKED
183 /////////////////////////////////////////////////////////////////////////////
184 //
185 // TEXTINCLUDE
186 //
187
188 1 TEXTINCLUDE MOVEABLE PURE 
189 BEGIN
190     "resource.h\0"
191 END
192
193 2 TEXTINCLUDE MOVEABLE PURE 
194 BEGIN
195     "#include ""afxres.h""\r\n"
196     "#include ""..\\..\\Common\\res\\OCC_Resource.h""\0"
197 END
198
199 3 TEXTINCLUDE MOVEABLE PURE 
200 BEGIN
201     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
202     "#define _AFX_NO_OLE_RESOURCES\r\n"
203     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
204     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
205     "\r\n"
206     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
207     "#ifdef _WIN32\r\n"
208     "LANGUAGE 9, 1\r\n"
209     "#pragma code_page(1252)\r\n"
210     "#endif\r\n"
211     "#include ""afxres.rc""         // Standard components\r\n"
212     "#endif\0"
213 END
214
215 #endif    // APSTUDIO_INVOKED
216
217
218 /////////////////////////////////////////////////////////////////////////////
219 //
220 // Bitmap
221 //
222
223 IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "..//res//Toolbar.bmp"
224 IDR_TB_AIS              BITMAP  MOVEABLE PURE   "..//res//AIS_TB.bmp"
225
226 /////////////////////////////////////////////////////////////////////////////
227 //
228 // Toolbar
229 //
230
231 IDR_MAINFRAME TOOLBAR MOVEABLE PURE  20, 20
232 BEGIN
233     BUTTON      ID_FILE_NEW
234     SEPARATOR
235     BUTTON      ID_BOX
236     BUTTON      ID_Cylinder
237     BUTTON      ID_SPHERE
238     SEPARATOR
239     BUTTON      ID_OVERLAPPED_BOX
240     BUTTON      ID_OVERLAPPED_CYLINDER
241     BUTTON      ID_OVERLAPPED_SPHERE
242     BUTTON      ID_POLYGON_OFFSETS
243     SEPARATOR
244     BUTTON      ID_ERASEALL
245     SEPARATOR
246     BUTTON      ID_SPOT_LIGHT
247     BUTTON      ID_POSITIONAL_LIGHT
248     BUTTON      ID_DIRECTIONAL_LIGHT
249     BUTTON      ID_AMBIENT_LIGHT
250     BUTTON      ID_CLEAR_LIGHTS
251     SEPARATOR
252     BUTTON      ID_ZCLIPPING
253     BUTTON      ID_ZCUEING
254     BUTTON      ID_SCALE
255     SEPARATOR
256     BUTTON      ID_SHADINGMODEL
257     BUTTON      ID_ANTIALIASINGONOFF
258     SEPARATOR
259     BUTTON      ID_MODELCLIPPING
260     SEPARATOR
261     BUTTON      ID_APP_ABOUT
262 END
263
264 IDR_TB_AIS TOOLBAR MOVEABLE PURE  20, 20
265 BEGIN
266     BUTTON      ID_OBJECT_WIREFRAME
267     BUTTON      ID_OBJECT_SHADING
268     BUTTON      ID_OBJECT_COLORED_MESH
269     SEPARATOR
270     BUTTON      ID_OBJECT_COLOR
271     BUTTON      ID_OBJECT_MATERIAL
272     BUTTON      ID_OBJECT_TRANSPARENCY
273     SEPARATOR
274     BUTTON      ID_OBJECT_ERASE
275     BUTTON      ID_OBJECT_DISPLAYALL
276     SEPARATOR
277     BUTTON      ID_OBJECT_REMOVE
278 END
279
280
281 /////////////////////////////////////////////////////////////////////////////
282 //
283 // Menu
284 //
285
286 IDR_MAINFRAME MENU DISCARDABLE 
287 BEGIN
288     POPUP "&File"
289     BEGIN
290         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
291         MENUITEM SEPARATOR
292         MENUITEM "E&xit",                       ID_APP_EXIT
293     END
294     POPUP "&View"
295     BEGIN
296         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
297         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
298     END
299     POPUP "&Help"
300     BEGIN
301         MENUITEM "&About Viewer3d...",          ID_APP_ABOUT
302     END
303 END
304
305 IDR_3DTYPE MENU DISCARDABLE 
306 BEGIN
307     POPUP "&File"
308     BEGIN
309         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
310         MENUITEM "&Close",                      ID_FILE_CLOSE
311         MENUITEM SEPARATOR
312         MENUITEM "E&xit",                       ID_APP_EXIT
313     END
314     POPUP "&View"
315     BEGIN
316         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
317         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
318     END
319     POPUP "&Options"
320     BEGIN
321         POPUP "&Trihedron"
322         BEGIN
323             MENUITEM "&Static Trihedron...",        ID_OPTIONS_TRIHEDRON_STATIC_TRIHEDRON
324
325             MENUITEM "&Dynamic Trihedron",          ID_OPTIONS_TRIHEDRON_DYNAMIC_TRIHEDRON
326
327         END
328     END
329     POPUP "&Window"
330     BEGIN
331         MENUITEM "&New Window",                 ID_WINDOW_NEW
332         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
333         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
334         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
335     END
336     POPUP "&Help"
337     BEGIN
338         MENUITEM "&About Viewer3d...",          ID_APP_ABOUT
339     END
340 END
341
342
343 #ifndef _MAC
344 /////////////////////////////////////////////////////////////////////////////
345 //
346 // Version
347 //
348
349 VS_VERSION_INFO VERSIONINFO
350  FILEVERSION 1,0,0,1
351  PRODUCTVERSION 1,0,0,1
352  FILEFLAGSMASK 0x3fL
353 #ifdef _DEBUG
354  FILEFLAGS 0x1L
355 #else
356  FILEFLAGS 0x0L
357 #endif
358  FILEOS 0x4L
359  FILETYPE 0x1L
360  FILESUBTYPE 0x0L
361 BEGIN
362     BLOCK "StringFileInfo"
363     BEGIN
364         BLOCK "040904b0"
365         BEGIN
366             VALUE "FileDescription", "Viewer MFC Application\0"
367             VALUE "FileVersion", "1, 0, 0, 1\0"
368             VALUE "InternalName", "Viewer\0"
369             VALUE "LegalCopyright", "Copyright (C) 1997\0"
370             VALUE "OriginalFilename", "Viewer.EXE\0"
371             VALUE "ProductName", "SampleViewer3d Application\0"
372             VALUE "ProductVersion", "1, 0, 0, 1\0"
373         END
374     END
375     BLOCK "VarFileInfo"
376     BEGIN
377         VALUE "Translation", 0x409, 1200
378     END
379 END
380
381 #endif    // !_MAC
382
383
384 /////////////////////////////////////////////////////////////////////////////
385 //
386 // String Table
387 //
388
389 STRINGTABLE DISCARDABLE 
390 BEGIN
391     IDR_MAINFRAME           "Viewer3d"
392     IDR_3DTYPE              "\nViewer3d\n\n\n\n.Document\n Document"
393 END
394
395 STRINGTABLE DISCARDABLE 
396 BEGIN
397     ID_BOX                  "Create and display a box\nBox"
398     ID_Cylinder             "Create and display a cylinder\nCylinder"
399     ID_SPHERE               "Create and display a sphere\nSphere"
400     ID_ERASEALL             "Remove all\nRemove all"
401     ID_AMBIENT_LIGHT        "Create an ambient light source\nAmbient light"
402     ID_DIRECTIONAL_LIGHT    "Create an directional light source\nDirectional light"
403     ID_POSITIONAL_LIGHT     "Create an positional light source\nPositional light"
404     ID_SPOT_LIGHT           "Create an spot light source\nSpot light"
405     ID_LIGHTOFF             "Delete lights\nDelete lights"
406     ID_ZCLIPPING            "ZClipping\nZClipping"
407     ID_ZCUEING              "ZCueing\nZCueing"
408     ID_SHADINGMODEL         "Define shading model\nShadingModel"
409     ID_ANTIALIASINGONOFF    "Antialiasing ON/OFF\nAntialiasing"
410 END
411
412 STRINGTABLE DISCARDABLE 
413 BEGIN
414     ID_CLEAR_LIGHTS         "Clear all the light sources\nClear lights"
415     ID_MODELCLIPPING        "ModelClipping\nModelClipping"
416     ID_OVERLAPPED_BOX       "Create and display two overlapped boxes\nOverlapped boxes"
417     ID_BUTTON819            "Create and display two overlapped spheres\nOverlapped spheres"
418     ID_OVERLAPPED_SPHERE    "Create and display two overlapped spheres\nOverlapped spheres"
419     ID_BUTTON821            "Create and display two overlapped boxes\nOverlapped boxes"
420     ID_OVERLAPPED_CYLINDER  "Create and display two overlapped cylinders\nOverlapped cylinders"
421     ID_POLYGON_OFFSETS      "Set/unset offsets\nSet/unset offsets"
422     ID_OBJECT_COLORED_MESH  "Puts cylinder in colored mesh\nColored mesh"
423     ID_SCALE                "Scale\nScale"
424 END
425
426 #endif    // English (U.S.) resources
427 /////////////////////////////////////////////////////////////////////////////
428
429
430 /////////////////////////////////////////////////////////////////////////////
431 // English (U.K.) resources
432
433 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
434 #ifdef _WIN32
435 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
436 #pragma code_page(1252)
437 #endif //_WIN32
438
439 /////////////////////////////////////////////////////////////////////////////
440 //
441 // Dialog
442 //
443
444 IDD_SCALE DIALOG DISCARDABLE  0, 0, 186, 103
445 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
446 CAPTION "Heterogeneous Scale"
447 FONT 8, "MS Sans Serif"
448 BEGIN
449     DEFPUSHBUTTON   "OK",IDOK,13,78,50,14
450     PUSHBUTTON      "Cancel",IDCANCEL,70,78,50,14
451     GROUPBOX        "",IDC_STATIC,7,69,166,29
452     GROUPBOX        "",IDC_STATIC,7,0,166,65
453     CONTROL         "Slider1",IDC_SLIDER_SCALEX,"msctls_trackbar32",TBS_BOTH | 
454                     TBS_NOTICKS | WS_TABSTOP,34,6,97,15
455     LTEXT           "X:",IDC_STATIC,13,9,8,8
456     EDITTEXT        IDC_EDIT_SCALEX,131,7,34,14,ES_AUTOHSCROLL | ES_NUMBER
457     CONTROL         "Slider2",IDC_SLIDER_SCALEY,"msctls_trackbar32",TBS_BOTH | 
458                     TBS_NOTICKS | WS_TABSTOP,34,25,97,15
459     LTEXT           "Y:",IDC_STATIC,13,28,8,8
460     EDITTEXT        IDC_EDIT_SCALEY,131,26,34,14,ES_AUTOHSCROLL | ES_NUMBER
461     CONTROL         "Slider2",IDC_SLIDER_SCALEZ,"msctls_trackbar32",TBS_BOTH | 
462                     TBS_NOTICKS | WS_TABSTOP,34,45,97,15
463     LTEXT           "Z:",IDC_STATIC,13,48,8,8
464     EDITTEXT        IDC_EDIT_SCALEZ,131,46,34,14,ES_AUTOHSCROLL | ES_NUMBER
465 END
466
467
468 /////////////////////////////////////////////////////////////////////////////
469 //
470 // DESIGNINFO
471 //
472
473 #ifdef APSTUDIO_INVOKED
474 GUIDELINES DESIGNINFO DISCARDABLE 
475 BEGIN
476     IDD_SCALE, DIALOG
477     BEGIN
478         LEFTMARGIN, 7
479         RIGHTMARGIN, 179
480         TOPMARGIN, 7
481         BOTTOMMARGIN, 96
482     END
483 END
484 #endif    // APSTUDIO_INVOKED
485
486 #endif    // English (U.K.) resources
487 /////////////////////////////////////////////////////////////////////////////
488
489
490
491 #ifndef APSTUDIO_INVOKED
492 /////////////////////////////////////////////////////////////////////////////
493 //
494 // Generated from the TEXTINCLUDE 3 resource.
495 //
496 #define _AFX_NO_SPLITTER_RESOURCES
497 #define _AFX_NO_OLE_RESOURCES
498 #define _AFX_NO_TRACKER_RESOURCES
499 #define _AFX_NO_PROPERTY_RESOURCES
500
501 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
502 #ifdef _WIN32
503 LANGUAGE 9, 1
504 #pragma code_page(1252)
505 #endif
506 #include "afxres.rc"         // Standard components
507 #endif
508 /////////////////////////////////////////////////////////////////////////////
509 #endif    // not APSTUDIO_INVOKED
510