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