1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <svx/dialogs.hrc>
21 #include "float3d.hrc"
22 #include <svx/svxcommands.h>
27 #define BUTTON_WIDTH 13
28 #define BUTTON_HEIGHT 13
29 #define VT_BUTTON_WIDTH 18
30 #define GROUP_WIDTH (WIDTH - 2 * BORDER)
31 #define IMG_BUTTON_HEIGHT 15
32 #define IMG_BUTTON_NEXT (IMG_BUTTON_HEIGHT + 2)
33 #define IMG_BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, IMG_BUTTON_HEIGHT )
34 #define FIXED_LINE_HEIGHT 8
35 #define FIXED_LINE_SIZE MAP_APPFONT( GROUP_WIDTH, FIXED_LINE_HEIGHT )
36 #define TOP_FIXED_LINE_POS MAP_APPFONT( BORDER, 2+BORDER + IMG_BUTTON_HEIGHT )
37 #define FT_WIDTH_SHORT 56
38 #define FT_WIDTH_LONG 89
40 #define FT_OFFSET_NEXT (FT_HEIGHT + 6)
41 #define FT_INDENT (BORDER + 6)
42 #define FIRST_FT_START_Y (2+BORDER+IMG_BUTTON_HEIGHT + 13)
43 #define SEGMENTS_START_Y (FIRST_FT_START_Y + 3*FT_OFFSET_NEXT + 13)
44 #define NORMALS_START_Y (SEGMENTS_START_Y + 2*13)
45 #define NORMALS_BT_START_Y (SEGMENTS_START_Y + 2*13 +11)
46 #define SHADOW_START_Y (FIRST_FT_START_Y + 13)
47 #define CAMERA_START_Y (SHADOW_START_Y + FT_OFFSET_NEXT + 13)
48 #define SPECULAR_START_Y (FIRST_FT_START_Y + 2*FT_OFFSET_NEXT + 13)
50 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
53 DockingWindow RID_SVXFLOAT_3D
55 HelpID = CMD_SID_3D_WIN ;
64 EnableResizing = TRUE ;
65 Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
66 Text [ en-US ] = "3D Effects" ;
72 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_GEO";
73 Pos = MAP_APPFONT ( 4 , BORDER ) ;
74 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
78 ImageBitmap = Bitmap { File = "3dgeo.bmp" ; };
81 QuickHelpText [ en-US ] = "Geometry" ;
83 ImageButton BTN_REPRESENTATION
85 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_REPRESENTATION";
86 Pos = MAP_APPFONT ( 22 , BORDER ) ;
87 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
91 ImageBitmap = Bitmap { File = "3drepres.bmp" ; };
94 QuickHelpText [ en-US ] = "Shading" ;
98 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT";
99 Pos = MAP_APPFONT ( 40 , BORDER ) ;
100 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
104 ImageBitmap = Bitmap { File = "3dlight.bmp" ; };
107 QuickHelpText [ en-US ] = "Illumination" ;
109 ImageButton BTN_TEXTURE
111 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEXTURE";
112 Pos = MAP_APPFONT ( 58 , BORDER ) ;
113 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
116 ImageBitmap = Bitmap { File = "3dtextur.bmp" ; };
120 QuickHelpText [ en-US ] = "Textures" ;
122 ImageButton BTN_MATERIAL
124 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MATERIAL";
125 Pos = MAP_APPFONT ( 76 , BORDER ) ;
126 Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
130 ImageBitmap = Bitmap { File = "material.bmp" ; };
133 QuickHelpText [ en-US ] = "Material" ;
136 ImageButton BTN_UPDATE
138 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_UPDATE";
139 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH * 2 , BORDER ) ;
140 Size = IMG_BUTTON_SIZE;
144 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
147 QuickHelpText [ en-US ] = "Update" ;
149 ImageButton BTN_ASSIGN
151 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_ASSIGN";
152 Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH , BORDER ) ;
153 Size = IMG_BUTTON_SIZE;
157 ImageBitmap = Bitmap { File = "apply.bmp" ; };
160 QuickHelpText [ en-US ] = "Assign" ;
163 ImageButton BTN_CHANGE_TO_3D
165 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_CHANGE_TO_3D";
166 Pos = MAP_APPFONT ( 9 , 200 - BUTTON_HEIGHT ) ;
167 Size = IMG_BUTTON_SIZE;
171 ImageBitmap = Bitmap { File = "convrt3d.bmp" ; };
175 QuickHelpText [ en-US ] = "Convert to 3D" ;
177 ImageButton BTN_LATHE_OBJ
179 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LATHE_OBJ";
180 Pos = MAP_APPFONT ( 9 + BUTTON_WIDTH + 1 , 200 - BUTTON_HEIGHT ) ;
181 Size = IMG_BUTTON_SIZE;
185 ImageBitmap = Bitmap { File = "rotate3d.bmp" ; };
189 QuickHelpText [ en-US ] = "Convert to Lathe Object" ;
191 ImageButton BTN_PERSPECTIVE
193 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_PERSPECTIVE";
194 Pos = MAP_APPFONT ( 9 + ( BUTTON_WIDTH + 1 ) * 2 , 200 - BUTTON_HEIGHT ) ;
195 Size = IMG_BUTTON_SIZE;
199 ImageBitmap = Bitmap { File = "persp3d.bmp" ; };
203 QuickHelpText [ en-US ] = "Perspective On/Off" ;
208 Pos = MAP_APPFONT ( 66 , 124 ) ;
209 Size = MAP_APPFONT ( 83 , 76 ) ;
212 Control CTL_LIGHT_PREVIEW
215 Pos = MAP_APPFONT ( 66 , 124 ) ;
216 Size = MAP_APPFONT ( 83 , 76 ) ;
219 FixedLine FL_GEOMETRIE
221 Pos = TOP_FIXED_LINE_POS;
222 Size = FIXED_LINE_SIZE;
223 Text [ en-US ] = "Geometry" ;
225 FixedText FT_PERCENT_DIAGONAL
227 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y );
228 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
229 Text [ en-US ] = "R~ounded edges" ;
231 MetricField MTR_PERCENT_DIAGONAL
233 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_PERCENT_DIAGONAL";
235 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 , FIRST_FT_START_Y - 2 ) ;
236 Size = MAP_APPFONT ( 50 , 12 ) ;
243 Unit = FUNIT_CUSTOM ;
244 CustomUnitText = "%" ;
246 FixedText FT_BACKSCALE
248 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
249 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
250 Text [ en-US ] = "~Scaled depth" ;
252 MetricField MTR_BACKSCALE
254 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_BACKSCALE";
256 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
257 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
258 Size = MAP_APPFONT ( 50 , 12 ) ;
264 Unit = FUNIT_CUSTOM ;
265 CustomUnitText = "%" ;
268 FixedText FT_END_ANGLE
270 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
271 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
272 Text [ en-US ] = "~Rotation angle" ;
274 MetricField MTR_END_ANGLE
276 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_END_ANGLE";
278 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
279 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
280 Size = MAP_APPFONT ( 50 , 12 ) ;
285 Unit = FUNIT_CUSTOM ;
289 CustomUnitText [ en-US ] = " degree(s)";
293 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*FT_OFFSET_NEXT ) ;
294 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
295 Text [ en-US ] = "~Depth" ;
297 MetricField MTR_DEPTH
299 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DEPTH";
301 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
302 FIRST_FT_START_Y + 3*FT_OFFSET_NEXT - 2 ) ;
303 Size = MAP_APPFONT ( 50 , 12 ) ;
308 StrictFormat = TRUE ;
316 FixedLine FL_SEGMENTS
318 Pos = MAP_APPFONT ( BORDER , SEGMENTS_START_Y ) ;
319 Size = FIXED_LINE_SIZE;
320 Text [ en-US ] = "Segments" ;
323 FixedText FT_HORIZONTAL
325 Pos = MAP_APPFONT ( FT_INDENT , SEGMENTS_START_Y+13 ) ;
326 Size = MAP_APPFONT ( 40 , 8 ) ;
327 Text [ en-US ] = "~Horizontal" ;
329 NumericField NUM_HORIZONTAL
331 HelpID = "svx:NumericField:RID_SVXFLOAT_3D: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
351 HelpID = "svx:NumericField:RID_SVXFLOAT_3D:NUM_VERTICAL";
353 Pos = MAP_APPFONT ( FT_INDENT + 114+2 , SEGMENTS_START_Y+13-2 ) ;
354 Size = MAP_APPFONT ( 22 , 12 ) ;
366 Pos = MAP_APPFONT ( BORDER , NORMALS_START_Y ) ;
367 Size = MAP_APPFONT ( 54 , 8 ) ;
368 Text [ en-US ] = "Normals" ;
370 ImageButton BTN_NORMALS_OBJ
372 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_OBJ";
373 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y ) ;
374 Size = IMG_BUTTON_SIZE;
377 ImageBitmap = Bitmap { File = "normobjs.bmp" ; };
381 QuickHelpText [ en-US ] = "Object-Specific" ;
383 ImageButton BTN_NORMALS_FLAT
385 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_FLAT";
386 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) , NORMALS_BT_START_Y ) ;
387 Size = IMG_BUTTON_SIZE;
390 ImageBitmap = Bitmap { File = "normflat.bmp" ; };
394 QuickHelpText [ en-US ] = "Flat" ;
396 ImageButton BTN_NORMALS_SPHERE
398 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_SPHERE";
399 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 , NORMALS_BT_START_Y ) ;
400 Size = IMG_BUTTON_SIZE;
403 ImageBitmap = Bitmap { File = "normsphe.bmp" ; };
407 QuickHelpText [ en-US ] = "Spherical" ;
409 ImageButton BTN_NORMALS_INVERT
411 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_INVERT";
412 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
413 Size = IMG_BUTTON_SIZE;
416 ImageBitmap = Bitmap { File = "invert3d.bmp" ; };
420 QuickHelpText [ en-US ] = "Invert Normals" ;
422 ImageButton BTN_TWO_SIDED_LIGHTING
424 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TWO_SIDED_LIGHTING";
425 Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 ,
426 NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
427 Size = IMG_BUTTON_SIZE;
430 ImageBitmap = Bitmap { File = "lght2sid.bmp" ; };
434 QuickHelpText [ en-US ] = "Double-Sided Illumination" ;
436 ImageButton BTN_DOUBLE_SIDED
438 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_DOUBLE_SIDED";
439 Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + 2*IMG_BUTTON_NEXT ) ;
440 Size = IMG_BUTTON_SIZE;
443 ImageBitmap = Bitmap { File = "doublesi.bmp" ; };
447 QuickHelpText [ en-US ] = "Double-Sided" ;
451 FixedText FT_SHADEMODE
453 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
454 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
455 Text [ en-US ] = "~Mode" ;
459 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_SHADEMODE";
461 Pos = MAP_APPFONT ( 66 , 30 ) ;
462 Size = MAP_APPFONT ( 83 , 100 ) ;
465 StringList [ en-US ] =
474 Pos = MAP_APPFONT ( BORDER , SHADOW_START_Y ) ;
475 Size = FIXED_LINE_SIZE;
476 Text [ en-US ] = "Shadow" ;
478 ImageButton BTN_SHADOW_3D
480 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SHADOW_3D";
481 Pos = MAP_APPFONT ( FT_INDENT , SHADOW_START_Y + 11 ) ;
482 Size = IMG_BUTTON_SIZE;
486 ImageBitmap = Bitmap { File = "shadow3d.bmp" ; };
490 QuickHelpText [ en-US ] = "3D Shadowing On/Off" ;
494 Pos = MAP_APPFONT ( FT_INDENT + BUTTON_WIDTH + 3 , SHADOW_START_Y + 11 + 2 ) ;
495 Size = MAP_APPFONT ( 68 , FT_HEIGHT ) ;
497 Text [ en-US ] = "S~urface angle" ;
499 MetricField MTR_SLANT
501 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_SLANT";
503 Pos = MAP_APPFONT ( 99 , SHADOW_START_Y + 11 ) ;
504 Size = MAP_APPFONT ( 50 , 12 ) ;
510 Unit = FUNIT_CUSTOM ;
512 CustomUnitText [ en-US ] = " degree(s)";
517 Pos = MAP_APPFONT ( BORDER , CAMERA_START_Y ) ;
518 Size = FIXED_LINE_SIZE;
519 Text [ en-US ] = "Camera" ;
521 FixedText FT_DISTANCE
523 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 ) ;
524 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
525 Text [ en-US ] = "~Distance" ;
527 MetricField MTR_DISTANCE
529 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DISTANCE";
531 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
532 CAMERA_START_Y + 11 - 2 ) ;
533 Size = MAP_APPFONT ( 50 , 12 ) ;
537 StrictFormat = TRUE ;
546 FixedText FT_FOCAL_LENGTH
548 Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 + FT_OFFSET_NEXT ) ;
549 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
550 Text [ en-US ] = "~Focal length" ;
552 MetricField MTR_FOCAL_LENGTH
554 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_FOCAL_LENGTH";
556 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
557 CAMERA_START_Y + 11 + FT_OFFSET_NEXT - 2 ) ;
558 Size = MAP_APPFONT ( 50 , 12 ) ;
562 StrictFormat = TRUE ;
571 FixedLine FL_REPRESENTATION
573 Pos = TOP_FIXED_LINE_POS;
574 Size = FIXED_LINE_SIZE;
575 Text [ en-US ] = "Shading" ;
578 FixedText FT_LIGHTSOURCE
580 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
581 Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
582 Text [ en-US ] = "~Light source" ;
584 ImageButton BTN_LIGHT_1
586 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_1";
587 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 11 ) ;
588 Size = MAP_APPFONT ( 12 , 14 ) ;
591 ImageBitmap = Bitmap { File = "light.bmp" ; };
595 QuickHelpText [ en-US ] = "Light Source 1" ;
597 ImageButton BTN_LIGHT_2
599 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_2";
600 Pos = MAP_APPFONT ( FT_INDENT + 13 , FIRST_FT_START_Y + 11 ) ;
601 Size = MAP_APPFONT ( 12 , 14 ) ;
604 ImageBitmap = Bitmap { File = "light.bmp" ; };
608 QuickHelpText [ en-US ] = "Light Source 2" ;
610 ImageButton BTN_LIGHT_3
612 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_3";
613 Pos = MAP_APPFONT ( FT_INDENT + 2*13 , FIRST_FT_START_Y + 11 ) ;
614 Size = MAP_APPFONT ( 12 , 14 ) ;
617 ImageBitmap = Bitmap { File = "light.bmp" ; };
621 QuickHelpText [ en-US ] = "Light Source 3" ;
623 ImageButton BTN_LIGHT_4
625 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_4";
626 Pos = MAP_APPFONT ( FT_INDENT + 3*13 , FIRST_FT_START_Y + 11 ) ;
627 Size = MAP_APPFONT ( 12 , 14 ) ;
630 ImageBitmap = Bitmap { File = "light.bmp" ; };
634 QuickHelpText [ en-US ] = "Light Source 4" ;
636 ImageButton BTN_LIGHT_5
638 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_5";
639 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 26 ) ;
640 Size = MAP_APPFONT ( 12 , 14 ) ;
643 ImageBitmap = Bitmap { File = "light.bmp" ; };
647 QuickHelpText [ en-US ] = "Light Source 5" ;
649 ImageButton BTN_LIGHT_6
651 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_6";
652 Pos = MAP_APPFONT ( FT_INDENT + 13, FIRST_FT_START_Y + 26 ) ;
653 Size = MAP_APPFONT ( 12 , 14 ) ;
656 ImageBitmap = Bitmap { File = "light.bmp" ; };
660 QuickHelpText [ en-US ] = "Light Source 6" ;
662 ImageButton BTN_LIGHT_7
664 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_7";
665 Pos = MAP_APPFONT ( FT_INDENT + 2*13, FIRST_FT_START_Y + 26 ) ;
666 Size = MAP_APPFONT ( 12 , 14 ) ;
669 ImageBitmap = Bitmap { File = "light.bmp" ; };
673 QuickHelpText [ en-US ] = "Light Source 7" ;
675 ImageButton BTN_LIGHT_8
677 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_8";
678 Pos = MAP_APPFONT ( FT_INDENT +3*13 , FIRST_FT_START_Y + 26 ) ;
679 Size = MAP_APPFONT ( 12 , 14 ) ;
682 ImageBitmap = Bitmap { File = "light.bmp" ; };
686 QuickHelpText [ en-US ] = "Light Source 8" ;
690 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_1";
692 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
693 Size = MAP_APPFONT ( 68 , 100 ) ;
699 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_2";
701 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
702 Size = MAP_APPFONT ( 68 , 100 ) ;
708 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_3";
710 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
711 Size = MAP_APPFONT ( 68 , 100 ) ;
717 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_4";
719 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
720 Size = MAP_APPFONT ( 68 , 100 ) ;
726 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_5";
728 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
729 Size = MAP_APPFONT ( 68 , 100 ) ;
735 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_6";
737 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
738 Size = MAP_APPFONT ( 68 , 100 ) ;
744 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_7";
746 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
747 Size = MAP_APPFONT ( 68 , 100 ) ;
753 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_8";
755 Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
756 Size = MAP_APPFONT ( 68 , 100 ) ;
760 ImageButton BTN_LIGHT_COLOR
762 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_COLOR";
763 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 11 ) ;
764 Size = MAP_APPFONT ( 12 , 14 ) ;
767 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
771 QuickHelpText [ en-US ] = "Colors Dialog" ;
773 FixedText FT_AMBIENTLIGHT
775 Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y + 53 ) ;
776 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
777 Text [ en-US ] = "~Ambient light" ;
779 ListBox LB_AMBIENTLIGHT
781 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_AMBIENTLIGHT";
783 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 , FIRST_FT_START_Y + 53 ) ;
784 Size = MAP_APPFONT ( 68 , 100 ) ;
788 ImageButton BTN_AMBIENT_COLOR
790 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_AMBIENT_COLOR";
791 Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 53 ) ;
792 Size = MAP_APPFONT ( 12 , 14 ) ;
795 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
799 QuickHelpText [ en-US ] = "Colors Dialog" ;
804 Pos = TOP_FIXED_LINE_POS;
805 Size = FIXED_LINE_SIZE ;
806 Text [ en-US ] = "Illumination" ;
809 FixedText FT_TEX_KIND
811 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
812 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
813 Text [ en-US ] = "~Type" ;
815 ImageButton BTN_TEX_LUMINANCE
817 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_LUMINANCE";
818 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
819 FIRST_FT_START_Y - 2 ) ;
820 Size = IMG_BUTTON_SIZE;
823 ImageBitmap = Bitmap { File = "luminanc.bmp" ; };
827 QuickHelpText [ en-US ] = "Black & White" ;
829 ImageButton BTN_TEX_COLOR
831 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_COLOR";
832 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
833 FIRST_FT_START_Y - 2 ) ;
834 Size = IMG_BUTTON_SIZE;
837 ImageBitmap = Bitmap { File = "color.bmp" ; };
841 QuickHelpText [ en-US ] = "Color" ;
843 FixedText FT_TEX_MODE
845 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + IMG_BUTTON_NEXT ) ;
846 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
847 Text [ en-US ] = "~Mode" ;
849 ImageButton BTN_TEX_REPLACE
851 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_REPLACE";
852 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
853 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
854 Size = IMG_BUTTON_SIZE;
857 ImageBitmap = Bitmap { File = "replac3d.bmp" ; };
861 QuickHelpText [ en-US ] = "Only Texture" ;
863 ImageButton BTN_TEX_MODULATE
865 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_MODULATE";
866 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
867 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
868 Size = IMG_BUTTON_SIZE;
871 ImageBitmap = Bitmap { File = "modula3d.bmp" ; };
875 QuickHelpText [ en-US ] = "Texture and Shading" ;
877 ImageButton BTN_TEX_BLEND
879 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_BLEND";
880 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
881 FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
882 Size = IMG_BUTTON_SIZE;
885 ImageBitmap = Bitmap { File = "blend3d.bmp" ; };
889 QuickHelpText [ en-US ] = "Texture, Shadow and Color" ;
891 FixedText FT_TEX_PROJECTION_X
893 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT ) ;
894 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
895 Text [ en-US ] = "~Projection X" ;
897 ImageButton BTN_TEX_OBJECT_X
899 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_X";
900 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
901 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
902 Size = IMG_BUTTON_SIZE;
905 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
909 QuickHelpText [ en-US ] = "Object-Specific" ;
911 ImageButton BTN_TEX_PARALLEL_X
913 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_X";
914 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
915 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
916 Size = IMG_BUTTON_SIZE;
919 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
923 QuickHelpText [ en-US ] = "Parallel" ;
925 ImageButton BTN_TEX_CIRCLE_X
927 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_X";
928 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
929 FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
930 Size = IMG_BUTTON_SIZE;
933 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
937 QuickHelpText [ en-US ] = "Circular" ;
939 FixedText FT_TEX_PROJECTION_Y
941 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT ) ;
942 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
943 Text [ en-US ] = "P~rojection Y" ;
945 ImageButton BTN_TEX_OBJECT_Y
947 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_Y";
948 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
949 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
950 Size = IMG_BUTTON_SIZE;
953 ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
957 QuickHelpText [ en-US ] = "Object-Specific" ;
959 ImageButton BTN_TEX_PARALLEL_Y
961 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_Y";
962 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
963 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
964 Size = IMG_BUTTON_SIZE;
967 ImageBitmap = Bitmap { File = "parallel.bmp" ; };
971 QuickHelpText [ en-US ] = "Parallel" ;
973 ImageButton BTN_TEX_CIRCLE_Y
975 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_Y";
976 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
977 FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
978 Size = IMG_BUTTON_SIZE;
981 ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
985 QuickHelpText [ en-US ] = "Circular" ;
987 FixedText FT_TEX_FILTER
989 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT ) ;
990 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
991 Text [ en-US ] = "~Filtering" ;
993 ImageButton BTN_TEX_FILTER
995 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_FILTER";
996 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
997 FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT - 2 ) ;
998 Size = IMG_BUTTON_SIZE;
1001 ImageBitmap = Bitmap { File = "filter3d.bmp" ; };
1005 QuickHelpText [ en-US ] = "Filtering On/Off" ;
1007 FixedLine FL_TEXTURE
1009 Pos = TOP_FIXED_LINE_POS;
1010 Size = FIXED_LINE_SIZE;
1011 Text [ en-US ] = "Textures" ;
1015 FixedText FT_MAT_FAVORITES
1017 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
1018 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1019 Text [ en-US ] = "~Favorites" ;
1021 ListBox LB_MAT_FAVORITES
1023 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_FAVORITES";
1025 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
1026 FIRST_FT_START_Y - 2 ) ;
1027 Size = MAP_APPFONT ( 83 , 100 ) ;
1030 StringList [ en-US ] =
1032 < "User-defined" ; > ;
1040 FixedText FT_MAT_COLOR
1042 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
1043 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1044 Text [ en-US ] = "~Object color" ;
1046 ListBox LB_MAT_COLOR
1048 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_COLOR";
1050 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1051 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1052 Size = MAP_APPFONT ( 68 , 100 ) ;
1056 ImageButton BTN_MAT_COLOR
1058 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_COLOR";
1059 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1060 FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1061 Size = MAP_APPFONT ( 12, 14 ) ;
1064 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1068 QuickHelpText [ en-US ] = "Colors Dialog" ;
1070 FixedText FT_MAT_EMISSION
1072 Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
1073 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1074 Text [ en-US ] = "~Illumination color" ;
1076 ListBox LB_MAT_EMISSION
1078 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_EMISSION";
1080 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1081 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1082 Size = MAP_APPFONT ( 68 , 100 ) ;
1086 ImageButton BTN_EMISSION_COLOR
1088 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_EMISSION_COLOR";
1089 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1090 FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1091 Size = MAP_APPFONT ( 12, 14 ) ;
1094 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1098 QuickHelpText [ en-US ] = "Colors Dialog" ;
1101 FixedLine FL_MAT_SPECULAR
1103 Pos = MAP_APPFONT ( BORDER , SPECULAR_START_Y ) ;
1104 Size = FIXED_LINE_SIZE;
1105 Text [ en-US ] = "Specular" ;
1107 FixedText FT_MAT_SPECULAR
1109 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 ) ;
1110 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1111 Text [ en-US ] = "~Color" ;
1113 ListBox LB_MAT_SPECULAR
1115 HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_SPECULAR";
1117 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1, SPECULAR_START_Y + 13 - 2 ) ;
1118 Size = MAP_APPFONT ( 68 , 100 ) ;
1122 ImageButton BTN_SPECULAR_COLOR
1124 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SPECULAR_COLOR";
1125 Pos = MAP_APPFONT ( 137 , SPECULAR_START_Y + 13 - 2 ) ;
1126 Size = MAP_APPFONT ( 12, 14 ) ;
1129 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1133 QuickHelpText [ en-US ] = "Colors Dialog" ;
1135 FixedText FT_MAT_SPECULAR_INTENSITY
1137 Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1138 Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1139 Text [ en-US ] = "I~ntensity" ;
1141 MetricField MTR_MAT_SPECULAR_INTENSITY
1143 HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_MAT_SPECULAR_INTENSITY";
1145 Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1146 SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1147 Size = MAP_APPFONT ( 68 , 12 ) ;
1151 Unit = FUNIT_CUSTOM ;
1152 CustomUnitText = "%" ;
1159 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_FAVORITES";
1160 HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_EDITOR";
1161 FixedLine FL_MATERIAL
1163 Pos = TOP_FIXED_LINE_POS;
1164 Size = FIXED_LINE_SIZE;
1165 Text [ en-US ] = "Material" ;
1170 Image RID_SVXIMAGE_LIGHT_ON
1172 ImageBitmap = Bitmap { File = "lighton.bmp" ; };
1176 Image RID_SVXIMAGE_LIGHT_OFF
1178 ImageBitmap = Bitmap { File = "light.bmp" ; };
1182 Image RID_SVXIMAGE_COLORDLG
1184 ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1188 String RID_SVXFLOAT3D_FAVORITE
1190 Text [ en-US ] = "Favorite";
1193 String RID_SVXFLOAT3D_FIX_X
1195 Text [ en-US ] = "X";
1198 String RID_SVXFLOAT3D_FIX_Y
1200 Text [ en-US ] = "Y";
1203 String RID_SVXFLOAT3D_FIX_Z
1205 Text [ en-US ] = "Z";
1208 String RID_SVXFLOAT3D_FIX_R
1210 Text [ en-US ] = "R:";
1213 String RID_SVXFLOAT3D_FIX_G
1215 Text [ en-US ] = "G:";
1218 String RID_SVXFLOAT3D_FIX_B
1220 Text [ en-US ] = "B:";
1223 String RID_SVXFLOAT3D_COLOR_LIGHT_PRE
1225 Text [ en-US ] = "Color Light Preview";
1228 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */