xref: /trunk/main/sd/source/ui/dlg/animobjs.src (revision 4ca4cb65f46f15f7b68c674324a5e3ae92bee49f)
166220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
466220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
566220049SAndrew Rist * distributed with this work for additional information
666220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
866220049SAndrew Rist * "License"); you may not use this file except in compliance
966220049SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
1166220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
1466220049SAndrew Rist * software distributed under the License is distributed on an
1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1666220049SAndrew Rist * KIND, either express or implied.  See the License for the
1766220049SAndrew Rist * specific language governing permissions and limitations
1866220049SAndrew Rist * under the License.
19cdf0e10cSrcweir *
2066220049SAndrew Rist *************************************************************/
2166220049SAndrew Rist
2266220049SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "res_bmp.hrc"
25cdf0e10cSrcweir#include "app.hrc"
26cdf0e10cSrcweir#include "animobjs.hrc"
27cdf0e10cSrcweir#include "helpids.h"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define BUTTON_WIDTH 16
30cdf0e10cSrcweir#define BUTTON_HEIGHT 14
31cdf0e10cSrcweir#define BUTTON_SIZE MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
32cdf0e10cSrcweir#define MIN_BUTTON_WIDTH 12
33cdf0e10cSrcweir#define MIN_BUTTON_HEIGHT 12
34cdf0e10cSrcweir#define MIN_BUTTON_SIZE MAP_APPFONT ( MIN_BUTTON_WIDTH, MIN_BUTTON_HEIGHT ) ;
35cdf0e10cSrcweirDockingWindow FLT_WIN_ANIMATION
36cdf0e10cSrcweir{
37cdf0e10cSrcweir    HelpID = CMD_SID_ANIMATION_OBJECTS ;
38cdf0e10cSrcweir    Border = TRUE ;
39cdf0e10cSrcweir    Hide = TRUE ;
40cdf0e10cSrcweir    SVLook = TRUE ;
41cdf0e10cSrcweir    Sizeable = TRUE ;
42cdf0e10cSrcweir    Moveable = TRUE ;
43cdf0e10cSrcweir    Closeable = TRUE ;
44cdf0e10cSrcweir    Zoomable = TRUE ;
45cdf0e10cSrcweir    Dockable = TRUE ;
46cdf0e10cSrcweir    EnableResizing = TRUE ;
47cdf0e10cSrcweir    Size = MAP_APPFONT ( 159, 236 ) ;
48cdf0e10cSrcweir    Text [ en-US ] = "Animation" ;
49cdf0e10cSrcweir    Control CTL_DISPLAY
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        Border = TRUE ;
52cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 6 ) ;
53cdf0e10cSrcweir        Size = MAP_APPFONT ( 147, 87 ) ;
54cdf0e10cSrcweir        TabStop = TRUE ;
55cdf0e10cSrcweir    };
56cdf0e10cSrcweir    ImageButton BTN_FIRST
57cdf0e10cSrcweir    {
58cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_FIRST" ;
59cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 100 ) ;
60cdf0e10cSrcweir        Size = MIN_BUTTON_SIZE
61cdf0e10cSrcweir        Symbol = IMAGEBUTTON_WINDSTART ;
62cdf0e10cSrcweir        QuickHelpText [ en-US ] = "First Image" ;
63cdf0e10cSrcweir    };
64cdf0e10cSrcweir    ImageButton BTN_REVERSE
65cdf0e10cSrcweir    {
66cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REVERSE" ;
67cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH, 100 ) ;
68cdf0e10cSrcweir        Size = MIN_BUTTON_SIZE
69cdf0e10cSrcweir        Symbol = IMAGEBUTTON_REVERSEPLAY ;
70cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Backwards" ;
71cdf0e10cSrcweir    };
72cdf0e10cSrcweir    ImageButton BTN_STOP
73cdf0e10cSrcweir    {
74cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP" ;
75cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2, 100 ) ;
76cdf0e10cSrcweir        Size = MIN_BUTTON_SIZE
77cdf0e10cSrcweir        Symbol = IMAGEBUTTON_STOP ;
78cdf0e10cSrcweir        Disable = TRUE ;
79cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Stop" ;
80cdf0e10cSrcweir    };
81cdf0e10cSrcweir    ImageButton BTN_PLAY
82cdf0e10cSrcweir    {
83cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY" ;
84cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3, 100 ) ;
85cdf0e10cSrcweir        Size = MIN_BUTTON_SIZE
86cdf0e10cSrcweir        Symbol = IMAGEBUTTON_PLAY ;
87cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Play" ;
88cdf0e10cSrcweir    };
89cdf0e10cSrcweir    ImageButton BTN_LAST
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST" ;
92cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4, 100 ) ;
93cdf0e10cSrcweir        Size = MIN_BUTTON_SIZE
94cdf0e10cSrcweir        Symbol = IMAGEBUTTON_WINDEND ;
95cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Last Image" ;
96cdf0e10cSrcweir    };
97cdf0e10cSrcweir    NumericField NUM_FLD_BITMAP
98cdf0e10cSrcweir    {
99cdf0e10cSrcweir        HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP" ;
100cdf0e10cSrcweir        Border = TRUE ;
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5, 100 ) ;
102cdf0e10cSrcweir        Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2, 12 ) ;
103cdf0e10cSrcweir        TabStop = TRUE ;
104cdf0e10cSrcweir        Repeat = TRUE ;
105cdf0e10cSrcweir        Spin = TRUE ;
106cdf0e10cSrcweir        Minimum = 1 ;
107cdf0e10cSrcweir        Maximum = 999 ;
108cdf0e10cSrcweir        StrictFormat = TRUE ;
109cdf0e10cSrcweir        First = 1 ;
110cdf0e10cSrcweir        Last = 999 ;
111cdf0e10cSrcweir        SpinSize = 1 ;
112cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Image Number" ;
113cdf0e10cSrcweir    };
114cdf0e10cSrcweir    TimeField TIME_FIELD
115cdf0e10cSrcweir    {
116cdf0e10cSrcweir        HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD" ;
117cdf0e10cSrcweir        Border = TRUE ;
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7, 100 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3, 12 ) ;
120cdf0e10cSrcweir        TabStop = TRUE ;
121cdf0e10cSrcweir        Repeat = TRUE ;
122cdf0e10cSrcweir        Spin = TRUE ;
123cdf0e10cSrcweir        Maximum = Time
124cdf0e10cSrcweir        {
125cdf0e10cSrcweir            Second = 59 ;
126cdf0e10cSrcweir            Sec100 = 99 ;
127cdf0e10cSrcweir        };
128cdf0e10cSrcweir        Duration = TRUE ;
129cdf0e10cSrcweir        StrictFormat = TRUE ;
130cdf0e10cSrcweir        Last = Time
131cdf0e10cSrcweir        {
132cdf0e10cSrcweir            Second = 59 ;
133cdf0e10cSrcweir            Sec100 = 99 ;
134cdf0e10cSrcweir        };
135cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Duration" ;
136cdf0e10cSrcweir    };
137cdf0e10cSrcweir    ListBox LB_LOOP_COUNT
138cdf0e10cSrcweir    {
139cdf0e10cSrcweir        HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT" ;
140cdf0e10cSrcweir        Border = TRUE ;
141cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9, 100 ) ;
142cdf0e10cSrcweir        Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3, 100 ) ;
143cdf0e10cSrcweir        TabStop = TRUE ;
144cdf0e10cSrcweir        DropDown = TRUE ;
145cdf0e10cSrcweir        StringList [ en-US ] =
146cdf0e10cSrcweir        {
147cdf0e10cSrcweir            < "1" ;     > ;
148cdf0e10cSrcweir            < "2" ;     > ;
149cdf0e10cSrcweir            < "3" ;     > ;
150cdf0e10cSrcweir            < "4" ;     > ;
151cdf0e10cSrcweir            < "5" ;     > ;
152cdf0e10cSrcweir            < "6" ;     > ;
153cdf0e10cSrcweir            < "7" ;     > ;
154cdf0e10cSrcweir            < "8" ;     > ;
155cdf0e10cSrcweir            < "9" ;     > ;
156cdf0e10cSrcweir            < "10" ;    > ;
157cdf0e10cSrcweir            < "12" ;    > ;
158cdf0e10cSrcweir            < "15" ;    > ;
159cdf0e10cSrcweir            < "20" ;    > ;
160cdf0e10cSrcweir            < "25" ;    > ;
161cdf0e10cSrcweir            < "50" ;    > ;
162cdf0e10cSrcweir            < "100" ;   > ;
163cdf0e10cSrcweir            < "500" ;   > ;
164cdf0e10cSrcweir            < "1000" ;  > ;
165cdf0e10cSrcweir            < "Max." ;  > ;
166cdf0e10cSrcweir        };
167cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Loop Count" ;
168cdf0e10cSrcweir    };
169cdf0e10cSrcweir    ImageButton BTN_GET_ONE_OBJECT
170cdf0e10cSrcweir    {
171cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT" ;
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 132 ) ;
173cdf0e10cSrcweir        Size = MAP_APPFONT ( 16, 14 ) ;
174cdf0e10cSrcweir        ButtonImage = Image
175cdf0e10cSrcweir        {
176cdf0e10cSrcweir            ImageBitmap = Bitmap
177cdf0e10cSrcweir            {
17841f1e1a1Smseidel                File = "get1obj.png" ;
179cdf0e10cSrcweir            };
180cdf0e10cSrcweir        };
181cdf0e10cSrcweir        TabStop = TRUE ;
182cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Apply Object" ;
183cdf0e10cSrcweir    };
184cdf0e10cSrcweir    ImageButton BTN_GET_ALL_OBJECTS
185cdf0e10cSrcweir    {
186cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS" ;
187cdf0e10cSrcweir        Pos = MAP_APPFONT ( 31, 132 ) ;
188cdf0e10cSrcweir        Size = MAP_APPFONT ( 16, 14 ) ;
189cdf0e10cSrcweir        ButtonImage = Image
190cdf0e10cSrcweir        {
191cdf0e10cSrcweir            ImageBitmap = Bitmap
192cdf0e10cSrcweir            {
19341f1e1a1Smseidel                File = "getallob.png" ;
194cdf0e10cSrcweir            };
195cdf0e10cSrcweir        };
196cdf0e10cSrcweir        TabStop = TRUE ;
197cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Apply Objects Individually" ;
198cdf0e10cSrcweir    };
199cdf0e10cSrcweir    ImageButton BTN_REMOVE_BITMAP
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP" ;
202cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60, 132 ) ;
203cdf0e10cSrcweir        Size = MAP_APPFONT ( 16, 14 ) ;
204cdf0e10cSrcweir        ButtonImage = Image
205cdf0e10cSrcweir        {
206cdf0e10cSrcweir            ImageBitmap = Bitmap
207cdf0e10cSrcweir            {
20841f1e1a1Smseidel                File = "del1bmp.png" ;
209cdf0e10cSrcweir            };
210cdf0e10cSrcweir        };
211cdf0e10cSrcweir        TabStop = TRUE ;
212cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Delete Current Image" ;
213cdf0e10cSrcweir    };
214cdf0e10cSrcweir    ImageButton BTN_REMOVE_ALL
215cdf0e10cSrcweir    {
216cdf0e10cSrcweir        HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL" ;
217cdf0e10cSrcweir        Pos = MAP_APPFONT ( 79, 132 ) ;
218cdf0e10cSrcweir        Size = MAP_APPFONT ( 16, 14 ) ;
219cdf0e10cSrcweir        ButtonImage = Image
220cdf0e10cSrcweir        {
221cdf0e10cSrcweir            ImageBitmap = Bitmap
222cdf0e10cSrcweir            {
22341f1e1a1Smseidel                File = "delall.png" ;
224cdf0e10cSrcweir            };
225cdf0e10cSrcweir        };
226cdf0e10cSrcweir        TabStop = TRUE ;
227cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Delete All Images" ;
228cdf0e10cSrcweir    };
229cdf0e10cSrcweir    FixedText FT_COUNT
230cdf0e10cSrcweir    {
231cdf0e10cSrcweir        Pos = MAP_APPFONT ( 106, 135 ) ;
232cdf0e10cSrcweir        Size = MAP_APPFONT ( 26, 10 ) ;
233cdf0e10cSrcweir        Text [ en-US ] = "Number" ;
234cdf0e10cSrcweir    };
235cdf0e10cSrcweir    FixedText FI_COUNT
236cdf0e10cSrcweir    {
237cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133, 135 ) ;
238cdf0e10cSrcweir        Size = MAP_APPFONT ( 15, 10 ) ;
239*4ca4cb65Smseidel        DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
240cdf0e10cSrcweir        DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ;
241cdf0e10cSrcweir        Text = "67" ;
242cdf0e10cSrcweir    };
243cdf0e10cSrcweir    FixedLine GRP_BITMAP
244cdf0e10cSrcweir    {
245cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 120 ) ;
246cdf0e10cSrcweir        Size = MAP_APPFONT ( 147, 8 ) ;
247cdf0e10cSrcweir        Text [ en-US ] = "Image" ;
248cdf0e10cSrcweir    };
249cdf0e10cSrcweir    RadioButton RBT_GROUP
250cdf0e10cSrcweir    {
251cdf0e10cSrcweir        HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP" ;
252cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 167 ) ;
253cdf0e10cSrcweir        Size = MAP_APPFONT ( 140, 12 ) ;
254cdf0e10cSrcweir        Text [ en-US ] = "Group object" ;
255cdf0e10cSrcweir    };
256cdf0e10cSrcweir    RadioButton RBT_BITMAP
257cdf0e10cSrcweir    {
258cdf0e10cSrcweir        HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP" ;
259cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 181 ) ;
260cdf0e10cSrcweir        Size = MAP_APPFONT ( 140, 12 ) ;
261cdf0e10cSrcweir        Text [ en-US ] = "Bitmap object" ;
262cdf0e10cSrcweir    };
263cdf0e10cSrcweir    FixedText FT_ADJUSTMENT
264cdf0e10cSrcweir    {
265cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 198 ) ;
266cdf0e10cSrcweir        Size = MAP_APPFONT ( 62, 10 ) ;
267*4ca4cb65Smseidel        DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
268cdf0e10cSrcweir        DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ;
269cdf0e10cSrcweir        Text [ en-US ] = "Alignment" ;
270cdf0e10cSrcweir    };
271cdf0e10cSrcweir    ListBox LB_ADJUSTMENT
272cdf0e10cSrcweir    {
273cdf0e10cSrcweir        HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT" ;
274cdf0e10cSrcweir        Border = TRUE ;
275cdf0e10cSrcweir        Pos = MAP_APPFONT ( 75, 196 ) ;
276cdf0e10cSrcweir        Size = MAP_APPFONT ( 72, 100 ) ;
277*4ca4cb65Smseidel        DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
278cdf0e10cSrcweir        DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ;
279cdf0e10cSrcweir        TabStop = TRUE ;
280cdf0e10cSrcweir        DropDown = TRUE ;
281cdf0e10cSrcweir        StringList [ en-US ] =
282cdf0e10cSrcweir        {
283cdf0e10cSrcweir            < "Top Left" ; Default ;        > ;
284cdf0e10cSrcweir            < "Left" ; Default ;            > ;
285cdf0e10cSrcweir            < "Bottom Left" ; Default ;     > ;
286cdf0e10cSrcweir            < "Top" ; Default ;             > ;
287cdf0e10cSrcweir            < "Centered" ; Default ;        > ;
288cdf0e10cSrcweir            < "Bottom" ; Default ;          > ;
289cdf0e10cSrcweir            < "Top Right" ; Default ;       > ;
290cdf0e10cSrcweir            < "Right" ; Default ;           > ;
291cdf0e10cSrcweir            < "Bottom Right" ; Default ;    > ;
292cdf0e10cSrcweir        };
293cdf0e10cSrcweir    };
294cdf0e10cSrcweir    PushButton BTN_CREATE_GROUP
295cdf0e10cSrcweir    {
296cdf0e10cSrcweir        HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP" ;
297cdf0e10cSrcweir        Pos = MAP_APPFONT ( 107, 216 ) ;
298cdf0e10cSrcweir        Size = MAP_APPFONT ( 41, 14 ) ;
299cdf0e10cSrcweir        TabStop = TRUE ;
300cdf0e10cSrcweir        Text [ en-US ] = "Create" ;
301cdf0e10cSrcweir    };
302cdf0e10cSrcweir    FixedLine GRP_ANIMATION_GROUP
303cdf0e10cSrcweir    {
304cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 155 ) ;
305cdf0e10cSrcweir        Size = MAP_APPFONT ( 147, 8 ) ;
306cdf0e10cSrcweir        Text [ en-US ] = "Animation group" ;
307cdf0e10cSrcweir    };
308cdf0e10cSrcweir    String STR_DISPLAY
309cdf0e10cSrcweir    {
310cdf0e10cSrcweir        Text [ en-US ] = "Preview" ;
311cdf0e10cSrcweir    };
312cdf0e10cSrcweir};
313cdf0e10cSrcweir
31496181bbdSmseidel// ********************************************************************** EOF
315