/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #include "res_bmp.hrc" #include "app.hrc" #include "animobjs.hrc" #include "helpids.h" #define BUTTON_WIDTH 16 #define BUTTON_HEIGHT 14 #define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); #define MIN_BUTTON_WIDTH 12 #define MIN_BUTTON_HEIGHT 12 #define MIN_BUTTON_SIZE MAP_APPFONT( MIN_BUTTON_WIDTH, MIN_BUTTON_HEIGHT ); DockingWindow FLT_WIN_ANIMATION { HelpID = CMD_SID_ANIMATION_OBJECTS ; Border = TRUE ; Hide = TRUE ; SVLook = TRUE ; Sizeable = TRUE ; Moveable = TRUE ; Closeable = TRUE ; Zoomable = TRUE ; Dockable = TRUE ; EnableResizing = TRUE ; Size = MAP_APPFONT ( 159 , 236 ) ; Text [ en-US ] = "Animation" ; Control CTL_DISPLAY { Border = TRUE ; Pos = MAP_APPFONT ( 6 , 6 ) ; Size = MAP_APPFONT ( 147 , 87 ) ; TabStop = TRUE ; }; ImageButton BTN_FIRST { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_FIRST"; Pos = MAP_APPFONT ( 6 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_WINDSTART ; QuickHelpText [ en-US ] = "First Image" ; }; ImageButton BTN_REVERSE { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REVERSE"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_REVERSEPLAY ; /* ### ACHTUNG: Neuer Text in Resource? Rückwärts : R³ckwõrts */ QuickHelpText [ en-US ] = "Backwards" ; }; ImageButton BTN_STOP { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_STOP ; Disable = TRUE ; QuickHelpText [ en-US ] = "Stop" ; }; ImageButton BTN_PLAY { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_PLAY ; QuickHelpText [ en-US ] = "Play" ; }; ImageButton BTN_LAST { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_WINDEND ; QuickHelpText [ en-US ] = "Last Image" ; }; NumericField NUM_FLD_BITMAP { HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 999 ; StrictFormat = TRUE ; First = 1 ; Last = 999 ; SpinSize = 1 ; QuickHelpText [ en-US ] = "Image Number" ; }; TimeField TIME_FIELD { HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = Time { Second = 59 ; Sec100 = 99 ; }; Duration = TRUE ; StrictFormat = TRUE ; Last = Time { Second = 59 ; Sec100 = 99 ; }; QuickHelpText [ en-US ] = "Duration" ; }; ListBox LB_LOOP_COUNT { HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; StringList [ en-US ] = { < "1" ; > ; < "2" ; > ; < "3" ; > ; < "4" ; > ; < "5" ; > ; < "6" ; > ; < "7" ; > ; < "8" ; > ; < "9" ; > ; < "10" ; > ; < "12" ; > ; < "15" ; > ; < "20" ; > ; < "25" ; > ; < "50" ; > ; < "100" ; > ; < "500" ; > ; < "1000" ; > ; < "Max." ; > ; }; /* ### ACHTUNG: Neuer Text in Resource? Anzahl der Durchläufe : Anzahl der Durchlõufe */ QuickHelpText [ en-US ] = "Loop Count" ; }; ImageButton BTN_GET_ONE_OBJECT { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT"; Pos = MAP_APPFONT ( 12 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "get1obj.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; /* ### ACHTUNG: Neuer Text in Resource? Objekt übernehmen : Objekt ³bernehmen */ QuickHelpText [ en-US ] = "Apply Object" ; }; ImageButton BTN_GET_ALL_OBJECTS { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS"; Pos = MAP_APPFONT ( 31 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "getallob.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; /* ### ACHTUNG: Neuer Text in Resource? Objekte einzeln übernehmen : Objekte einzeln ³bernehmen */ QuickHelpText [ en-US ] = "Apply Objects Individually" ; }; ImageButton BTN_REMOVE_BITMAP { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP"; Pos = MAP_APPFONT ( 60 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "del1bmp.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; /* ### ACHTUNG: Neuer Text in Resource? Aktuelles Bild löschen : Aktuelles Bild l÷schen */ QuickHelpText [ en-US ] = "Delete Current Image" ; }; ImageButton BTN_REMOVE_ALL { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL"; Pos = MAP_APPFONT ( 79 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "delall.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; /* ### ACHTUNG: Neuer Text in Resource? Alle Bilder löschen : Alle Bilder l÷schen */ QuickHelpText [ en-US ] = "Delete All Images" ; }; FixedText FT_COUNT { Pos = MAP_APPFONT ( 106 , 135 ) ; Size = MAP_APPFONT ( 26 , 10 ) ; Text [ en-US ] = "Number" ; }; FixedText FI_COUNT { Pos = MAP_APPFONT ( 133 , 135 ) ; Size = MAP_APPFONT ( 15 , 10 ) ; DeltaLang [ de ]= < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ; Text = "67" ; }; FixedLine GRP_BITMAP { Pos = MAP_APPFONT ( 6 , 120 ) ; Size = MAP_APPFONT ( 147 , 8 ) ; Text [ en-US ] = "Image" ; }; RadioButton RBT_GROUP { HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP"; Pos = MAP_APPFONT ( 12 , 167 ) ; Size = MAP_APPFONT ( 140 , 12 ) ; Text [ en-US ] = "Group object" ; }; RadioButton RBT_BITMAP { HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP"; Pos = MAP_APPFONT ( 12 , 181 ) ; Size = MAP_APPFONT ( 140 , 12 ) ; Text [ en-US ] = "Bitmap object" ; }; FixedText FT_ADJUSTMENT { Pos = MAP_APPFONT ( 12 , 198 ) ; Size = MAP_APPFONT ( 62 , 10 ) ; DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ; Text [ en-US ] = "Alignment" ; }; ListBox LB_ADJUSTMENT { HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT"; Border = TRUE ; Pos = MAP_APPFONT ( 75 , 196 ) ; Size = MAP_APPFONT ( 72 , 100 ) ; DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ; TabStop = TRUE ; DropDown = TRUE ; StringList [ en-US ] = { < "Top Left" ; Default ; > ; < "Left" ; Default ; > ; < "Bottom Left" ; Default ; > ; < "Top" ; Default ; > ; < "Centered" ; Default ; > ; < "Bottom" ; Default ; > ; < "Top Right" ; Default ; > ; < "Right" ; Default ; > ; < "Bottom Right" ; Default ; > ; }; }; PushButton BTN_CREATE_GROUP { HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP"; Pos = MAP_APPFONT ( 107 , 216 ) ; Size = MAP_APPFONT ( 41 , 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Create" ; }; FixedLine GRP_ANIMATION_GROUP { Pos = MAP_APPFONT ( 6 , 155 ) ; Size = MAP_APPFONT ( 147 , 8 ) ; Text [ en-US ] = "Animation group" ; }; String STR_DISPLAY { Text [ en-US ] = "Preview"; }; };