1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: float3d.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svx/dialogs.hrc>
32 #include "float3d.hrc"
36 #define BUTTON_WIDTH 13
37 #define BUTTON_HEIGHT 13
38 #define VT_BUTTON_WIDTH 18
39 #define GROUP_Y (BORDER + BUTTON_HEIGHT + 3)
40 #define GROUP_HEIGHT 95
41 #define GROUP_WIDTH (WIDTH - 2 * BORDER)
42 #define GROUP_PREV_X 60
43 #define GROUP_PREV_Y (GROUP_Y + GROUP_HEIGHT + 1)
44 #define GROUP_PREV_WIDTH (WIDTH - BORDER - GROUP_PREV_X)
45 #define GROUP_PREV_HEIGHT (HEIGHT - GROUP_PREV_Y - BORDER)
46 #define IMG_BUTTON_HEIGHT 15
47 #define IMG_BUTTON_NEXT (IMG_BUTTON_HEIGHT + 2)
48 #define IMG_BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, IMG_BUTTON_HEIGHT )
49 #define FIXED_LINE_HEIGHT 8
50 #define FIXED_LINE_SIZE MAP_APPFONT( GROUP_WIDTH, FIXED_LINE_HEIGHT )
51 #define TOP_FIXED_LINE_POS MAP_APPFONT( BORDER, 2+BORDER + IMG_BUTTON_HEIGHT )
52 #define FT_WIDTH_SHORT 56
53 #define FT_WIDTH_LONG 89
55 #define FT_OFFSET_NEXT (FT_HEIGHT + 6)
56 #define FT_INDENT (BORDER + 6)
57 #define FIRST_FT_START_Y (2+BORDER+IMG_BUTTON_HEIGHT + 13)
58 #define SEGMENTS_START_Y (FIRST_FT_START_Y + 3*FT_OFFSET_NEXT + 13)
59 #define NORMALS_START_Y (SEGMENTS_START_Y + 2*13)
60 #define NORMALS_BT_START_Y (SEGMENTS_START_Y + 2*13 +11)
61 #define SHADOW_START_Y (FIRST_FT_START_Y + 13)
62 #define CAMERA_START_Y (SHADOW_START_Y + FT_OFFSET_NEXT + 13)
63 #define SPECULAR_START_Y (FIRST_FT_START_Y + 2*FT_OFFSET_NEXT + 13)
65 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
68 DockingWindow RID_SVXFLOAT_3D
79 EnableResizing = TRUE ;
80 Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
81 Text [ en-US ] = "3D Effects" ;
87 Pos = MAP_APPFONT ( 4 , BORDER ) ;
88 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
92 ImageBitmap = Bitmap { File = "3dgeo.bmp" ; };
95 QuickHelpText [ en-US ] = "Geometry" ;
97 ImageButton BTN_REPRESENTATION
99 Pos = MAP_APPFONT ( 22 , BORDER ) ;
100 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
104 ImageBitmap = Bitmap { File = "3drepres.bmp" ; };
107 QuickHelpText [ en-US ] = "Shading" ;
109 ImageButton BTN_LIGHT
111 Pos = MAP_APPFONT ( 40 , BORDER ) ;
112 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
116 ImageBitmap = Bitmap { File = "3dlight.bmp" ; };
119 QuickHelpText [ en-US ] = "Illumination" ;
121 ImageButton BTN_TEXTURE
123 Pos = MAP_APPFONT ( 58 , BORDER ) ;
124 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
127 ImageBitmap = Bitmap { File = "3dtextur.bmp" ; };
131 QuickHelpText [ en-US ] = "Textures" ;
133 ImageButton BTN_MATERIAL
135 Pos = MAP_APPFONT ( 76 , BORDER ) ;
136 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
140 ImageBitmap = Bitmap { File = "material.bmp" ; };
143 QuickHelpText [ en-US ] = "Material" ;
146 ImageButton BTN_UPDATE
148 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH * 2 , BORDER ) ;
149 Size = IMG_BUTTON_SIZE;
153 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
156 QuickHelpText [ en-US ] = "Update" ;
158 ImageButton BTN_ASSIGN
160 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH , BORDER ) ;
161 Size = IMG_BUTTON_SIZE;
165 ImageBitmap = Bitmap { File = "apply.bmp" ; };
168 QuickHelpText [ en-US ] = "Assign" ;
171 ImageButton BTN_CHANGE_TO_3D
173 Pos = MAP_APPFONT ( 9 , 200 - BUTTON_HEIGHT ) ;
174 Size = IMG_BUTTON_SIZE;
178 ImageBitmap = Bitmap { File = "convrt3d.bmp" ; };
182 QuickHelpText [ en-US ] = "Convert to 3D" ;
184 ImageButton BTN_LATHE_OBJ
186 Pos = MAP_APPFONT ( 9 + BUTTON_WIDTH + 1 , 200 - BUTTON_HEIGHT ) ;
187 Size = IMG_BUTTON_SIZE;
191 ImageBitmap = Bitmap { File = "rotate3d.bmp" ; };
195 QuickHelpText [ en-US ] = "Convert to Lathe Object" ;
197 ImageButton BTN_PERSPECTIVE
199 Pos = MAP_APPFONT ( 9 + ( BUTTON_WIDTH + 1 ) * 2 , 200 - BUTTON_HEIGHT ) ;
200 Size = IMG_BUTTON_SIZE;
204 ImageBitmap = Bitmap { File = "persp3d.bmp" ; };
208 QuickHelpText [ en-US ] = "Perspective On/Off" ;
213 Pos = MAP_APPFONT ( 66 , 124 ) ;
214 Size = MAP_APPFONT ( 83 , 76 ) ;
217 Control CTL_LIGHT_PREVIEW
220 Pos = MAP_APPFONT ( 66 , 124 ) ;
221 Size = MAP_APPFONT ( 83 , 76 ) ;
224 FixedLine FL_GEOMETRIE
226 Pos = TOP_FIXED_LINE_POS;
227 Size = FIXED_LINE_SIZE;
228 Text [ en-US ] = "Geometry" ;
230 FixedText FT_PERCENT_DIAGONAL
232 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y );
233 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
234 Text [ en-US ] = "R~ounded edges" ;
236 MetricField MTR_PERCENT_DIAGONAL
239 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 , FIRST_FT_START_Y - 2 ) ;
240 Size = MAP_APPFONT ( 50 , 12 ) ;
247 Unit = FUNIT_CUSTOM ;
248 CustomUnitText = "%" ;
250 FixedText FT_BACKSCALE
252 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
253 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
254 Text [ en-US ] = "~Scaled depth" ;
256 MetricField MTR_BACKSCALE
259 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
260 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
261 Size = MAP_APPFONT ( 50 , 12 ) ;
267 Unit = FUNIT_CUSTOM ;
268 CustomUnitText = "%" ;
271 FixedText FT_END_ANGLE
273 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
274 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
275 Text [ en-US ] = "~Rotation angle" ;
277 MetricField MTR_END_ANGLE
280 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
281 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
282 Size = MAP_APPFONT ( 50 , 12 ) ;
287 Unit = FUNIT_CUSTOM ;
291 CustomUnitText [ en-US ] = " degree(s)";
295 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*FT_OFFSET_NEXT ) ;
296 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
297 Text [ en-US ] = "~Depth" ;
299 MetricField MTR_DEPTH
302 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
303 FIRST_FT_START_Y + 3*FT_OFFSET_NEXT - 2 ) ;
304 Size = MAP_APPFONT ( 50 , 12 ) ;
309 StrictFormat = TRUE ;
317 FixedLine FL_SEGMENTS
319 Pos = MAP_APPFONT ( BORDER , SEGMENTS_START_Y ) ;
320 Size = FIXED_LINE_SIZE;
321 Text [ en-US ] = "Segments" ;
324 FixedText FT_HORIZONTAL
326 Pos = MAP_APPFONT ( FT_INDENT , SEGMENTS_START_Y+13 ) ;
327 Size = MAP_APPFONT ( 40 , 8 ) ;
328 Text [ en-US ] = "~Horizontal" ;
330 NumericField NUM_HORIZONTAL
333 Pos = MAP_APPFONT ( FT_INDENT + 42, SEGMENTS_START_Y+13-2 ) ;
334 Size = MAP_APPFONT ( 22 , 12 ) ;
343 FixedText FT_VERTICAL
345 Pos = MAP_APPFONT ( FT_INDENT + 74 , SEGMENTS_START_Y+13 ) ;
346 Size = MAP_APPFONT ( 40 , 8 ) ;
347 Text [ en-US ] = "~Vertical" ;
349 NumericField NUM_VERTICAL
352 Pos = MAP_APPFONT ( FT_INDENT + 114+2 , SEGMENTS_START_Y+13-2 ) ;
353 Size = MAP_APPFONT ( 22 , 12 ) ;
365 Pos = MAP_APPFONT ( BORDER , NORMALS_START_Y ) ;
366 Size = MAP_APPFONT ( 54 , 8 ) ;
367 Text [ en-US ] = "Normals" ;
369 ImageButton BTN_NORMALS_OBJ
371 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y ) ;
372 Size = IMG_BUTTON_SIZE;
375 ImageBitmap = Bitmap { File = "normobjs.bmp" ; };
379 QuickHelpText [ en-US ] = "Object-Specific" ;
381 ImageButton BTN_NORMALS_FLAT
383 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) , NORMALS_BT_START_Y ) ;
384 Size = IMG_BUTTON_SIZE;
387 ImageBitmap = Bitmap { File = "normflat.bmp" ; };
391 QuickHelpText [ en-US ] = "Flat" ;
393 ImageButton BTN_NORMALS_SPHERE
395 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 , NORMALS_BT_START_Y ) ;
396 Size = IMG_BUTTON_SIZE;
399 ImageBitmap = Bitmap { File = "normsphe.bmp" ; };
403 QuickHelpText [ en-US ] = "Spherical" ;
405 ImageButton BTN_NORMALS_INVERT
407 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
408 Size = IMG_BUTTON_SIZE;
411 ImageBitmap = Bitmap { File = "invert3d.bmp" ; };
415 QuickHelpText [ en-US ] = "Invert Normals" ;
417 ImageButton BTN_TWO_SIDED_LIGHTING
419 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 ,
420 NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
421 Size = IMG_BUTTON_SIZE;
424 ImageBitmap = Bitmap { File = "lght2sid.bmp" ; };
428 QuickHelpText [ en-US ] = "Double-Sided Illumination" ;
430 ImageButton BTN_DOUBLE_SIDED
432 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + 2*IMG_BUTTON_NEXT ) ;
433 Size = IMG_BUTTON_SIZE;
436 ImageBitmap = Bitmap { File = "doublesi.bmp" ; };
440 QuickHelpText [ en-US ] = "Double-Sided" ;
444 FixedText FT_SHADEMODE
446 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
447 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
448 Text [ en-US ] = "~Mode" ;
453 Pos = MAP_APPFONT ( 66 , 30 ) ;
454 Size = MAP_APPFONT ( 83 , 100 ) ;
457 StringList [ en-US ] =
466 Pos = MAP_APPFONT ( BORDER , SHADOW_START_Y ) ;
467 Size = FIXED_LINE_SIZE;
468 Text [ en-US ] = "Shadow" ;
470 ImageButton BTN_SHADOW_3D
472 Pos = MAP_APPFONT ( FT_INDENT , SHADOW_START_Y + 11 ) ;
473 Size = IMG_BUTTON_SIZE;
477 ImageBitmap = Bitmap { File = "shadow3d.bmp" ; };
481 QuickHelpText [ en-US ] = "3D Shadowing On/Off" ;
485 Pos = MAP_APPFONT ( FT_INDENT + BUTTON_WIDTH + 3 , SHADOW_START_Y + 11 + 2 ) ;
486 Size = MAP_APPFONT ( 68 , FT_HEIGHT ) ;
488 Text [ en-US ] = "S~urface angle" ;
490 MetricField MTR_SLANT
493 Pos = MAP_APPFONT ( 99 , SHADOW_START_Y + 11 ) ;
494 Size = MAP_APPFONT ( 50 , 12 ) ;
500 Unit = FUNIT_CUSTOM ;
502 CustomUnitText [ en-US ] = " degree(s)";
507 Pos = MAP_APPFONT ( BORDER , CAMERA_START_Y ) ;
508 Size = FIXED_LINE_SIZE;
509 Text [ en-US ] = "Camera" ;
511 FixedText FT_DISTANCE
513 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 ) ;
514 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
515 Text [ en-US ] = "~Distance" ;
517 MetricField MTR_DISTANCE
520 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
521 CAMERA_START_Y + 11 - 2 ) ;
522 Size = MAP_APPFONT ( 50 , 12 ) ;
526 StrictFormat = TRUE ;
535 FixedText FT_FOCAL_LENGTH
537 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 + FT_OFFSET_NEXT ) ;
538 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
539 Text [ en-US ] = "~Focal length" ;
541 MetricField MTR_FOCAL_LENGTH
544 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
545 CAMERA_START_Y + 11 + FT_OFFSET_NEXT - 2 ) ;
546 Size = MAP_APPFONT ( 50 , 12 ) ;
550 StrictFormat = TRUE ;
559 FixedLine FL_REPRESENTATION
561 Pos = TOP_FIXED_LINE_POS;
562 Size = FIXED_LINE_SIZE;
563 Text [ en-US ] = "Shading" ;
566 FixedText FT_LIGHTSOURCE
568 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
569 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
570 Text [ en-US ] = "~Light source" ;
572 ImageButton BTN_LIGHT_1
574 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 11 ) ;
575 Size = MAP_APPFONT ( 12 , 14 ) ;
578 ImageBitmap = Bitmap { File = "light.bmp" ; };
582 QuickHelpText [ en-US ] = "Light Source 1" ;
584 ImageButton BTN_LIGHT_2
586 Pos = MAP_APPFONT ( FT_INDENT + 13 , FIRST_FT_START_Y + 11 ) ;
587 Size = MAP_APPFONT ( 12 , 14 ) ;
590 ImageBitmap = Bitmap { File = "light.bmp" ; };
594 QuickHelpText [ en-US ] = "Light Source 2" ;
596 ImageButton BTN_LIGHT_3
598 Pos = MAP_APPFONT ( FT_INDENT + 2*13 , FIRST_FT_START_Y + 11 ) ;
599 Size = MAP_APPFONT ( 12 , 14 ) ;
602 ImageBitmap = Bitmap { File = "light.bmp" ; };
606 QuickHelpText [ en-US ] = "Light Source 3" ;
608 ImageButton BTN_LIGHT_4
610 Pos = MAP_APPFONT ( FT_INDENT + 3*13 , FIRST_FT_START_Y + 11 ) ;
611 Size = MAP_APPFONT ( 12 , 14 ) ;
614 ImageBitmap = Bitmap { File = "light.bmp" ; };
618 QuickHelpText [ en-US ] = "Light Source 4" ;
620 ImageButton BTN_LIGHT_5
622 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 26 ) ;
623 Size = MAP_APPFONT ( 12 , 14 ) ;
626 ImageBitmap = Bitmap { File = "light.bmp" ; };
630 QuickHelpText [ en-US ] = "Light Source 5" ;
632 ImageButton BTN_LIGHT_6
634 Pos = MAP_APPFONT ( FT_INDENT + 13, FIRST_FT_START_Y + 26 ) ;
635 Size = MAP_APPFONT ( 12 , 14 ) ;
638 ImageBitmap = Bitmap { File = "light.bmp" ; };
642 QuickHelpText [ en-US ] = "Light Source 6" ;
644 ImageButton BTN_LIGHT_7
646 Pos = MAP_APPFONT ( FT_INDENT + 2*13, FIRST_FT_START_Y + 26 ) ;
647 Size = MAP_APPFONT ( 12 , 14 ) ;
650 ImageBitmap = Bitmap { File = "light.bmp" ; };
654 QuickHelpText [ en-US ] = "Light Source 7" ;
656 ImageButton BTN_LIGHT_8
658 Pos = MAP_APPFONT ( FT_INDENT +3*13 , FIRST_FT_START_Y + 26 ) ;
659 Size = MAP_APPFONT ( 12 , 14 ) ;
662 ImageBitmap = Bitmap { File = "light.bmp" ; };
666 QuickHelpText [ en-US ] = "Light Source 8" ;
671 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
672 Size = MAP_APPFONT ( 68 , 100 ) ;
679 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
680 Size = MAP_APPFONT ( 68 , 100 ) ;
687 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
688 Size = MAP_APPFONT ( 68 , 100 ) ;
695 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
696 Size = MAP_APPFONT ( 68 , 100 ) ;
703 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
704 Size = MAP_APPFONT ( 68 , 100 ) ;
711 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
712 Size = MAP_APPFONT ( 68 , 100 ) ;
719 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
720 Size = MAP_APPFONT ( 68 , 100 ) ;
727 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
728 Size = MAP_APPFONT ( 68 , 100 ) ;
732 ImageButton BTN_LIGHT_COLOR
734 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 11 ) ;
735 Size = MAP_APPFONT ( 12 , 14 ) ;
738 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
742 QuickHelpText [ en-US ] = "Colors Dialog" ;
744 FixedText FT_AMBIENTLIGHT
746 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y + 53 ) ;
747 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
748 Text [ en-US ] = "~Ambient light" ;
750 ListBox LB_AMBIENTLIGHT
753 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 , FIRST_FT_START_Y + 53 ) ;
754 Size = MAP_APPFONT ( 68 , 100 ) ;
758 ImageButton BTN_AMBIENT_COLOR
760 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 53 ) ;
761 Size = MAP_APPFONT ( 12 , 14 ) ;
764 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
768 QuickHelpText [ en-US ] = "Colors Dialog" ;
773 Pos = TOP_FIXED_LINE_POS;
774 Size = FIXED_LINE_SIZE ;
775 Text [ en-US ] = "Illumination" ;
778 FixedText FT_TEX_KIND
780 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
781 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
782 Text [ en-US ] = "~Type" ;
784 ImageButton BTN_TEX_LUMINANCE
786 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
787 FIRST_FT_START_Y - 2 ) ;
788 Size = IMG_BUTTON_SIZE;
791 ImageBitmap = Bitmap { File = "luminanc.bmp" ; };
795 QuickHelpText [ en-US ] = "Black & White" ;
797 ImageButton BTN_TEX_COLOR
799 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
800 FIRST_FT_START_Y - 2 ) ;
801 Size = IMG_BUTTON_SIZE;
804 ImageBitmap = Bitmap { File = "color.bmp" ; };
808 QuickHelpText [ en-US ] = "Color" ;
810 FixedText FT_TEX_MODE
812 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + IMG_BUTTON_NEXT ) ;
813 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
814 Text [ en-US ] = "~Mode" ;
816 ImageButton BTN_TEX_REPLACE
818 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
819 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
820 Size = IMG_BUTTON_SIZE;
823 ImageBitmap = Bitmap { File = "replac3d.bmp" ; };
827 QuickHelpText [ en-US ] = "Only Texture" ;
829 ImageButton BTN_TEX_MODULATE
831 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
832 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
833 Size = IMG_BUTTON_SIZE;
836 ImageBitmap = Bitmap { File = "modula3d.bmp" ; };
840 QuickHelpText [ en-US ] = "Texture and Shading" ;
842 ImageButton BTN_TEX_BLEND
844 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
845 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
846 Size = IMG_BUTTON_SIZE;
849 ImageBitmap = Bitmap { File = "blend3d.bmp" ; };
853 QuickHelpText [ en-US ] = "Texture, Shadow and Color" ;
855 FixedText FT_TEX_PROJECTION_X
857 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT ) ;
858 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
859 Text [ en-US ] = "~Projection X" ;
861 ImageButton BTN_TEX_OBJECT_X
863 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
864 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
865 Size = IMG_BUTTON_SIZE;
868 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
872 QuickHelpText [ en-US ] = "Object-Specific" ;
874 ImageButton BTN_TEX_PARALLEL_X
876 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
877 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
878 Size = IMG_BUTTON_SIZE;
881 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
885 QuickHelpText [ en-US ] = "Parallel" ;
887 ImageButton BTN_TEX_CIRCLE_X
889 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
890 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
891 Size = IMG_BUTTON_SIZE;
894 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
898 QuickHelpText [ en-US ] = "Circular" ;
900 FixedText FT_TEX_PROJECTION_Y
902 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT ) ;
903 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
904 Text [ en-US ] = "P~rojection Y" ;
906 ImageButton BTN_TEX_OBJECT_Y
908 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
909 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
910 Size = IMG_BUTTON_SIZE;
913 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
917 QuickHelpText [ en-US ] = "Object-Specific" ;
919 ImageButton BTN_TEX_PARALLEL_Y
921 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
922 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
923 Size = IMG_BUTTON_SIZE;
926 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
930 QuickHelpText [ en-US ] = "Parallel" ;
932 ImageButton BTN_TEX_CIRCLE_Y
934 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
935 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
936 Size = IMG_BUTTON_SIZE;
939 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
943 QuickHelpText [ en-US ] = "Circular" ;
945 FixedText FT_TEX_FILTER
947 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT ) ;
948 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
949 Text [ en-US ] = "~Filtering" ;
951 ImageButton BTN_TEX_FILTER
953 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
954 FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT - 2 ) ;
955 Size = IMG_BUTTON_SIZE;
958 ImageBitmap = Bitmap { File = "filter3d.bmp" ; };
962 QuickHelpText [ en-US ] = "Filtering On/Off" ;
966 Pos = TOP_FIXED_LINE_POS;
967 Size = FIXED_LINE_SIZE;
968 Text [ en-US ] = "Textures" ;
971 /* Control CTL_MATERIAL
973 //HelpId = HID_SD_CTL_FAVORITES ;
975 Pos = MAP_APPFONT ( BORDER + 6 , GROUP_Y + 9 ) ;
976 Size = MAP_APPFONT ( GROUP_WIDTH - 12 , GROUP_HEIGHT - 15 ) ;
982 FixedText FT_MAT_FAVORITES
984 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
985 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
986 Text [ en-US ] = "~Favorites" ;
988 ListBox LB_MAT_FAVORITES
991 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
992 FIRST_FT_START_Y - 2 ) ;
993 Size = MAP_APPFONT ( 83 , 100 ) ;
996 StringList [ en-US ] =
998 < "User-defined" ; > ;
1006 FixedText FT_MAT_COLOR
1008 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
1009 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1010 Text [ en-US ] = "~Object color" ;
1012 ListBox LB_MAT_COLOR
1015 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1016 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1017 Size = MAP_APPFONT ( 68 , 100 ) ;
1021 ImageButton BTN_MAT_COLOR
1023 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1024 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1025 Size = MAP_APPFONT ( 12, 14 ) ;
1028 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1032 QuickHelpText [ en-US ] = "Colors Dialog" ;
1034 FixedText FT_MAT_EMISSION
1036 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
1037 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1038 Text [ en-US ] = "~Illumination color" ;
1040 ListBox LB_MAT_EMISSION
1043 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1044 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1045 Size = MAP_APPFONT ( 68 , 100 ) ;
1049 ImageButton BTN_EMISSION_COLOR
1051 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1052 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1053 Size = MAP_APPFONT ( 12, 14 ) ;
1056 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1060 QuickHelpText [ en-US ] = "Colors Dialog" ;
1063 FixedLine FL_MAT_SPECULAR
1065 Pos = MAP_APPFONT ( BORDER , SPECULAR_START_Y ) ;
1066 Size = FIXED_LINE_SIZE;
1067 Text [ en-US ] = "Specular" ;
1069 FixedText FT_MAT_SPECULAR
1071 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 ) ;
1072 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1073 Text [ en-US ] = "~Color" ;
1075 ListBox LB_MAT_SPECULAR
1078 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1, SPECULAR_START_Y + 13 - 2 ) ;
1079 Size = MAP_APPFONT ( 68 , 100 ) ;
1083 ImageButton BTN_SPECULAR_COLOR
1085 Pos = MAP_APPFONT ( 137 , SPECULAR_START_Y + 13 - 2 ) ;
1086 Size = MAP_APPFONT ( 12, 14 ) ;
1089 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1093 QuickHelpText [ en-US ] = "Colors Dialog" ;
1095 FixedText FT_MAT_SPECULAR_INTENSITY
1097 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1098 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1099 Text [ en-US ] = "I~ntensity" ;
1101 MetricField MTR_MAT_SPECULAR_INTENSITY
1104 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1105 SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1106 Size = MAP_APPFONT ( 68 , 12 ) ;
1110 Unit = FUNIT_CUSTOM ;
1111 CustomUnitText = "%" ;
1119 ImageButton BTN_MAT_FAVORITES {
1120 Pos = MAP_APPFONT( BORDER, GROUP_PREV_Y+1 );
1121 Size = IMG_BUTTON_SIZE;
1122 QuickHelpText = "Material Favoriten" ;
1125 ImageBitmap = Bitmap { File = "matfavor.bmp" ; };
1130 ImageButton BTN_MAT_EDITOR {
1131 Pos = MAP_APPFONT( BORDER + BUTTON_WIDTH, GROUP_PREV_Y+1 );
1132 Size = IMG_BUTTON_SIZE;
1133 QuickHelpText = "Material Editor" ;
1136 ImageBitmap = Bitmap { File = "matedit.bmp" ; };
1142 FixedLine FL_MATERIAL
1144 Pos = TOP_FIXED_LINE_POS;
1145 Size = FIXED_LINE_SIZE;
1146 Text [ en-US ] = "Material" ;
1151 File = "3dgeo_h.bmp";
1154 Bitmap BMP_REPRESENTATION_H
1156 File = "3drepres_h.bmp";
1159 Bitmap BMP_3DLIGHT_H
1161 File = "3dlight_h.bmp";
1164 Bitmap BMP_TEXTURE_H
1166 File = "3dtextur_h.bmp";
1169 Bitmap BMP_MATERIAL_H
1171 File = "material_h.bmp";
1176 File = "sc10350_h.bmp";
1181 File = "apply_h.bmp";
1184 Bitmap BMP_CHANGE_TO_3D_H
1186 File = "convrt3d_h.bmp";
1189 Bitmap BMP_LATHE_OBJ_H
1191 File = "rotate3d_h.bmp";
1194 Bitmap BMP_PERSPECTIVE_H
1196 File = "persp3d_h.bmp";
1199 Bitmap BMP_NORMALS_OBJ_H
1201 File = "normobjs_h.bmp";
1204 Bitmap BMP_NORMALS_FLAT_H
1206 File = "normflat_h.bmp";
1209 Bitmap BMP_NORMALS_SPHERE_H
1211 File = "normsphe_h.bmp";
1214 Bitmap BMP_NORMALS_INVERT_H
1216 File = "invert3d_h.bmp";
1219 Bitmap BMP_TWO_SIDED_LIGHTING_H
1221 File = "lght2sid_h.bmp";
1224 Bitmap BMP_DOUBLE_SIDED_H
1226 File = "doublesi_h.bmp";
1229 Bitmap BMP_SHADOW_3D_H
1231 File = "shadow3d_h.bmp";
1236 File = "light_h.bmp";
1239 Bitmap BMP_LIGHT_COLOR_H
1241 File = "colordlg_h.bmp";
1244 Bitmap BMP_AMBIENT_COLOR_H
1246 File = "colordlg_h.bmp";
1249 Bitmap BMP_TEX_LUMINANCE_H
1251 File = "luminanc_h.bmp";
1254 Bitmap BMP_TEX_COLOR_H
1256 File = "color_h.bmp";
1259 Bitmap BMP_TEX_REPLACE_H
1261 File = "replac3d_h.bmp";
1264 Bitmap BMP_TEX_MODULATE_H
1266 File = "modula3d_h.bmp";
1269 Bitmap BMP_TEX_BLEND_H
1271 File = "blend3d_h.bmp";
1274 Bitmap BMP_TEX_OBJECT_H
1276 File = "objspc3d_h.bmp";
1279 Bitmap BMP_TEX_PARALLEL_H
1281 File = "parallel_h.bmp";
1284 Bitmap BMP_TEX_CIRCLE_H
1286 File = "sphere3d_h.bmp";
1289 Bitmap BMP_TEX_FILTER_H
1291 File = "filter3d_h.bmp";
1294 Bitmap BMP_COLORDLG_H
1296 File = "colordlg_h.bmp";
1300 Image RID_SVXIMAGE_LIGHT_ON
1302 ImageBitmap = Bitmap { File = "lighton.bmp" ; };
1306 Image RID_SVXIMAGE_LIGHT_OFF
1308 ImageBitmap = Bitmap { File = "light.bmp" ; };
1312 Image RID_SVXIMAGE_LIGHT_ON_H
1314 ImageBitmap = Bitmap { File = "lighton_h.bmp" ; };
1318 Image RID_SVXIMAGE_LIGHT_OFF_H
1320 ImageBitmap = Bitmap { File = "light_h.bmp" ; };
1324 Image RID_SVXIMAGE_COLORDLG
1326 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1330 Image RID_SVXIMAGE_COLORDLG_H
1332 ImageBitmap = Bitmap { File = "colordlg_h.bmp" ; };
1336 /*Image RID_SVXIMAGE_LIGHT_ON_SELECTED {
1337 ImageBitmap = Bitmap { File = "lightons.bmp" ; };
1340 Image RID_SVXIMAGE_LIGHT_OFF_SELECTED {
1341 ImageBitmap = Bitmap { File = "lightsel.bmp" ; };
1345 String RID_SVXFLOAT3D_FAVORITE
1347 Text [ en-US ] = "Favorite";
1349 String RID_SVXFLOAT3D_FIX_X
1351 Text [ en-US ] = "X";
1353 String RID_SVXFLOAT3D_FIX_Y
1355 Text [ en-US ] = "Y";
1357 String RID_SVXFLOAT3D_FIX_Z
1359 Text [ en-US ] = "Z";
1361 String RID_SVXFLOAT3D_FIX_R
1363 Text [ en-US ] = "R:";
1365 String RID_SVXFLOAT3D_FIX_G
1367 Text [ en-US ] = "G:";
1369 String RID_SVXFLOAT3D_FIX_B
1371 Text [ en-US ] = "B:";