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