xref: /aoo41x/main/svx/source/engine3d/float3d.src (revision 7ea7a1cc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include <svx/dialogs.hrc>
25#include "float3d.hrc"
26#include <svx/svxcommands.h>
27
28#define WIDTH 				158
29#define HEIGHT 				209
30#define BORDER 				3
31#define BUTTON_WIDTH        13
32#define BUTTON_HEIGHT       13
33#define VT_BUTTON_WIDTH     18
34#define GROUP_Y				(BORDER + BUTTON_HEIGHT + 3)
35#define GROUP_HEIGHT 		95
36#define GROUP_WIDTH			(WIDTH - 2 * BORDER)
37#define GROUP_PREV_X		60
38#define GROUP_PREV_Y		(GROUP_Y + GROUP_HEIGHT + 1)
39#define GROUP_PREV_WIDTH	(WIDTH - BORDER - GROUP_PREV_X)
40#define GROUP_PREV_HEIGHT	(HEIGHT - GROUP_PREV_Y - BORDER)
41#define IMG_BUTTON_HEIGHT   15
42#define IMG_BUTTON_NEXT     (IMG_BUTTON_HEIGHT + 2)
43#define IMG_BUTTON_SIZE     MAP_APPFONT( BUTTON_WIDTH, IMG_BUTTON_HEIGHT )
44#define FIXED_LINE_HEIGHT   8
45#define FIXED_LINE_SIZE     MAP_APPFONT( GROUP_WIDTH, FIXED_LINE_HEIGHT )
46#define TOP_FIXED_LINE_POS  MAP_APPFONT( BORDER, 2+BORDER + IMG_BUTTON_HEIGHT )
47#define FT_WIDTH_SHORT      56
48#define FT_WIDTH_LONG       89
49#define FT_HEIGHT           8
50#define FT_OFFSET_NEXT      (FT_HEIGHT + 6)
51#define FT_INDENT           (BORDER + 6)
52#define FIRST_FT_START_Y    (2+BORDER+IMG_BUTTON_HEIGHT + 13)
53#define SEGMENTS_START_Y    (FIRST_FT_START_Y + 3*FT_OFFSET_NEXT + 13)
54#define NORMALS_START_Y     (SEGMENTS_START_Y + 2*13)
55#define NORMALS_BT_START_Y  (SEGMENTS_START_Y + 2*13 +11)
56#define SHADOW_START_Y      (FIRST_FT_START_Y + 13)
57#define CAMERA_START_Y      (SHADOW_START_Y + FT_OFFSET_NEXT + 13)
58#define SPECULAR_START_Y    (FIRST_FT_START_Y + 2*FT_OFFSET_NEXT + 13)
59
60#define MASKCOLOR	MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
61
62
63DockingWindow RID_SVXFLOAT_3D
64{
65	HelpID = CMD_SID_3D_WIN ;
66	Border = TRUE ;
67	Hide = TRUE ;
68	SVLook = TRUE ;
69	Sizeable = TRUE ;
70	Moveable = TRUE ;
71	Closeable = TRUE ;
72	Zoomable = TRUE ;
73	Dockable = TRUE ;
74	EnableResizing = TRUE ;
75	Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
76	Text [ en-US ] = "3D Effects" ;
77	Closeable = TRUE ;
78	Zoomable = TRUE ;
79
80	ImageButton BTN_GEO
81	{
82	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_GEO";
83		Pos = MAP_APPFONT ( 4 , BORDER ) ;
84		Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
85		TabStop = TRUE ;
86		ButtonImage = Image
87		{
88			ImageBitmap = Bitmap { File = "3dgeo.bmp" ; };
89			MASKCOLOR
90		};
91		QuickHelpText [ en-US ] = "Geometry" ;
92	};
93	ImageButton BTN_REPRESENTATION
94	{
95	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_REPRESENTATION";
96		Pos = MAP_APPFONT ( 22 , BORDER ) ;
97		Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
98		TabStop = TRUE ;
99		ButtonImage = Image
100		{
101			ImageBitmap = Bitmap { File = "3drepres.bmp" ; };
102			MASKCOLOR
103		};
104		QuickHelpText [ en-US ] = "Shading" ;
105	};
106	ImageButton BTN_LIGHT
107	{
108	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT";
109		Pos = MAP_APPFONT ( 40 , BORDER ) ;
110		Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
111		TabStop = TRUE ;
112		ButtonImage = Image
113		{
114			ImageBitmap = Bitmap { File = "3dlight.bmp" ; };
115			MASKCOLOR
116		};
117		QuickHelpText [ en-US ] = "Illumination" ;
118	};
119	ImageButton BTN_TEXTURE
120	{
121	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEXTURE";
122		Pos = MAP_APPFONT ( 58 , BORDER ) ;
123		Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
124		ButtonImage = Image
125		{
126			ImageBitmap = Bitmap { File = "3dtextur.bmp" ; };
127			MASKCOLOR
128		};
129		TabStop = TRUE ;
130		QuickHelpText [ en-US ] = "Textures" ;
131	};
132	ImageButton BTN_MATERIAL
133	{
134	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MATERIAL";
135		Pos = MAP_APPFONT ( 76 , BORDER ) ;
136		Size = MAP_APPFONT ( VT_BUTTON_WIDTH , IMG_BUTTON_HEIGHT ) ;
137		TabStop = TRUE ;
138		ButtonImage = Image
139		{
140			ImageBitmap = Bitmap { File = "material.bmp" ; };
141			MASKCOLOR
142		};
143		QuickHelpText [ en-US ] = "Material" ;
144	};
145
146	ImageButton BTN_UPDATE
147	{
148	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_UPDATE";
149        Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH * 2 , BORDER ) ;
150		Size = IMG_BUTTON_SIZE;
151		TabStop = TRUE ;
152		ButtonImage = Image
153		{
154			ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
155			MASKCOLOR
156		};
157		QuickHelpText [ en-US ] = "Update" ;
158	};
159	ImageButton BTN_ASSIGN
160	{
161	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_ASSIGN";
162        Pos = MAP_APPFONT ( WIDTH - BORDER - BUTTON_WIDTH , BORDER ) ;
163		Size = IMG_BUTTON_SIZE;
164		TabStop = TRUE ;
165		ButtonImage = Image
166		{
167			ImageBitmap = Bitmap { File = "apply.bmp" ; };
168			MASKCOLOR
169		};
170		QuickHelpText [ en-US ] = "Assign" ;
171	};
172	 // Unterer Teil
173	ImageButton BTN_CHANGE_TO_3D
174	{
175	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_CHANGE_TO_3D";
176        Pos = MAP_APPFONT ( 9 , 200 - BUTTON_HEIGHT ) ;
177		Size = IMG_BUTTON_SIZE;
178		TabStop = TRUE ;
179		ButtonImage = Image
180		{
181			ImageBitmap = Bitmap { File = "convrt3d.bmp" ; };
182			MASKCOLOR
183		};
184		TabStop = TRUE ;
185		QuickHelpText [ en-US ] = "Convert to 3D" ;
186	};
187	ImageButton BTN_LATHE_OBJ
188	{
189	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LATHE_OBJ";
190        Pos = MAP_APPFONT ( 9 + BUTTON_WIDTH + 1 , 200 - BUTTON_HEIGHT ) ;
191		Size = IMG_BUTTON_SIZE;
192		TabStop = TRUE ;
193		ButtonImage = Image
194		{
195			ImageBitmap = Bitmap { File = "rotate3d.bmp" ; };
196			MASKCOLOR
197		};
198		TabStop = TRUE ;
199		QuickHelpText [ en-US ] = "Convert to Lathe Object" ;
200	};
201	ImageButton BTN_PERSPECTIVE
202	{
203	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_PERSPECTIVE";
204        Pos = MAP_APPFONT ( 9 + ( BUTTON_WIDTH + 1 ) * 2 , 200 - BUTTON_HEIGHT ) ;
205		Size = IMG_BUTTON_SIZE;
206		TabStop = TRUE ;
207		ButtonImage = Image
208		{
209			ImageBitmap = Bitmap { File = "persp3d.bmp" ; };
210			MASKCOLOR
211		};
212		TabStop = TRUE ;
213		QuickHelpText [ en-US ] = "Perspective On/Off" ;
214	};
215	Control CTL_PREVIEW
216	{
217		Border = TRUE ;
218        Pos = MAP_APPFONT ( 66 , 124 ) ;
219        Size = MAP_APPFONT ( 83 , 76 ) ;
220		TabStop = TRUE ;
221	};
222	Control CTL_LIGHT_PREVIEW
223	{
224        Border = TRUE ;
225        Pos = MAP_APPFONT ( 66 , 124 ) ;
226        Size = MAP_APPFONT ( 83 , 76 ) ;
227		TabStop = TRUE ;
228	};
229    FixedLine FL_GEOMETRIE
230	{
231        Pos = TOP_FIXED_LINE_POS;
232        Size = FIXED_LINE_SIZE;
233		Text [ en-US ] = "Geometry" ;
234	};
235	FixedText FT_PERCENT_DIAGONAL
236	{
237        Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y );
238        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
239		Text [ en-US ] = "R~ounded edges" ;
240	};
241	MetricField MTR_PERCENT_DIAGONAL
242	{
243	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_PERCENT_DIAGONAL";
244		Border = TRUE ;
245        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 , FIRST_FT_START_Y - 2 ) ;
246		Size = MAP_APPFONT ( 50 , 12 ) ;
247		TabStop = TRUE ;
248		Repeat = TRUE ;
249		Spin = TRUE ;
250		SpinSize = 5 ;
251		Maximum = 100 ;
252		Last = 100 ;
253		Unit = FUNIT_PERCENT ;
254	};
255	FixedText FT_BACKSCALE
256	{
257        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
258        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
259		Text [ en-US ] = "~Scaled depth" ;
260	};
261	MetricField MTR_BACKSCALE
262	{
263	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_BACKSCALE";
264		Border = TRUE ;
265        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
266                            FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
267		Size = MAP_APPFONT ( 50 , 12 ) ;
268		TabStop = TRUE ;
269		Repeat = TRUE ;
270		Spin = TRUE ;
271		SpinSize = 5 ;
272		Maximum = 10000 ;
273		Unit = FUNIT_PERCENT ;
274		Last = 10000 ;
275	};
276	FixedText FT_END_ANGLE
277	{
278        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
279        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
280		Text [ en-US ] = "~Rotation angle" ;
281	};
282	MetricField MTR_END_ANGLE
283	{
284	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_END_ANGLE";
285		Border = TRUE ;
286        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
287                            FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
288		Size = MAP_APPFONT ( 50 , 12 ) ;
289		TabStop = TRUE ;
290		Repeat = TRUE ;
291		Spin = TRUE ;
292		SpinSize = 5 ;
293		Unit = FUNIT_CUSTOM ;
294		Maximum = 36000 ;
295		Last = 36000 ;
296		DecimalDigits = 1 ;
297		CustomUnitText [ en-US ] = " degree(s)";
298	};
299	FixedText FT_DEPTH
300	{
301        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*FT_OFFSET_NEXT ) ;
302        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
303		Text [ en-US ] = "~Depth" ;
304	};
305	MetricField MTR_DEPTH
306	{
307	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DEPTH";
308		Border = TRUE ;
309        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1,
310                            FIRST_FT_START_Y + 3*FT_OFFSET_NEXT - 2 ) ;
311		Size = MAP_APPFONT ( 50 , 12 ) ;
312		TabStop = TRUE ;
313		Repeat = TRUE ;
314		Spin = TRUE ;
315		Unit = FUNIT_MM ;
316		StrictFormat = TRUE ;
317		Minimum = 0 ;
318		First = 0 ;
319		Maximum = 10000000 ;
320		Last = 10000000 ;
321		DecimalDigits = 2 ;
322		SpinSize = 100 ;
323	};
324    FixedLine FL_SEGMENTS
325	{
326        Pos = MAP_APPFONT ( BORDER , SEGMENTS_START_Y ) ;
327        Size = FIXED_LINE_SIZE;
328		Text [ en-US ] = "Segments" ;
329	};
330	 // Geometrie
331	FixedText FT_HORIZONTAL
332	{
333        Pos = MAP_APPFONT ( FT_INDENT , SEGMENTS_START_Y+13 ) ;
334        Size = MAP_APPFONT ( 40 , 8 ) ;
335		Text [ en-US ] = "~Horizontal" ;
336	};
337	NumericField NUM_HORIZONTAL
338	{
339	    HelpID = "svx:NumericField:RID_SVXFLOAT_3D:NUM_HORIZONTAL";
340		Border = TRUE ;
341        Pos = MAP_APPFONT ( FT_INDENT + 42, SEGMENTS_START_Y+13-2 ) ;
342		Size = MAP_APPFONT ( 22 , 12 ) ;
343		TabStop = TRUE ;
344		Repeat = TRUE ;
345		Spin = TRUE ;
346		Minimum = 2 ;
347		First = 2 ;
348		Maximum = 256 ;
349		Last = 256 ;
350	};
351	FixedText FT_VERTICAL
352	{
353        Pos = MAP_APPFONT ( FT_INDENT + 74 , SEGMENTS_START_Y+13 ) ;
354        Size = MAP_APPFONT ( 40 , 8 ) ;
355		Text [ en-US ] = "~Vertical" ;
356	};
357	NumericField NUM_VERTICAL
358	{
359	    HelpID = "svx:NumericField:RID_SVXFLOAT_3D:NUM_VERTICAL";
360		Border = TRUE ;
361        Pos = MAP_APPFONT ( FT_INDENT + 114+2 , SEGMENTS_START_Y+13-2 ) ;
362		Size = MAP_APPFONT ( 22 , 12 ) ;
363		TabStop = TRUE ;
364		Repeat = TRUE ;
365		Spin = TRUE ;
366		Minimum = 2 ;
367		First = 2 ;
368		Maximum = 256 ;
369		Last = 256 ;
370	};
371
372    FixedLine FL_NORMALS
373	{
374        Pos = MAP_APPFONT ( BORDER , NORMALS_START_Y ) ;
375        Size = MAP_APPFONT ( 54 , 8 ) ;
376		Text [ en-US ] = "Normals" ;
377	};
378	ImageButton BTN_NORMALS_OBJ
379	{
380	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_OBJ";
381		Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y ) ;
382		Size = IMG_BUTTON_SIZE;
383		ButtonImage = Image
384		{
385			ImageBitmap = Bitmap { File = "normobjs.bmp" ; };
386			MASKCOLOR
387		};
388		TabStop = TRUE ;
389		QuickHelpText [ en-US ] = "Object-Specific" ;
390	};
391	ImageButton BTN_NORMALS_FLAT
392	{
393	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_FLAT";
394		Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) , NORMALS_BT_START_Y ) ;
395		Size = IMG_BUTTON_SIZE;
396		ButtonImage = Image
397		{
398			ImageBitmap = Bitmap { File = "normflat.bmp" ; };
399			MASKCOLOR
400		};
401		TabStop = TRUE ;
402		QuickHelpText [ en-US ] = "Flat" ;
403	};
404	ImageButton BTN_NORMALS_SPHERE
405	{
406	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_SPHERE";
407		Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 , NORMALS_BT_START_Y ) ;
408		Size = IMG_BUTTON_SIZE;
409		ButtonImage = Image
410		{
411			ImageBitmap = Bitmap { File = "normsphe.bmp" ; };
412			MASKCOLOR
413		};
414		TabStop = TRUE ;
415		QuickHelpText [ en-US ] = "Spherical" ;
416	};
417	ImageButton BTN_NORMALS_INVERT
418	{
419	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_NORMALS_INVERT";
420		Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
421		Size = IMG_BUTTON_SIZE;
422		ButtonImage = Image
423		{
424			ImageBitmap = Bitmap { File = "invert3d.bmp" ; };
425			MASKCOLOR
426		};
427		TabStop = TRUE ;
428		QuickHelpText [ en-US ] = "Invert Normals" ;
429	};
430	ImageButton BTN_TWO_SIDED_LIGHTING
431	{
432	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TWO_SIDED_LIGHTING";
433		Pos = MAP_APPFONT ( FT_INDENT + (1+BUTTON_WIDTH) * 2 ,
434                            NORMALS_BT_START_Y + IMG_BUTTON_NEXT ) ;
435		Size = IMG_BUTTON_SIZE;
436		ButtonImage = Image
437		{
438			ImageBitmap = Bitmap { File = "lght2sid.bmp" ; };
439			MASKCOLOR
440		};
441		TabStop = TRUE ;
442		QuickHelpText [ en-US ] = "Double-Sided Illumination" ;
443	};
444	ImageButton BTN_DOUBLE_SIDED
445	{
446	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_DOUBLE_SIDED";
447		Pos = MAP_APPFONT ( FT_INDENT , NORMALS_BT_START_Y + 2*IMG_BUTTON_NEXT ) ;
448		Size = IMG_BUTTON_SIZE;
449		ButtonImage = Image
450		{
451			ImageBitmap = Bitmap { File = "doublesi.bmp" ; };
452			MASKCOLOR
453		};
454		TabStop = TRUE ;
455		QuickHelpText [ en-US ] = "Double-Sided" ;
456	};
457
458	// Darstellung
459	FixedText FT_SHADEMODE
460	{
461        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
462        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
463		Text [ en-US ] = "~Mode" ;
464	};
465	ListBox LB_SHADEMODE
466	{
467	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_SHADEMODE";
468		Border = TRUE ;
469        Pos = MAP_APPFONT ( 66 , 30 ) ;
470        Size = MAP_APPFONT ( 83 , 100 ) ;
471		TabStop = TRUE ;
472		DropDown = TRUE ;
473		StringList [ en-US ] =
474		{
475			< "Flat" ; > ;
476			< "Phong" ; > ;
477			< "Gouraud" ; > ;
478		};
479	};
480    FixedLine FL_SHADOW
481	{
482        Pos = MAP_APPFONT ( BORDER , SHADOW_START_Y ) ;
483        Size = FIXED_LINE_SIZE;
484		Text [ en-US ] = "Shadow" ;
485	};
486	ImageButton BTN_SHADOW_3D
487	{
488	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SHADOW_3D";
489        Pos = MAP_APPFONT ( FT_INDENT , SHADOW_START_Y + 11 ) ;
490		Size = IMG_BUTTON_SIZE;
491		TabStop = TRUE ;
492		ButtonImage = Image
493		{
494			ImageBitmap = Bitmap { File = "shadow3d.bmp" ; };
495			MASKCOLOR
496		};
497		TabStop = TRUE ;
498		QuickHelpText [ en-US ] = "3D Shadowing On/Off" ;
499	};
500	FixedText FT_SLANT
501	{
502        Pos = MAP_APPFONT ( FT_INDENT + BUTTON_WIDTH + 3 , SHADOW_START_Y + 11 + 2 ) ;
503        Size = MAP_APPFONT ( 68 , FT_HEIGHT ) ;
504		Right = TRUE;
505		Text [ en-US ] = "S~urface angle" ;
506	};
507	MetricField MTR_SLANT
508	{
509	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_SLANT";
510		Border = TRUE ;
511        Pos = MAP_APPFONT ( 99 , SHADOW_START_Y + 11 ) ;
512		Size = MAP_APPFONT ( 50 , 12 ) ;
513		TabStop = TRUE ;
514		Repeat = TRUE ;
515		Spin = TRUE ;
516		SpinSize = 5 ;
517		Maximum = 90 ;
518		Unit = FUNIT_CUSTOM ;
519		Last = 90 ;
520		CustomUnitText [ en-US ] = " degree(s)";
521	};
522
523    FixedLine FL_CAMERA
524	{
525        Pos = MAP_APPFONT ( BORDER , CAMERA_START_Y ) ;
526        Size = FIXED_LINE_SIZE;
527		Text [ en-US ] = "Camera" ;
528	};
529	FixedText FT_DISTANCE
530	{
531		Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 ) ;
532        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
533		Text [ en-US ] = "~Distance" ;
534	};
535	MetricField MTR_DISTANCE
536	{
537	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_DISTANCE";
538		Border = TRUE ;
539        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
540                            CAMERA_START_Y + 11 - 2 ) ;
541		Size = MAP_APPFONT ( 50 , 12 ) ;
542		TabStop = TRUE ;
543		Repeat = TRUE ;
544		Spin = TRUE ;
545		StrictFormat = TRUE ;
546		Unit = FUNIT_MM ;
547		Minimum = 1 ;
548		First = 1 ;
549		Maximum = 1000000 ;
550		Last = 1000000 ;
551		DecimalDigits = 2 ;
552		SpinSize = 100 ;
553	};
554	FixedText FT_FOCAL_LENGTH
555	{
556		Pos = MAP_APPFONT ( FT_INDENT , CAMERA_START_Y + 11 + FT_OFFSET_NEXT ) ;
557        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
558		Text [ en-US ] = "~Focal length" ;
559	};
560	MetricField MTR_FOCAL_LENGTH
561	{
562	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_FOCAL_LENGTH";
563		Border = TRUE ;
564        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_LONG + 1 ,
565                            CAMERA_START_Y + 11 + FT_OFFSET_NEXT - 2 ) ;
566		Size = MAP_APPFONT ( 50 , 12 ) ;
567		TabStop = TRUE ;
568		Repeat = TRUE ;
569		Spin = TRUE ;
570		StrictFormat = TRUE ;
571		Unit = FUNIT_MM ;
572		Minimum = 1 ;
573		First = 1 ;
574		Maximum = 1000000 ;
575		Last = 1000000 ;
576		DecimalDigits = 2 ;
577		SpinSize = 100 ;
578	};
579    FixedLine FL_REPRESENTATION
580	{
581        Pos = TOP_FIXED_LINE_POS;
582        Size = FIXED_LINE_SIZE;
583		Text [ en-US ] = "Shading" ;
584	};
585	 // Beleuchtung
586    FixedText FT_LIGHTSOURCE
587	{
588        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
589        Size = MAP_APPFONT ( FT_WIDTH_LONG , FT_HEIGHT ) ;
590		Text [ en-US ] = "~Light source" ;
591	};
592	ImageButton BTN_LIGHT_1
593	{
594	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_1";
595        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 11 ) ;
596        Size = MAP_APPFONT ( 12 , 14 ) ;
597		ButtonImage = Image
598		{
599			ImageBitmap = Bitmap { File = "light.bmp" ; };
600			MASKCOLOR
601		};
602		TabStop = TRUE ;
603		QuickHelpText [ en-US ] = "Light Source 1" ;
604	};
605	ImageButton BTN_LIGHT_2
606	{
607	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_2";
608        Pos = MAP_APPFONT ( FT_INDENT + 13 , FIRST_FT_START_Y + 11 ) ;
609        Size = MAP_APPFONT ( 12 , 14 ) ;
610		ButtonImage = Image
611		{
612			ImageBitmap = Bitmap { File = "light.bmp" ; };
613			MASKCOLOR
614		};
615		TabStop = TRUE ;
616		QuickHelpText [ en-US ] = "Light Source 2" ;
617	};
618	ImageButton BTN_LIGHT_3
619	{
620	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_3";
621        Pos = MAP_APPFONT ( FT_INDENT + 2*13 , FIRST_FT_START_Y + 11 ) ;
622        Size = MAP_APPFONT ( 12 , 14 ) ;
623		ButtonImage = Image
624		{
625			ImageBitmap = Bitmap { File = "light.bmp" ; };
626			MASKCOLOR
627		};
628		TabStop = TRUE ;
629		QuickHelpText [ en-US ] = "Light Source 3" ;
630	};
631	ImageButton BTN_LIGHT_4
632	{
633	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_4";
634        Pos = MAP_APPFONT ( FT_INDENT + 3*13 , FIRST_FT_START_Y + 11 ) ;
635        Size = MAP_APPFONT ( 12 , 14 ) ;
636		ButtonImage = Image
637		{
638			ImageBitmap = Bitmap { File = "light.bmp" ; };
639			MASKCOLOR
640		};
641		TabStop = TRUE ;
642		QuickHelpText [ en-US ] = "Light Source 4" ;
643	};
644	ImageButton BTN_LIGHT_5
645	{
646	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_5";
647        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 26 ) ;
648        Size = MAP_APPFONT ( 12 , 14 ) ;
649		ButtonImage = Image
650		{
651			ImageBitmap = Bitmap { File = "light.bmp" ; };
652			MASKCOLOR
653		};
654		TabStop = TRUE ;
655		QuickHelpText [ en-US ] = "Light Source 5" ;
656	};
657	ImageButton BTN_LIGHT_6
658	{
659	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_6";
660        Pos = MAP_APPFONT ( FT_INDENT + 13, FIRST_FT_START_Y + 26 ) ;
661        Size = MAP_APPFONT ( 12 , 14 ) ;
662		ButtonImage = Image
663		{
664			ImageBitmap = Bitmap { File = "light.bmp" ; };
665			MASKCOLOR
666		};
667		TabStop = TRUE ;
668		QuickHelpText [ en-US ] = "Light Source 6" ;
669	};
670	ImageButton BTN_LIGHT_7
671	{
672	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_7";
673        Pos = MAP_APPFONT ( FT_INDENT + 2*13, FIRST_FT_START_Y + 26 ) ;
674        Size = MAP_APPFONT ( 12 , 14 ) ;
675		ButtonImage = Image
676		{
677			ImageBitmap = Bitmap { File = "light.bmp" ; };
678			MASKCOLOR
679		};
680		TabStop = TRUE ;
681		QuickHelpText [ en-US ] = "Light Source 7" ;
682	};
683	ImageButton BTN_LIGHT_8
684	{
685	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_8";
686        Pos = MAP_APPFONT ( FT_INDENT +3*13 , FIRST_FT_START_Y + 26 ) ;
687        Size = MAP_APPFONT ( 12 , 14 ) ;
688		ButtonImage = Image
689		{
690			ImageBitmap = Bitmap { File = "light.bmp" ; };
691			MASKCOLOR
692		};
693		TabStop = TRUE ;
694		QuickHelpText [ en-US ] = "Light Source 8" ;
695	};
696	ListBox LB_LIGHT_1
697	{
698	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_1";
699		Border = TRUE ;
700        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
701        Size = MAP_APPFONT ( 68 , 100 ) ;
702		TabStop = TRUE ;
703		DropDown = TRUE ;
704	};
705	ListBox LB_LIGHT_2
706	{
707	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_2";
708		Border = TRUE ;
709        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
710        Size = MAP_APPFONT ( 68 , 100 ) ;
711		TabStop = TRUE ;
712		DropDown = TRUE ;
713	};
714	ListBox LB_LIGHT_3
715	{
716	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_3";
717		Border = TRUE ;
718        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
719        Size = MAP_APPFONT ( 68 , 100 ) ;
720		TabStop = TRUE ;
721		DropDown = TRUE ;
722	};
723	ListBox LB_LIGHT_4
724	{
725	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_4";
726		Border = TRUE ;
727        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
728        Size = MAP_APPFONT ( 68 , 100 ) ;
729		TabStop = TRUE ;
730		DropDown = TRUE ;
731	};
732	ListBox LB_LIGHT_5
733	{
734	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_5";
735		Border = TRUE ;
736        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
737        Size = MAP_APPFONT ( 68 , 100 ) ;
738		TabStop = TRUE ;
739		DropDown = TRUE ;
740	};
741	ListBox LB_LIGHT_6
742	{
743	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_6";
744		Border = TRUE ;
745        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
746        Size = MAP_APPFONT ( 68 , 100 ) ;
747		TabStop = TRUE ;
748		DropDown = TRUE ;
749	};
750	ListBox LB_LIGHT_7
751	{
752	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_7";
753		Border = TRUE ;
754        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
755        Size = MAP_APPFONT ( 68 , 100 ) ;
756		TabStop = TRUE ;
757		DropDown = TRUE ;
758	};
759	ListBox LB_LIGHT_8
760	{
761	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_LIGHT_8";
762		Border = TRUE ;
763        Pos = MAP_APPFONT ( 66 , FIRST_FT_START_Y + 11 ) ;
764        Size = MAP_APPFONT ( 68 , 100 ) ;
765		TabStop = TRUE ;
766		DropDown = TRUE ;
767	};
768	ImageButton BTN_LIGHT_COLOR
769	{
770	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_LIGHT_COLOR";
771        Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 11 ) ;
772        Size = MAP_APPFONT ( 12 , 14 ) ;
773		ButtonImage = Image
774		{
775			ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
776			MASKCOLOR
777		};
778		TabStop = TRUE ;
779		QuickHelpText [ en-US ] = "Colors Dialog" ;
780	};
781    FixedText FT_AMBIENTLIGHT
782	{
783        Pos = MAP_APPFONT ( FT_INDENT, FIRST_FT_START_Y + 53 ) ;
784        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
785		Text [ en-US ] = "~Ambient light" ;
786	};
787	ListBox LB_AMBIENTLIGHT
788	{
789	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_AMBIENTLIGHT";
790		Border = TRUE ;
791        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 , FIRST_FT_START_Y + 53 ) ;
792        Size = MAP_APPFONT ( 68 , 100 ) ;
793		TabStop = TRUE ;
794		DropDown = TRUE ;
795	};
796	ImageButton BTN_AMBIENT_COLOR
797	{
798	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_AMBIENT_COLOR";
799        Pos = MAP_APPFONT ( 137 , FIRST_FT_START_Y + 53 ) ;
800        Size = MAP_APPFONT ( 12 , 14 ) ;
801		ButtonImage = Image
802		{
803			ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
804			MASKCOLOR
805		};
806		TabStop = TRUE ;
807		QuickHelpText [ en-US ] = "Colors Dialog" ;
808	};
809
810    FixedLine FL_LIGHT
811	{
812        Pos = TOP_FIXED_LINE_POS;
813        Size = FIXED_LINE_SIZE ;
814		Text [ en-US ] = "Illumination" ;
815	};
816	 // Texturen
817	FixedText FT_TEX_KIND
818	{
819        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
820        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
821		Text [ en-US ] = "~Type" ;
822	};
823	ImageButton BTN_TEX_LUMINANCE
824	{
825	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_LUMINANCE";
826        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
827                            FIRST_FT_START_Y - 2 ) ;
828		Size = IMG_BUTTON_SIZE;
829		ButtonImage = Image
830		{
831			ImageBitmap = Bitmap { File = "luminanc.bmp" ; };
832			MASKCOLOR
833		};
834		TabStop = TRUE ;
835		QuickHelpText [ en-US ] = "Black & White" ;
836	};
837	ImageButton BTN_TEX_COLOR
838	{
839	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_COLOR";
840        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
841                            FIRST_FT_START_Y - 2 ) ;
842		Size = IMG_BUTTON_SIZE;
843		ButtonImage = Image
844		{
845			ImageBitmap = Bitmap { File = "color.bmp" ; };
846			MASKCOLOR
847		};
848		TabStop = TRUE ;
849		QuickHelpText [ en-US ] = "Color" ;
850	};
851	FixedText FT_TEX_MODE
852	{
853        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + IMG_BUTTON_NEXT ) ;
854        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
855		Text [ en-US ] = "~Mode" ;
856	};
857	ImageButton BTN_TEX_REPLACE
858	{
859	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_REPLACE";
860        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
861                            FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
862		Size = IMG_BUTTON_SIZE;
863		ButtonImage = Image
864		{
865			ImageBitmap = Bitmap { File = "replac3d.bmp" ; };
866			MASKCOLOR
867		};
868		TabStop = TRUE ;
869		QuickHelpText [ en-US ] = "Only Texture" ;
870	};
871	ImageButton BTN_TEX_MODULATE
872	{
873	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_MODULATE";
874        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
875                            FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
876		Size = IMG_BUTTON_SIZE;
877		ButtonImage = Image
878		{
879			ImageBitmap = Bitmap { File = "modula3d.bmp" ; };
880			MASKCOLOR
881		};
882		TabStop = TRUE ;
883		QuickHelpText [ en-US ] = "Texture and Shading" ;
884	};
885	ImageButton BTN_TEX_BLEND
886	{
887	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_BLEND";
888        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
889                            FIRST_FT_START_Y + IMG_BUTTON_NEXT - 2 ) ;
890		Size = IMG_BUTTON_SIZE;
891		ButtonImage = Image
892		{
893			ImageBitmap = Bitmap { File = "blend3d.bmp" ; };
894			MASKCOLOR
895		};
896		TabStop = TRUE ;
897		QuickHelpText [ en-US ] = "Texture, Shadow and Color" ;
898	};
899	FixedText FT_TEX_PROJECTION_X
900	{
901        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT ) ;
902        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
903		Text [ en-US ] = "~Projection X" ;
904	};
905	ImageButton BTN_TEX_OBJECT_X
906	{
907	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_X";
908        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
909                            FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
910		Size = IMG_BUTTON_SIZE;
911		ButtonImage = Image
912		{
913			ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
914			MASKCOLOR
915		};
916		TabStop = TRUE ;
917		QuickHelpText [ en-US ] = "Object-Specific" ;
918	};
919	ImageButton BTN_TEX_PARALLEL_X
920	{
921	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_X";
922        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
923                            FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
924		Size = IMG_BUTTON_SIZE;
925		ButtonImage = Image
926		{
927			ImageBitmap = Bitmap { File = "parallel.bmp" ; };
928			MASKCOLOR
929		};
930		TabStop = TRUE ;
931		QuickHelpText [ en-US ] = "Parallel" ;
932	};
933	ImageButton BTN_TEX_CIRCLE_X
934	{
935	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_X";
936        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
937                            FIRST_FT_START_Y + 2*IMG_BUTTON_NEXT - 2 ) ;
938		Size = IMG_BUTTON_SIZE;
939		ButtonImage = Image
940		{
941			ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
942			MASKCOLOR
943		};
944		TabStop = TRUE ;
945		QuickHelpText [ en-US ] = "Circular" ;
946	};
947	FixedText FT_TEX_PROJECTION_Y
948	{
949        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT ) ;
950        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
951		Text [ en-US ] = "P~rojection Y" ;
952	};
953	ImageButton BTN_TEX_OBJECT_Y
954	{
955	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_OBJECT_Y";
956        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
957                            FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
958		Size = IMG_BUTTON_SIZE;
959		ButtonImage = Image
960		{
961			ImageBitmap = Bitmap { File = "objspc3d.bmp" ; };
962			MASKCOLOR
963		};
964		TabStop = TRUE ;
965		QuickHelpText [ en-US ] = "Object-Specific" ;
966	};
967	ImageButton BTN_TEX_PARALLEL_Y
968	{
969	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_PARALLEL_Y";
970        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + BUTTON_WIDTH,
971                            FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
972		Size = IMG_BUTTON_SIZE;
973		ButtonImage = Image
974		{
975			ImageBitmap = Bitmap { File = "parallel.bmp" ; };
976			MASKCOLOR
977		};
978		TabStop = TRUE ;
979		QuickHelpText [ en-US ] = "Parallel" ;
980	};
981	ImageButton BTN_TEX_CIRCLE_Y
982	{
983	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_CIRCLE_Y";
984        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 + 2*BUTTON_WIDTH,
985                            FIRST_FT_START_Y + 3*IMG_BUTTON_NEXT - 2 ) ;
986		Size = IMG_BUTTON_SIZE;
987		ButtonImage = Image
988		{
989			ImageBitmap = Bitmap { File = "sphere3d.bmp" ; };
990			MASKCOLOR
991		};
992		TabStop = TRUE ;
993		QuickHelpText [ en-US ] = "Circular" ;
994	};
995	FixedText FT_TEX_FILTER
996	{
997        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT ) ;
998        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
999		Text [ en-US ] = "~Filtering" ;
1000	};
1001	ImageButton BTN_TEX_FILTER
1002	{
1003	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_TEX_FILTER";
1004        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
1005                            FIRST_FT_START_Y + 4*IMG_BUTTON_NEXT - 2 ) ;
1006		Size = IMG_BUTTON_SIZE;
1007		ButtonImage = Image
1008		{
1009			ImageBitmap = Bitmap { File = "filter3d.bmp" ; };
1010			MASKCOLOR
1011		};
1012		TabStop = TRUE ;
1013		QuickHelpText [ en-US ] = "Filtering On/Off" ;
1014	};
1015    FixedLine FL_TEXTURE
1016	{
1017		Pos = TOP_FIXED_LINE_POS;
1018        Size = FIXED_LINE_SIZE;
1019		Text [ en-US ] = "Textures" ;
1020	};
1021	 // Material
1022	/*  Control CTL_MATERIAL
1023  {
1024	  //HelpId = HID_SD_CTL_FAVORITES ;
1025	  Border = TRUE ;
1026	  Pos = MAP_APPFONT ( BORDER + 6 , GROUP_Y + 9 ) ;
1027	  Size = MAP_APPFONT ( GROUP_WIDTH - 12 , GROUP_HEIGHT - 15 ) ;
1028	  TabStop = TRUE ;
1029	  Hide = TRUE ;
1030  };
1031*/
1032	 // Materialeditor
1033	FixedText FT_MAT_FAVORITES
1034	{
1035        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y ) ;
1036        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1037		Text [ en-US ] = "~Favorites" ;
1038	};
1039	ListBox LB_MAT_FAVORITES
1040	{
1041	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_FAVORITES";
1042		Border = TRUE ;
1043        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1,
1044                            FIRST_FT_START_Y - 2 ) ;
1045        Size = MAP_APPFONT ( 83 , 100 ) ;
1046		TabStop = TRUE ;
1047		DropDown = TRUE ;
1048		StringList [ en-US ] =
1049		{
1050			< "User-defined" ; > ;
1051			< "Metal" ; > ;
1052			< "Gold" ; > ;
1053			< "Chrome" ; > ;
1054			< "Plastic" ; > ;
1055			< "Wood" ; > ;
1056		};
1057	};
1058	FixedText FT_MAT_COLOR
1059	{
1060        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + FT_OFFSET_NEXT ) ;
1061        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1062		Text [ en-US ] = "~Object color" ;
1063	};
1064	ListBox LB_MAT_COLOR
1065	{
1066	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_COLOR";
1067		Border = TRUE ;
1068        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1069                            FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1070        Size = MAP_APPFONT ( 68 , 100 ) ;
1071		TabStop = TRUE ;
1072		DropDown = TRUE ;
1073	};
1074	ImageButton BTN_MAT_COLOR
1075	{
1076	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_COLOR";
1077        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1078                            FIRST_FT_START_Y + FT_OFFSET_NEXT - 2 ) ;
1079        Size = MAP_APPFONT ( 12, 14 ) ;
1080		ButtonImage = Image
1081		{
1082			ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1083			MASKCOLOR
1084		};
1085		TabStop = TRUE ;
1086		QuickHelpText [ en-US ] = "Colors Dialog" ;
1087	};
1088	FixedText FT_MAT_EMISSION
1089	{
1090        Pos = MAP_APPFONT ( FT_INDENT , FIRST_FT_START_Y + 2*FT_OFFSET_NEXT ) ;
1091        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1092		Text [ en-US ] = "~Illumination color" ;
1093	};
1094	ListBox LB_MAT_EMISSION
1095	{
1096	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_EMISSION";
1097		Border = TRUE ;
1098        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1099                            FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1100        Size = MAP_APPFONT ( 68 , 100 ) ;
1101		TabStop = TRUE ;
1102		DropDown = TRUE ;
1103	};
1104	ImageButton BTN_EMISSION_COLOR
1105	{
1106	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_EMISSION_COLOR";
1107        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 72 ,
1108                            FIRST_FT_START_Y + 2*FT_OFFSET_NEXT - 2 ) ;
1109        Size = MAP_APPFONT ( 12, 14 ) ;
1110		ButtonImage = Image
1111		{
1112			ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1113			MASKCOLOR
1114		};
1115		TabStop = TRUE ;
1116		QuickHelpText [ en-US ] = "Colors Dialog" ;
1117	};
1118
1119    FixedLine FL_MAT_SPECULAR
1120	{
1121        Pos = MAP_APPFONT ( BORDER , SPECULAR_START_Y ) ;
1122        Size = FIXED_LINE_SIZE;
1123		Text [ en-US ] = "Specular" ;
1124	};
1125	FixedText FT_MAT_SPECULAR
1126	{
1127        Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 ) ;
1128        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1129		Text [ en-US ] = "~Color" ;
1130	};
1131	ListBox LB_MAT_SPECULAR
1132	{
1133	    HelpID = "svx:ListBox:RID_SVXFLOAT_3D:LB_MAT_SPECULAR";
1134		Border = TRUE ;
1135        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1, SPECULAR_START_Y + 13 - 2 ) ;
1136        Size = MAP_APPFONT ( 68 , 100 ) ;
1137		TabStop = TRUE ;
1138		DropDown = TRUE ;
1139	};
1140	ImageButton BTN_SPECULAR_COLOR
1141	{
1142	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_SPECULAR_COLOR";
1143        Pos = MAP_APPFONT ( 137 , SPECULAR_START_Y + 13 - 2 ) ;
1144        Size = MAP_APPFONT ( 12, 14 ) ;
1145		ButtonImage = Image
1146		{
1147			ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1148			MASKCOLOR
1149		};
1150		TabStop = TRUE ;
1151		QuickHelpText [ en-US ] = "Colors Dialog" ;
1152	};
1153	FixedText FT_MAT_SPECULAR_INTENSITY
1154	{
1155        Pos = MAP_APPFONT ( FT_INDENT , SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1156        Size = MAP_APPFONT ( FT_WIDTH_SHORT , FT_HEIGHT ) ;
1157		Text [ en-US ] = "I~ntensity" ;
1158	};
1159	MetricField MTR_MAT_SPECULAR_INTENSITY
1160	{
1161	    HelpID = "svx:MetricField:RID_SVXFLOAT_3D:MTR_MAT_SPECULAR_INTENSITY";
1162		Border = TRUE ;
1163        Pos = MAP_APPFONT ( FT_INDENT + FT_WIDTH_SHORT + 1 ,
1164                            SPECULAR_START_Y + 13 + FT_OFFSET_NEXT ) ;
1165        Size = MAP_APPFONT ( 68 , 12 ) ;
1166		TabStop = TRUE ;
1167		Repeat = TRUE ;
1168		Spin = TRUE ;
1169		Unit = FUNIT_PERCENT ;
1170		Minimum = 1 ;
1171		First = 1 ;
1172		Maximum = 100 ;
1173		Last = 100 ;
1174		SpinSize = 1 ;
1175	};
1176	/*
1177	ImageButton BTN_MAT_FAVORITES {
1178	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_FAVORITES";
1179		Pos = MAP_APPFONT( BORDER, GROUP_PREV_Y+1 );
1180		Size = IMG_BUTTON_SIZE;
1181	  QuickHelpText = "Material Favoriten" ;
1182	  ButtonImage = Image
1183	  {
1184		  ImageBitmap = Bitmap { File = "matfavor.bmp" ; };
1185		  MASKCOLOR
1186	  };
1187			TabStop = TRUE;
1188		};
1189	ImageButton BTN_MAT_EDITOR {
1190	    HelpID = "svx:ImageButton:RID_SVXFLOAT_3D:BTN_MAT_EDITOR";
1191			Pos = MAP_APPFONT( BORDER + BUTTON_WIDTH, GROUP_PREV_Y+1 );
1192			Size = IMG_BUTTON_SIZE;
1193	  QuickHelpText = "Material Editor" ;
1194	  ButtonImage = Image
1195	  {
1196		  ImageBitmap = Bitmap { File = "matedit.bmp" ; };
1197		  MASKCOLOR
1198	  };
1199			TabStop = TRUE;
1200		};
1201*/
1202    FixedLine FL_MATERIAL
1203	{
1204        Pos = TOP_FIXED_LINE_POS;
1205        Size = FIXED_LINE_SIZE;
1206		Text [ en-US ] = "Material" ;
1207	};
1208
1209	Bitmap BMP_GEO_H
1210	{
1211		File = "3dgeo_h.bmp";
1212	};
1213
1214	Bitmap BMP_REPRESENTATION_H
1215	{
1216		File = "3drepres_h.bmp";
1217	};
1218
1219	Bitmap BMP_3DLIGHT_H
1220	{
1221		File = "3dlight_h.bmp";
1222	};
1223
1224	Bitmap BMP_TEXTURE_H
1225	{
1226		File = "3dtextur_h.bmp";
1227	};
1228
1229	Bitmap BMP_MATERIAL_H
1230	{
1231		File = "material_h.bmp";
1232	};
1233
1234	Bitmap BMP_UPDATE_H
1235	{
1236		File = "sc10350_h.bmp";
1237	};
1238
1239	Bitmap BMP_ASSIGN_H
1240	{
1241		File = "apply_h.bmp";
1242	};
1243
1244	Bitmap BMP_CHANGE_TO_3D_H
1245	{
1246		File = "convrt3d_h.bmp";
1247	};
1248
1249	Bitmap BMP_LATHE_OBJ_H
1250	{
1251		File = "rotate3d_h.bmp";
1252	};
1253
1254	Bitmap BMP_PERSPECTIVE_H
1255	{
1256		File = "persp3d_h.bmp";
1257	};
1258
1259	Bitmap BMP_NORMALS_OBJ_H
1260	{
1261		File = "normobjs_h.bmp";
1262	};
1263
1264	Bitmap BMP_NORMALS_FLAT_H
1265	{
1266		File = "normflat_h.bmp";
1267	};
1268
1269	Bitmap BMP_NORMALS_SPHERE_H
1270	{
1271		File = "normsphe_h.bmp";
1272	};
1273
1274	Bitmap BMP_NORMALS_INVERT_H
1275	{
1276		File = "invert3d_h.bmp";
1277	};
1278
1279	Bitmap BMP_TWO_SIDED_LIGHTING_H
1280	{
1281		File = "lght2sid_h.bmp";
1282	};
1283
1284	Bitmap BMP_DOUBLE_SIDED_H
1285	{
1286		File = "doublesi_h.bmp";
1287	};
1288
1289	Bitmap BMP_SHADOW_3D_H
1290	{
1291		File = "shadow3d_h.bmp";
1292	};
1293
1294	Bitmap BMP_LIGHT_H
1295	{
1296		File = "light_h.bmp";
1297	};
1298
1299	Bitmap BMP_LIGHT_COLOR_H
1300	{
1301		File = "colordlg_h.bmp";
1302	};
1303
1304	Bitmap BMP_AMBIENT_COLOR_H
1305	{
1306		File = "colordlg_h.bmp";
1307	};
1308
1309	Bitmap BMP_TEX_LUMINANCE_H
1310	{
1311		File = "luminanc_h.bmp";
1312	};
1313
1314	Bitmap BMP_TEX_COLOR_H
1315	{
1316		File = "color_h.bmp";
1317	};
1318
1319	Bitmap BMP_TEX_REPLACE_H
1320	{
1321		File = "replac3d_h.bmp";
1322	};
1323
1324	Bitmap BMP_TEX_MODULATE_H
1325	{
1326		File = "modula3d_h.bmp";
1327	};
1328
1329	Bitmap BMP_TEX_BLEND_H
1330	{
1331		File = "blend3d_h.bmp";
1332	};
1333
1334	Bitmap BMP_TEX_OBJECT_H
1335	{
1336		File = "objspc3d_h.bmp";
1337	};
1338
1339	Bitmap BMP_TEX_PARALLEL_H
1340	{
1341		File = "parallel_h.bmp";
1342	};
1343
1344	Bitmap BMP_TEX_CIRCLE_H
1345	{
1346		File = "sphere3d_h.bmp";
1347	};
1348
1349	Bitmap BMP_TEX_FILTER_H
1350	{
1351		File = "filter3d_h.bmp";
1352	};
1353
1354	Bitmap BMP_COLORDLG_H
1355	{
1356		File = "colordlg_h.bmp";
1357	};
1358};
1359
1360Image RID_SVXIMAGE_LIGHT_ON
1361{
1362	ImageBitmap = Bitmap { File = "lighton.bmp" ; };
1363	MASKCOLOR
1364};
1365
1366Image RID_SVXIMAGE_LIGHT_OFF
1367{
1368	ImageBitmap = Bitmap { File = "light.bmp" ; };
1369	MASKCOLOR
1370};
1371
1372Image RID_SVXIMAGE_LIGHT_ON_H
1373{
1374	ImageBitmap = Bitmap { File = "lighton_h.bmp" ; };
1375	MASKCOLOR
1376};
1377
1378Image RID_SVXIMAGE_LIGHT_OFF_H
1379{
1380	ImageBitmap = Bitmap { File = "light_h.bmp" ; };
1381	MASKCOLOR
1382};
1383
1384Image RID_SVXIMAGE_COLORDLG
1385{
1386	ImageBitmap = Bitmap { File = "colordlg.bmp" ; };
1387	MASKCOLOR
1388};
1389
1390Image RID_SVXIMAGE_COLORDLG_H
1391{
1392	ImageBitmap = Bitmap { File = "colordlg_h.bmp" ; };
1393	MASKCOLOR
1394};
1395
1396/*Image RID_SVXIMAGE_LIGHT_ON_SELECTED {
1397	  ImageBitmap = Bitmap { File = "lightons.bmp" ; };
1398	  MASKCOLOR
1399};
1400Image RID_SVXIMAGE_LIGHT_OFF_SELECTED {
1401	  ImageBitmap = Bitmap { File = "lightsel.bmp" ; };
1402	  MASKCOLOR
1403};*/
1404
1405String RID_SVXFLOAT3D_FAVORITE
1406{
1407	Text [ en-US ] = "Favorite";
1408};
1409String RID_SVXFLOAT3D_FIX_X
1410{
1411	Text [ en-US ] = "X";
1412};
1413String RID_SVXFLOAT3D_FIX_Y
1414{
1415	Text [ en-US ] = "Y";
1416};
1417String RID_SVXFLOAT3D_FIX_Z
1418{
1419	Text [ en-US ] = "Z";
1420};
1421String RID_SVXFLOAT3D_FIX_R
1422{
1423	Text [ en-US ] = "R:";
1424};
1425String RID_SVXFLOAT3D_FIX_G
1426{
1427	Text [ en-US ] = "G:";
1428};
1429String RID_SVXFLOAT3D_FIX_B
1430{
1431	Text [ en-US ] = "B:";
1432
1433};
1434
1435String STR_COLOR_LIGHT_PRE
1436{
1437	Text [ en-US ] = "Color Light Preview";
1438};
1439