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 "res_bmp.hrc" 25#include "app.hrc" 26#include "animobjs.hrc" 27#include "helpids.h" 28 29#define BUTTON_WIDTH 16 30#define BUTTON_HEIGHT 14 31#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); 32#define MIN_BUTTON_WIDTH 12 33#define MIN_BUTTON_HEIGHT 12 34#define MIN_BUTTON_SIZE MAP_APPFONT( MIN_BUTTON_WIDTH, MIN_BUTTON_HEIGHT ); 35DockingWindow FLT_WIN_ANIMATION 36{ 37 HelpID = CMD_SID_ANIMATION_OBJECTS ; 38 Border = TRUE ; 39 Hide = TRUE ; 40 SVLook = TRUE ; 41 Sizeable = TRUE ; 42 Moveable = TRUE ; 43 Closeable = TRUE ; 44 Zoomable = TRUE ; 45 Dockable = TRUE ; 46 EnableResizing = TRUE ; 47 Size = MAP_APPFONT ( 159 , 236 ) ; 48 Text [ en-US ] = "Animation" ; 49 Control CTL_DISPLAY 50 { 51 Border = TRUE ; 52 Pos = MAP_APPFONT ( 6 , 6 ) ; 53 Size = MAP_APPFONT ( 147 , 87 ) ; 54 TabStop = TRUE ; 55 }; 56 ImageButton BTN_FIRST 57 { 58 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_FIRST"; 59 Pos = MAP_APPFONT ( 6 , 100 ) ; 60 Size = MIN_BUTTON_SIZE 61 Symbol = IMAGEBUTTON_WINDSTART ; 62 QuickHelpText [ en-US ] = "First Image" ; 63 }; 64 ImageButton BTN_REVERSE 65 { 66 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REVERSE"; 67 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH , 100 ) ; 68 Size = MIN_BUTTON_SIZE 69 Symbol = IMAGEBUTTON_REVERSEPLAY ; 70 /* ### ACHTUNG: Neuer Text in Resource? R�ckw�rts : R�ckw�rts */ 71 QuickHelpText [ en-US ] = "Backwards" ; 72 }; 73 ImageButton BTN_STOP 74 { 75 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP"; 76 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2 , 100 ) ; 77 Size = MIN_BUTTON_SIZE 78 Symbol = IMAGEBUTTON_STOP ; 79 Disable = TRUE ; 80 QuickHelpText [ en-US ] = "Stop" ; 81 }; 82 ImageButton BTN_PLAY 83 { 84 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY"; 85 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3 , 100 ) ; 86 Size = MIN_BUTTON_SIZE 87 Symbol = IMAGEBUTTON_PLAY ; 88 QuickHelpText [ en-US ] = "Play" ; 89 }; 90 ImageButton BTN_LAST 91 { 92 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST"; 93 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4 , 100 ) ; 94 Size = MIN_BUTTON_SIZE 95 Symbol = IMAGEBUTTON_WINDEND ; 96 QuickHelpText [ en-US ] = "Last Image" ; 97 }; 98 NumericField NUM_FLD_BITMAP 99 { 100 HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP"; 101 Border = TRUE ; 102 Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5 , 100 ) ; 103 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 , 12 ) ; 104 TabStop = TRUE ; 105 Repeat = TRUE ; 106 Spin = TRUE ; 107 Minimum = 1 ; 108 Maximum = 999 ; 109 StrictFormat = TRUE ; 110 First = 1 ; 111 Last = 999 ; 112 SpinSize = 1 ; 113 QuickHelpText [ en-US ] = "Image Number" ; 114 }; 115 TimeField TIME_FIELD 116 { 117 HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD"; 118 Border = TRUE ; 119 Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7 , 100 ) ; 120 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 12 ) ; 121 TabStop = TRUE ; 122 Repeat = TRUE ; 123 Spin = TRUE ; 124 Maximum = Time 125 { 126 Second = 59 ; 127 Sec100 = 99 ; 128 }; 129 Duration = TRUE ; 130 StrictFormat = TRUE ; 131 Last = Time 132 { 133 Second = 59 ; 134 Sec100 = 99 ; 135 }; 136 QuickHelpText [ en-US ] = "Duration" ; 137 }; 138 ListBox LB_LOOP_COUNT 139 { 140 HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT"; 141 Border = TRUE ; 142 Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9 , 100 ) ; 143 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 100 ) ; 144 TabStop = TRUE ; 145 DropDown = TRUE ; 146 StringList [ en-US ] = 147 { 148 < "1" ; > ; 149 < "2" ; > ; 150 < "3" ; > ; 151 < "4" ; > ; 152 < "5" ; > ; 153 < "6" ; > ; 154 < "7" ; > ; 155 < "8" ; > ; 156 < "9" ; > ; 157 < "10" ; > ; 158 < "12" ; > ; 159 < "15" ; > ; 160 < "20" ; > ; 161 < "25" ; > ; 162 < "50" ; > ; 163 < "100" ; > ; 164 < "500" ; > ; 165 < "1000" ; > ; 166 < "Max." ; > ; 167 }; 168 /* ### ACHTUNG: Neuer Text in Resource? Anzahl der Durchl�ufe : Anzahl der Durchl�ufe */ 169 QuickHelpText [ en-US ] = "Loop Count" ; 170 }; 171 ImageButton BTN_GET_ONE_OBJECT 172 { 173 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT"; 174 Pos = MAP_APPFONT ( 12 , 132 ) ; 175 Size = MAP_APPFONT ( 16 , 14 ) ; 176 ButtonImage = Image 177 { 178 ImageBitmap = Bitmap 179 { 180 File = "get1obj.png" ; 181 }; 182 MaskColor = IMAGE_MASK_STDCOLOR; 183 }; 184 TabStop = TRUE ; 185 /* ### ACHTUNG: Neuer Text in Resource? Objekt �bernehmen : Objekt �bernehmen */ 186 QuickHelpText [ en-US ] = "Apply Object" ; 187 }; 188 ImageButton BTN_GET_ALL_OBJECTS 189 { 190 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS"; 191 Pos = MAP_APPFONT ( 31 , 132 ) ; 192 Size = MAP_APPFONT ( 16 , 14 ) ; 193 ButtonImage = Image 194 { 195 ImageBitmap = Bitmap 196 { 197 File = "getallob.png" ; 198 }; 199 MaskColor = IMAGE_MASK_STDCOLOR; 200 }; 201 TabStop = TRUE ; 202 /* ### ACHTUNG: Neuer Text in Resource? Objekte einzeln �bernehmen : Objekte einzeln �bernehmen */ 203 QuickHelpText [ en-US ] = "Apply Objects Individually" ; 204 }; 205 ImageButton BTN_REMOVE_BITMAP 206 { 207 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP"; 208 Pos = MAP_APPFONT ( 60 , 132 ) ; 209 Size = MAP_APPFONT ( 16 , 14 ) ; 210 ButtonImage = Image 211 { 212 ImageBitmap = Bitmap 213 { 214 File = "del1bmp.png" ; 215 }; 216 MaskColor = IMAGE_MASK_STDCOLOR; 217 }; 218 TabStop = TRUE ; 219 /* ### ACHTUNG: Neuer Text in Resource? Aktuelles Bild l�schen : Aktuelles Bild l�schen */ 220 QuickHelpText [ en-US ] = "Delete Current Image" ; 221 }; 222 ImageButton BTN_REMOVE_ALL 223 { 224 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL"; 225 Pos = MAP_APPFONT ( 79 , 132 ) ; 226 Size = MAP_APPFONT ( 16 , 14 ) ; 227 ButtonImage = Image 228 { 229 ImageBitmap = Bitmap 230 { 231 File = "delall.png" ; 232 }; 233 MaskColor = IMAGE_MASK_STDCOLOR; 234 }; 235 TabStop = TRUE ; 236 /* ### ACHTUNG: Neuer Text in Resource? Alle Bilder l�schen : Alle Bilder l�schen */ 237 QuickHelpText [ en-US ] = "Delete All Images" ; 238 }; 239 FixedText FT_COUNT 240 { 241 Pos = MAP_APPFONT ( 106 , 135 ) ; 242 Size = MAP_APPFONT ( 26 , 10 ) ; 243 Text [ en-US ] = "Number" ; 244 }; 245 FixedText FI_COUNT 246 { 247 Pos = MAP_APPFONT ( 133 , 135 ) ; 248 Size = MAP_APPFONT ( 15 , 10 ) ; 249 DeltaLang [ de ]= < Default ; Default ; Default ; Default ; > ; 250 DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ; 251 Text = "67" ; 252 }; 253 FixedLine GRP_BITMAP 254 { 255 Pos = MAP_APPFONT ( 6 , 120 ) ; 256 Size = MAP_APPFONT ( 147 , 8 ) ; 257 Text [ en-US ] = "Image" ; 258 }; 259 RadioButton RBT_GROUP 260 { 261 HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP"; 262 Pos = MAP_APPFONT ( 12 , 167 ) ; 263 Size = MAP_APPFONT ( 140 , 12 ) ; 264 Text [ en-US ] = "Group object" ; 265 }; 266 RadioButton RBT_BITMAP 267 { 268 HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP"; 269 Pos = MAP_APPFONT ( 12 , 181 ) ; 270 Size = MAP_APPFONT ( 140 , 12 ) ; 271 Text [ en-US ] = "Bitmap object" ; 272 }; 273 FixedText FT_ADJUSTMENT 274 { 275 Pos = MAP_APPFONT ( 12 , 198 ) ; 276 Size = MAP_APPFONT ( 62 , 10 ) ; 277 DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; 278 DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ; 279 Text [ en-US ] = "Alignment" ; 280 }; 281 ListBox LB_ADJUSTMENT 282 { 283 HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT"; 284 Border = TRUE ; 285 Pos = MAP_APPFONT ( 75 , 196 ) ; 286 Size = MAP_APPFONT ( 72 , 100 ) ; 287 DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; 288 DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ; 289 TabStop = TRUE ; 290 DropDown = TRUE ; 291 StringList [ en-US ] = 292 { 293 < "Top Left" ; Default ; > ; 294 < "Left" ; Default ; > ; 295 < "Bottom Left" ; Default ; > ; 296 < "Top" ; Default ; > ; 297 < "Centered" ; Default ; > ; 298 < "Bottom" ; Default ; > ; 299 < "Top Right" ; Default ; > ; 300 < "Right" ; Default ; > ; 301 < "Bottom Right" ; Default ; > ; 302 }; 303 }; 304 PushButton BTN_CREATE_GROUP 305 { 306 HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP"; 307 Pos = MAP_APPFONT ( 107 , 216 ) ; 308 Size = MAP_APPFONT ( 41 , 14 ) ; 309 TabStop = TRUE ; 310 Text [ en-US ] = "Create" ; 311 }; 312 FixedLine GRP_ANIMATION_GROUP 313 { 314 Pos = MAP_APPFONT ( 6 , 155 ) ; 315 Size = MAP_APPFONT ( 147 , 8 ) ; 316 Text [ en-US ] = "Animation group" ; 317 }; 318 String STR_DISPLAY 319 { 320 Text [ en-US ] = "Preview"; 321 }; 322}; 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375