1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #include <svx/dialogs.hrc>
29 #include "float3d.hrc"
30 #include <svx/svxcommands.h>
35 #define BUTTON_WIDTH 13
36 #define BUTTON_HEIGHT 13
37 #define VT_BUTTON_WIDTH 18
38 #define GROUP_Y (BORDER + BUTTON_HEIGHT + 3)
39 #define GROUP_HEIGHT 95
40 #define GROUP_WIDTH (WIDTH - 2 * BORDER)
41 #define GROUP_PREV_X 60
42 #define GROUP_PREV_Y (GROUP_Y + GROUP_HEIGHT + 1)
43 #define GROUP_PREV_WIDTH (WIDTH - BORDER - GROUP_PREV_X)
44 #define GROUP_PREV_HEIGHT (HEIGHT - GROUP_PREV_Y - BORDER)
45 #define IMG_BUTTON_HEIGHT 15
46 #define IMG_BUTTON_NEXT (IMG_BUTTON_HEIGHT + 2)
47 #define IMG_BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, IMG_BUTTON_HEIGHT )
48 #define FIXED_LINE_HEIGHT 8
49 #define FIXED_LINE_SIZE MAP_APPFONT( GROUP_WIDTH, FIXED_LINE_HEIGHT )
50 #define TOP_FIXED_LINE_POS MAP_APPFONT( BORDER, 2+BORDER + IMG_BUTTON_HEIGHT )
51 #define FT_WIDTH_SHORT 56
52 #define FT_WIDTH_LONG 89
54 #define FT_OFFSET_NEXT (FT_HEIGHT + 6)
55 #define FT_INDENT (BORDER + 6)
56 #define FIRST_FT_START_Y (2+BORDER+IMG_BUTTON_HEIGHT + 13)
57 #define SEGMENTS_START_Y (FIRST_FT_START_Y + 3*FT_OFFSET_NEXT + 13)
58 #define NORMALS_START_Y (SEGMENTS_START_Y + 2*13)
59 #define NORMALS_BT_START_Y (SEGMENTS_START_Y + 2*13 +11)
60 #define SHADOW_START_Y (FIRST_FT_START_Y + 13)
61 #define CAMERA_START_Y (SHADOW_START_Y + FT_OFFSET_NEXT + 13)
62 #define SPECULAR_START_Y (FIRST_FT_START_Y + 2*FT_OFFSET_NEXT + 13)
64 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
67 DockingWindow RID_SVXFLOAT_3D
69 HelpID = CMD_SID_3D_WIN ;
78 EnableResizing = TRUE ;
79 Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
80 Text [ en-US ] = "3D Effects" ;
86 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_GEO";
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 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_REPRESENTATION";
100 Pos = MAP_APPFONT ( 22 , BORDER ) ;
101 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
105 ImageBitmap = Bitmap { File = "3drepres.bmp" ; };
108 QuickHelpText [ en-US ] = "Shading" ;
110 ImageButton BTN_LIGHT
112 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT";
113 Pos = MAP_APPFONT ( 40 , BORDER ) ;
114 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
118 ImageBitmap = Bitmap { File = "3dlight.bmp" ; };
121 QuickHelpText [ en-US ] = "Illumination" ;
123 ImageButton BTN_TEXTURE
125 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEXTURE";
126 Pos = MAP_APPFONT ( 58 , BORDER ) ;
127 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
130 ImageBitmap = Bitmap { File = "3dtextur.bmp" ; };
134 QuickHelpText [ en-US ] = "Textures" ;
136 ImageButton BTN_MATERIAL
138 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MATERIAL";
139 Pos = MAP_APPFONT ( 76 , BORDER ) ;
140 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
144 ImageBitmap = Bitmap { File = "material.bmp" ; };
147 QuickHelpText [ en-US ] = "Material" ;
150 ImageButton BTN_UPDATE
152 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_UPDATE";
153 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH * 2 , BORDER ) ;
154 Size = IMG_BUTTON_SIZE;
158 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
161 QuickHelpText [ en-US ] = "Update" ;
163 ImageButton BTN_ASSIGN
165 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_ASSIGN";
166 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH , BORDER ) ;
167 Size = IMG_BUTTON_SIZE;
171 ImageBitmap = Bitmap { File = "apply.bmp" ; };
174 QuickHelpText [ en-US ] = "Assign" ;
177 ImageButton BTN_CHANGE_TO_3D
179 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_CHANGE_TO_3D";
180 Pos = MAP_APPFONT ( 9 , 200 - BUTTON_HEIGHT ) ;
181 Size = IMG_BUTTON_SIZE;
185 ImageBitmap = Bitmap { File = "convrt3d.bmp" ; };
189 QuickHelpText [ en-US ] = "Convert to 3D" ;
191 ImageButton BTN_LATHE_OBJ
193 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LATHE_OBJ";
194 Pos = MAP_APPFONT ( 9 + BUTTON_WIDTH + 1 , 200 - BUTTON_HEIGHT ) ;
195 Size = IMG_BUTTON_SIZE;
199 ImageBitmap = Bitmap { File = "rotate3d.bmp" ; };
203 QuickHelpText [ en-US ] = "Convert to Lathe Object" ;
205 ImageButton BTN_PERSPECTIVE
207 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_PERSPECTIVE";
208 Pos = MAP_APPFONT ( 9 + ( BUTTON_WIDTH + 1 ) * 2 , 200 - BUTTON_HEIGHT ) ;
209 Size = IMG_BUTTON_SIZE;
213 ImageBitmap = Bitmap { File = "persp3d.bmp" ; };
217 QuickHelpText [ en-US ] = "Perspective On/Off" ;
222 Pos = MAP_APPFONT ( 66 , 124 ) ;
223 Size = MAP_APPFONT ( 83 , 76 ) ;
226 Control CTL_LIGHT_PREVIEW
229 Pos = MAP_APPFONT ( 66 , 124 ) ;
230 Size = MAP_APPFONT ( 83 , 76 ) ;
233 FixedLine FL_GEOMETRIE
235 Pos = TOP_FIXED_LINE_POS;
236 Size = FIXED_LINE_SIZE;
237 Text [ en-US ] = "Geometry" ;
239 FixedText FT_PERCENT_DIAGONAL
241 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y );
242 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
243 Text [ en-US ] = "R~ounded edges" ;
245 MetricField MTR_PERCENT_DIAGONAL
247 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_PERCENT_DIAGONAL";
249 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 , FIRST_FT_START_Y - 2 ) ;
250 Size = MAP_APPFONT ( 50 , 12 ) ;
257 Unit = FUNIT_CUSTOM ;
258 CustomUnitText = "%" ;
260 FixedText FT_BACKSCALE
262 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
263 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
264 Text [ en-US ] = "~Scaled depth" ;
266 MetricField MTR_BACKSCALE
268 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_BACKSCALE";
270 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
271 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
272 Size = MAP_APPFONT ( 50 , 12 ) ;
278 Unit = FUNIT_CUSTOM ;
279 CustomUnitText = "%" ;
282 FixedText FT_END_ANGLE
284 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
285 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
286 Text [ en-US ] = "~Rotation angle" ;
288 MetricField MTR_END_ANGLE
290 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_END_ANGLE";
292 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
293 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
294 Size = MAP_APPFONT ( 50 , 12 ) ;
299 Unit = FUNIT_CUSTOM ;
303 CustomUnitText [ en-US ] = " degree(s)";
307 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*FT_OFFSET_NEXT ) ;
308 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
309 Text [ en-US ] = "~Depth" ;
311 MetricField MTR_DEPTH
313 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DEPTH";
315 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
316 FIRST_FT_START_Y + 3*FT_OFFSET_NEXT - 2 ) ;
317 Size = MAP_APPFONT ( 50 , 12 ) ;
322 StrictFormat = TRUE ;
330 FixedLine FL_SEGMENTS
332 Pos = MAP_APPFONT ( BORDER , SEGMENTS_START_Y ) ;
333 Size = FIXED_LINE_SIZE;
334 Text [ en-US ] = "Segments" ;
337 FixedText FT_HORIZONTAL
339 Pos = MAP_APPFONT ( FT_INDENT , SEGMENTS_START_Y+13 ) ;
340 Size = MAP_APPFONT ( 40 , 8 ) ;
341 Text [ en-US ] = "~Horizontal" ;
343 NumericField NUM_HORIZONTAL
345 HelpID = "svx:NumericField:RID_SVXFLOAT_3D:NUM_HORIZONTAL";
347 Pos = MAP_APPFONT ( FT_INDENT + 42, SEGMENTS_START_Y+13-2 ) ;
348 Size = MAP_APPFONT ( 22 , 12 ) ;
357 FixedText FT_VERTICAL
359 Pos = MAP_APPFONT ( FT_INDENT + 74 , SEGMENTS_START_Y+13 ) ;
360 Size = MAP_APPFONT ( 40 , 8 ) ;
361 Text [ en-US ] = "~Vertical" ;
363 NumericField NUM_VERTICAL
365 HelpID = "svx:NumericField:RID_SVXFLOAT_3D:NUM_VERTICAL";
367 Pos = MAP_APPFONT ( FT_INDENT + 114+2 , SEGMENTS_START_Y+13-2 ) ;
368 Size = MAP_APPFONT ( 22 , 12 ) ;
380 Pos = MAP_APPFONT ( BORDER , NORMALS_START_Y ) ;
381 Size = MAP_APPFONT ( 54 , 8 ) ;
382 Text [ en-US ] = "Normals" ;
384 ImageButton BTN_NORMALS_OBJ
386 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_OBJ";
387 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y ) ;
388 Size = IMG_BUTTON_SIZE;
391 ImageBitmap = Bitmap { File = "normobjs.bmp" ; };
395 QuickHelpText [ en-US ] = "Object-Specific" ;
397 ImageButton BTN_NORMALS_FLAT
399 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_FLAT";
400 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) , NORMALS_BT_START_Y ) ;
401 Size = IMG_BUTTON_SIZE;
404 ImageBitmap = Bitmap { File = "normflat.bmp" ; };
408 QuickHelpText [ en-US ] = "Flat" ;
410 ImageButton BTN_NORMALS_SPHERE
412 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_SPHERE";
413 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 , NORMALS_BT_START_Y ) ;
414 Size = IMG_BUTTON_SIZE;
417 ImageBitmap = Bitmap { File = "normsphe.bmp" ; };
421 QuickHelpText [ en-US ] = "Spherical" ;
423 ImageButton BTN_NORMALS_INVERT
425 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_INVERT";
426 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
427 Size = IMG_BUTTON_SIZE;
430 ImageBitmap = Bitmap { File = "invert3d.bmp" ; };
434 QuickHelpText [ en-US ] = "Invert Normals" ;
436 ImageButton BTN_TWO_SIDED_LIGHTING
438 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TWO_SIDED_LIGHTING";
439 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 ,
440 NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
441 Size = IMG_BUTTON_SIZE;
444 ImageBitmap = Bitmap { File = "lght2sid.bmp" ; };
448 QuickHelpText [ en-US ] = "Double-Sided Illumination" ;
450 ImageButton BTN_DOUBLE_SIDED
452 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_DOUBLE_SIDED";
453 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + 2*IMG_BUTTON_NEXT ) ;
454 Size = IMG_BUTTON_SIZE;
457 ImageBitmap = Bitmap { File = "doublesi.bmp" ; };
461 QuickHelpText [ en-US ] = "Double-Sided" ;
465 FixedText FT_SHADEMODE
467 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
468 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
469 Text [ en-US ] = "~Mode" ;
473 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_SHADEMODE";
475 Pos = MAP_APPFONT ( 66 , 30 ) ;
476 Size = MAP_APPFONT ( 83 , 100 ) ;
479 StringList [ en-US ] =
488 Pos = MAP_APPFONT ( BORDER , SHADOW_START_Y ) ;
489 Size = FIXED_LINE_SIZE;
490 Text [ en-US ] = "Shadow" ;
492 ImageButton BTN_SHADOW_3D
494 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SHADOW_3D";
495 Pos = MAP_APPFONT ( FT_INDENT , SHADOW_START_Y + 11 ) ;
496 Size = IMG_BUTTON_SIZE;
500 ImageBitmap = Bitmap { File = "shadow3d.bmp" ; };
504 QuickHelpText [ en-US ] = "3D Shadowing On/Off" ;
508 Pos = MAP_APPFONT ( FT_INDENT + BUTTON_WIDTH + 3 , SHADOW_START_Y + 11 + 2 ) ;
509 Size = MAP_APPFONT ( 68 , FT_HEIGHT ) ;
511 Text [ en-US ] = "S~urface angle" ;
513 MetricField MTR_SLANT
515 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_SLANT";
517 Pos = MAP_APPFONT ( 99 , SHADOW_START_Y + 11 ) ;
518 Size = MAP_APPFONT ( 50 , 12 ) ;
524 Unit = FUNIT_CUSTOM ;
526 CustomUnitText [ en-US ] = " degree(s)";
531 Pos = MAP_APPFONT ( BORDER , CAMERA_START_Y ) ;
532 Size = FIXED_LINE_SIZE;
533 Text [ en-US ] = "Camera" ;
535 FixedText FT_DISTANCE
537 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 ) ;
538 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
539 Text [ en-US ] = "~Distance" ;
541 MetricField MTR_DISTANCE
543 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DISTANCE";
545 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
546 CAMERA_START_Y + 11 - 2 ) ;
547 Size = MAP_APPFONT ( 50 , 12 ) ;
551 StrictFormat = TRUE ;
560 FixedText FT_FOCAL_LENGTH
562 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 + FT_OFFSET_NEXT ) ;
563 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
564 Text [ en-US ] = "~Focal length" ;
566 MetricField MTR_FOCAL_LENGTH
568 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_FOCAL_LENGTH";
570 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
571 CAMERA_START_Y + 11 + FT_OFFSET_NEXT - 2 ) ;
572 Size = MAP_APPFONT ( 50 , 12 ) ;
576 StrictFormat = TRUE ;
585 FixedLine FL_REPRESENTATION
587 Pos = TOP_FIXED_LINE_POS;
588 Size = FIXED_LINE_SIZE;
589 Text [ en-US ] = "Shading" ;
592 FixedText FT_LIGHTSOURCE
594 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
595 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
596 Text [ en-US ] = "~Light source" ;
598 ImageButton BTN_LIGHT_1
600 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_1";
601 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 11 ) ;
602 Size = MAP_APPFONT ( 12 , 14 ) ;
605 ImageBitmap = Bitmap { File = "light.bmp" ; };
609 QuickHelpText [ en-US ] = "Light Source 1" ;
611 ImageButton BTN_LIGHT_2
613 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_2";
614 Pos = MAP_APPFONT ( FT_INDENT + 13 , FIRST_FT_START_Y + 11 ) ;
615 Size = MAP_APPFONT ( 12 , 14 ) ;
618 ImageBitmap = Bitmap { File = "light.bmp" ; };
622 QuickHelpText [ en-US ] = "Light Source 2" ;
624 ImageButton BTN_LIGHT_3
626 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_3";
627 Pos = MAP_APPFONT ( FT_INDENT + 2*13 , FIRST_FT_START_Y + 11 ) ;
628 Size = MAP_APPFONT ( 12 , 14 ) ;
631 ImageBitmap = Bitmap { File = "light.bmp" ; };
635 QuickHelpText [ en-US ] = "Light Source 3" ;
637 ImageButton BTN_LIGHT_4
639 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_4";
640 Pos = MAP_APPFONT ( FT_INDENT + 3*13 , FIRST_FT_START_Y + 11 ) ;
641 Size = MAP_APPFONT ( 12 , 14 ) ;
644 ImageBitmap = Bitmap { File = "light.bmp" ; };
648 QuickHelpText [ en-US ] = "Light Source 4" ;
650 ImageButton BTN_LIGHT_5
652 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_5";
653 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 26 ) ;
654 Size = MAP_APPFONT ( 12 , 14 ) ;
657 ImageBitmap = Bitmap { File = "light.bmp" ; };
661 QuickHelpText [ en-US ] = "Light Source 5" ;
663 ImageButton BTN_LIGHT_6
665 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_6";
666 Pos = MAP_APPFONT ( FT_INDENT + 13, FIRST_FT_START_Y + 26 ) ;
667 Size = MAP_APPFONT ( 12 , 14 ) ;
670 ImageBitmap = Bitmap { File = "light.bmp" ; };
674 QuickHelpText [ en-US ] = "Light Source 6" ;
676 ImageButton BTN_LIGHT_7
678 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_7";
679 Pos = MAP_APPFONT ( FT_INDENT + 2*13, FIRST_FT_START_Y + 26 ) ;
680 Size = MAP_APPFONT ( 12 , 14 ) ;
683 ImageBitmap = Bitmap { File = "light.bmp" ; };
687 QuickHelpText [ en-US ] = "Light Source 7" ;
689 ImageButton BTN_LIGHT_8
691 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_8";
692 Pos = MAP_APPFONT ( FT_INDENT +3*13 , FIRST_FT_START_Y + 26 ) ;
693 Size = MAP_APPFONT ( 12 , 14 ) ;
696 ImageBitmap = Bitmap { File = "light.bmp" ; };
700 QuickHelpText [ en-US ] = "Light Source 8" ;
704 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_1";
706 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
707 Size = MAP_APPFONT ( 68 , 100 ) ;
713 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_2";
715 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
716 Size = MAP_APPFONT ( 68 , 100 ) ;
722 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_3";
724 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
725 Size = MAP_APPFONT ( 68 , 100 ) ;
731 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_4";
733 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
734 Size = MAP_APPFONT ( 68 , 100 ) ;
740 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_5";
742 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
743 Size = MAP_APPFONT ( 68 , 100 ) ;
749 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_6";
751 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
752 Size = MAP_APPFONT ( 68 , 100 ) ;
758 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_7";
760 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
761 Size = MAP_APPFONT ( 68 , 100 ) ;
767 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_8";
769 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
770 Size = MAP_APPFONT ( 68 , 100 ) ;
774 ImageButton BTN_LIGHT_COLOR
776 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_COLOR";
777 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 11 ) ;
778 Size = MAP_APPFONT ( 12 , 14 ) ;
781 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
785 QuickHelpText [ en-US ] = "Colors Dialog" ;
787 FixedText FT_AMBIENTLIGHT
789 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y + 53 ) ;
790 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
791 Text [ en-US ] = "~Ambient light" ;
793 ListBox LB_AMBIENTLIGHT
795 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_AMBIENTLIGHT";
797 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 , FIRST_FT_START_Y + 53 ) ;
798 Size = MAP_APPFONT ( 68 , 100 ) ;
802 ImageButton BTN_AMBIENT_COLOR
804 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_AMBIENT_COLOR";
805 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 53 ) ;
806 Size = MAP_APPFONT ( 12 , 14 ) ;
809 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
813 QuickHelpText [ en-US ] = "Colors Dialog" ;
818 Pos = TOP_FIXED_LINE_POS;
819 Size = FIXED_LINE_SIZE ;
820 Text [ en-US ] = "Illumination" ;
823 FixedText FT_TEX_KIND
825 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
826 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
827 Text [ en-US ] = "~Type" ;
829 ImageButton BTN_TEX_LUMINANCE
831 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_LUMINANCE";
832 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
833 FIRST_FT_START_Y - 2 ) ;
834 Size = IMG_BUTTON_SIZE;
837 ImageBitmap = Bitmap { File = "luminanc.bmp" ; };
841 QuickHelpText [ en-US ] = "Black & White" ;
843 ImageButton BTN_TEX_COLOR
845 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_COLOR";
846 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
847 FIRST_FT_START_Y - 2 ) ;
848 Size = IMG_BUTTON_SIZE;
851 ImageBitmap = Bitmap { File = "color.bmp" ; };
855 QuickHelpText [ en-US ] = "Color" ;
857 FixedText FT_TEX_MODE
859 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + IMG_BUTTON_NEXT ) ;
860 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
861 Text [ en-US ] = "~Mode" ;
863 ImageButton BTN_TEX_REPLACE
865 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_REPLACE";
866 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
867 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
868 Size = IMG_BUTTON_SIZE;
871 ImageBitmap = Bitmap { File = "replac3d.bmp" ; };
875 QuickHelpText [ en-US ] = "Only Texture" ;
877 ImageButton BTN_TEX_MODULATE
879 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_MODULATE";
880 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
881 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
882 Size = IMG_BUTTON_SIZE;
885 ImageBitmap = Bitmap { File = "modula3d.bmp" ; };
889 QuickHelpText [ en-US ] = "Texture and Shading" ;
891 ImageButton BTN_TEX_BLEND
893 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_BLEND";
894 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
895 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
896 Size = IMG_BUTTON_SIZE;
899 ImageBitmap = Bitmap { File = "blend3d.bmp" ; };
903 QuickHelpText [ en-US ] = "Texture, Shadow and Color" ;
905 FixedText FT_TEX_PROJECTION_X
907 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT ) ;
908 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
909 Text [ en-US ] = "~Projection X" ;
911 ImageButton BTN_TEX_OBJECT_X
913 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_X";
914 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
915 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
916 Size = IMG_BUTTON_SIZE;
919 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
923 QuickHelpText [ en-US ] = "Object-Specific" ;
925 ImageButton BTN_TEX_PARALLEL_X
927 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_X";
928 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
929 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
930 Size = IMG_BUTTON_SIZE;
933 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
937 QuickHelpText [ en-US ] = "Parallel" ;
939 ImageButton BTN_TEX_CIRCLE_X
941 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_X";
942 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
943 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
944 Size = IMG_BUTTON_SIZE;
947 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
951 QuickHelpText [ en-US ] = "Circular" ;
953 FixedText FT_TEX_PROJECTION_Y
955 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT ) ;
956 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
957 Text [ en-US ] = "P~rojection Y" ;
959 ImageButton BTN_TEX_OBJECT_Y
961 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_Y";
962 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
963 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
964 Size = IMG_BUTTON_SIZE;
967 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
971 QuickHelpText [ en-US ] = "Object-Specific" ;
973 ImageButton BTN_TEX_PARALLEL_Y
975 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_Y";
976 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
977 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
978 Size = IMG_BUTTON_SIZE;
981 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
985 QuickHelpText [ en-US ] = "Parallel" ;
987 ImageButton BTN_TEX_CIRCLE_Y
989 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_Y";
990 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
991 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
992 Size = IMG_BUTTON_SIZE;
995 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
999 QuickHelpText [ en-US ] = "Circular" ;
1001 FixedText FT_TEX_FILTER
1003 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT ) ;
1004 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1005 Text [ en-US ] = "~Filtering" ;
1007 ImageButton BTN_TEX_FILTER
1009 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_FILTER";
1010 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
1011 FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT - 2 ) ;
1012 Size = IMG_BUTTON_SIZE;
1015 ImageBitmap = Bitmap { File = "filter3d.bmp" ; };
1019 QuickHelpText [ en-US ] = "Filtering On/Off" ;
1021 FixedLine FL_TEXTURE
1023 Pos = TOP_FIXED_LINE_POS;
1024 Size = FIXED_LINE_SIZE;
1025 Text [ en-US ] = "Textures" ;
1029 FixedText FT_MAT_FAVORITES
1031 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
1032 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1033 Text [ en-US ] = "~Favorites" ;
1035 ListBox LB_MAT_FAVORITES
1037 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_FAVORITES";
1039 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
1040 FIRST_FT_START_Y - 2 ) ;
1041 Size = MAP_APPFONT ( 83 , 100 ) ;
1044 StringList [ en-US ] =
1046 < "User-defined" ; > ;
1054 FixedText FT_MAT_COLOR
1056 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
1057 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1058 Text [ en-US ] = "~Object color" ;
1060 ListBox LB_MAT_COLOR
1062 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_COLOR";
1064 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1065 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1066 Size = MAP_APPFONT ( 68 , 100 ) ;
1070 ImageButton BTN_MAT_COLOR
1072 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_COLOR";
1073 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1074 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1075 Size = MAP_APPFONT ( 12, 14 ) ;
1078 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1082 QuickHelpText [ en-US ] = "Colors Dialog" ;
1084 FixedText FT_MAT_EMISSION
1086 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
1087 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1088 Text [ en-US ] = "~Illumination color" ;
1090 ListBox LB_MAT_EMISSION
1092 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_EMISSION";
1094 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1095 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1096 Size = MAP_APPFONT ( 68 , 100 ) ;
1100 ImageButton BTN_EMISSION_COLOR
1102 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_EMISSION_COLOR";
1103 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1104 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1105 Size = MAP_APPFONT ( 12, 14 ) ;
1108 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1112 QuickHelpText [ en-US ] = "Colors Dialog" ;
1115 FixedLine FL_MAT_SPECULAR
1117 Pos = MAP_APPFONT ( BORDER , SPECULAR_START_Y ) ;
1118 Size = FIXED_LINE_SIZE;
1119 Text [ en-US ] = "Specular" ;
1121 FixedText FT_MAT_SPECULAR
1123 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 ) ;
1124 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1125 Text [ en-US ] = "~Color" ;
1127 ListBox LB_MAT_SPECULAR
1129 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_SPECULAR";
1131 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1, SPECULAR_START_Y + 13 - 2 ) ;
1132 Size = MAP_APPFONT ( 68 , 100 ) ;
1136 ImageButton BTN_SPECULAR_COLOR
1138 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SPECULAR_COLOR";
1139 Pos = MAP_APPFONT ( 137 , SPECULAR_START_Y + 13 - 2 ) ;
1140 Size = MAP_APPFONT ( 12, 14 ) ;
1143 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1147 QuickHelpText [ en-US ] = "Colors Dialog" ;
1149 FixedText FT_MAT_SPECULAR_INTENSITY
1151 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1152 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1153 Text [ en-US ] = "I~ntensity" ;
1155 MetricField MTR_MAT_SPECULAR_INTENSITY
1157 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_MAT_SPECULAR_INTENSITY";
1159 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1160 SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1161 Size = MAP_APPFONT ( 68 , 12 ) ;
1165 Unit = FUNIT_CUSTOM ;
1166 CustomUnitText = "%" ;
1173 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_FAVORITES";
1174 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_EDITOR";
1175 FixedLine FL_MATERIAL
1177 Pos = TOP_FIXED_LINE_POS;
1178 Size = FIXED_LINE_SIZE;
1179 Text [ en-US ] = "Material" ;
1184 Image RID_SVXIMAGE_LIGHT_ON
1186 ImageBitmap = Bitmap { File = "lighton.bmp" ; };
1190 Image RID_SVXIMAGE_LIGHT_OFF
1192 ImageBitmap = Bitmap { File = "light.bmp" ; };
1196 Image RID_SVXIMAGE_COLORDLG
1198 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1202 String RID_SVXFLOAT3D_FAVORITE
1204 Text [ en-US ] = "Favorite";
1207 String RID_SVXFLOAT3D_FIX_X
1209 Text [ en-US ] = "X";
1212 String RID_SVXFLOAT3D_FIX_Y
1214 Text [ en-US ] = "Y";
1217 String RID_SVXFLOAT3D_FIX_Z
1219 Text [ en-US ] = "Z";
1222 String RID_SVXFLOAT3D_FIX_R
1224 Text [ en-US ] = "R:";
1227 String RID_SVXFLOAT3D_FIX_G
1229 Text [ en-US ] = "G:";
1232 String RID_SVXFLOAT3D_FIX_B
1234 Text [ en-US ] = "B:";
1237 String RID_SVXFLOAT3D_COLOR_LIGHT_PRE
1239 Text [ en-US ] = "Color Light Preview";