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