xref: /trunk/main/sd/source/ui/dlg/animobjs.src (revision 4ca4cb65)
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		QuickHelpText [ en-US ] = "Backwards" ;
71	};
72	ImageButton BTN_STOP
73	{
74		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP" ;
75		Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2, 100 ) ;
76		Size = MIN_BUTTON_SIZE
77		Symbol = IMAGEBUTTON_STOP ;
78		Disable = TRUE ;
79		QuickHelpText [ en-US ] = "Stop" ;
80	};
81	ImageButton BTN_PLAY
82	{
83		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY" ;
84		Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3, 100 ) ;
85		Size = MIN_BUTTON_SIZE
86		Symbol = IMAGEBUTTON_PLAY ;
87		QuickHelpText [ en-US ] = "Play" ;
88	};
89	ImageButton BTN_LAST
90	{
91		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST" ;
92		Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4, 100 ) ;
93		Size = MIN_BUTTON_SIZE
94		Symbol = IMAGEBUTTON_WINDEND ;
95		QuickHelpText [ en-US ] = "Last Image" ;
96	};
97	NumericField NUM_FLD_BITMAP
98	{
99		HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP" ;
100		Border = TRUE ;
101		Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5, 100 ) ;
102		Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2, 12 ) ;
103		TabStop = TRUE ;
104		Repeat = TRUE ;
105		Spin = TRUE ;
106		Minimum = 1 ;
107		Maximum = 999 ;
108		StrictFormat = TRUE ;
109		First = 1 ;
110		Last = 999 ;
111		SpinSize = 1 ;
112		QuickHelpText [ en-US ] = "Image Number" ;
113	};
114	TimeField TIME_FIELD
115	{
116		HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD" ;
117		Border = TRUE ;
118		Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7, 100 ) ;
119		Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3, 12 ) ;
120		TabStop = TRUE ;
121		Repeat = TRUE ;
122		Spin = TRUE ;
123		Maximum = Time
124		{
125			Second = 59 ;
126			Sec100 = 99 ;
127		};
128		Duration = TRUE ;
129		StrictFormat = TRUE ;
130		Last = Time
131		{
132			Second = 59 ;
133			Sec100 = 99 ;
134		};
135		QuickHelpText [ en-US ] = "Duration" ;
136	};
137	ListBox LB_LOOP_COUNT
138	{
139		HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT" ;
140		Border = TRUE ;
141		Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9, 100 ) ;
142		Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3, 100 ) ;
143		TabStop = TRUE ;
144		DropDown = TRUE ;
145		StringList [ en-US ] =
146		{
147			< "1" ;		> ;
148			< "2" ;		> ;
149			< "3" ;		> ;
150			< "4" ;		> ;
151			< "5" ;		> ;
152			< "6" ;		> ;
153			< "7" ;		> ;
154			< "8" ;		> ;
155			< "9" ;		> ;
156			< "10" ;	> ;
157			< "12" ;	> ;
158			< "15" ;	> ;
159			< "20" ;	> ;
160			< "25" ;	> ;
161			< "50" ;	> ;
162			< "100" ;	> ;
163			< "500" ;	> ;
164			< "1000" ;	> ;
165			< "Max." ;	> ;
166		};
167		QuickHelpText [ en-US ] = "Loop Count" ;
168	};
169	ImageButton BTN_GET_ONE_OBJECT
170	{
171		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT" ;
172		Pos = MAP_APPFONT ( 12, 132 ) ;
173		Size = MAP_APPFONT ( 16, 14 ) ;
174		ButtonImage = Image
175		{
176			ImageBitmap = Bitmap
177			{
178				File = "get1obj.png" ;
179			};
180		};
181		TabStop = TRUE ;
182		QuickHelpText [ en-US ] = "Apply Object" ;
183	};
184	ImageButton BTN_GET_ALL_OBJECTS
185	{
186		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS" ;
187		Pos = MAP_APPFONT ( 31, 132 ) ;
188		Size = MAP_APPFONT ( 16, 14 ) ;
189		ButtonImage = Image
190		{
191			ImageBitmap = Bitmap
192			{
193				File = "getallob.png" ;
194			};
195		};
196		TabStop = TRUE ;
197		QuickHelpText [ en-US ] = "Apply Objects Individually" ;
198	};
199	ImageButton BTN_REMOVE_BITMAP
200	{
201		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP" ;
202		Pos = MAP_APPFONT ( 60, 132 ) ;
203		Size = MAP_APPFONT ( 16, 14 ) ;
204		ButtonImage = Image
205		{
206			ImageBitmap = Bitmap
207			{
208				File = "del1bmp.png" ;
209			};
210		};
211		TabStop = TRUE ;
212		QuickHelpText [ en-US ] = "Delete Current Image" ;
213	};
214	ImageButton BTN_REMOVE_ALL
215	{
216		HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL" ;
217		Pos = MAP_APPFONT ( 79, 132 ) ;
218		Size = MAP_APPFONT ( 16, 14 ) ;
219		ButtonImage = Image
220		{
221			ImageBitmap = Bitmap
222			{
223				File = "delall.png" ;
224			};
225		};
226		TabStop = TRUE ;
227		QuickHelpText [ en-US ] = "Delete All Images" ;
228	};
229	FixedText FT_COUNT
230	{
231		Pos = MAP_APPFONT ( 106, 135 ) ;
232		Size = MAP_APPFONT ( 26, 10 ) ;
233		Text [ en-US ] = "Number" ;
234	};
235	FixedText FI_COUNT
236	{
237		Pos = MAP_APPFONT ( 133, 135 ) ;
238		Size = MAP_APPFONT ( 15, 10 ) ;
239		DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
240		DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ;
241		Text = "67" ;
242	};
243	FixedLine GRP_BITMAP
244	{
245		Pos = MAP_APPFONT ( 6, 120 ) ;
246		Size = MAP_APPFONT ( 147, 8 ) ;
247		Text [ en-US ] = "Image" ;
248	};
249	RadioButton RBT_GROUP
250	{
251		HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP" ;
252		Pos = MAP_APPFONT ( 12, 167 ) ;
253		Size = MAP_APPFONT ( 140, 12 ) ;
254		Text [ en-US ] = "Group object" ;
255	};
256	RadioButton RBT_BITMAP
257	{
258		HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP" ;
259		Pos = MAP_APPFONT ( 12, 181 ) ;
260		Size = MAP_APPFONT ( 140, 12 ) ;
261		Text [ en-US ] = "Bitmap object" ;
262	};
263	FixedText FT_ADJUSTMENT
264	{
265		Pos = MAP_APPFONT ( 12, 198 ) ;
266		Size = MAP_APPFONT ( 62, 10 ) ;
267		DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
268		DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ;
269		Text [ en-US ] = "Alignment" ;
270	};
271	ListBox LB_ADJUSTMENT
272	{
273		HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT" ;
274		Border = TRUE ;
275		Pos = MAP_APPFONT ( 75, 196 ) ;
276		Size = MAP_APPFONT ( 72, 100 ) ;
277		DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ;
278		DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ;
279		TabStop = TRUE ;
280		DropDown = TRUE ;
281		StringList [ en-US ] =
282		{
283			< "Top Left" ; Default ;		> ;
284			< "Left" ; Default ;			> ;
285			< "Bottom Left" ; Default ;		> ;
286			< "Top" ; Default ;				> ;
287			< "Centered" ; Default ;		> ;
288			< "Bottom" ; Default ;			> ;
289			< "Top Right" ; Default ;		> ;
290			< "Right" ; Default ;			> ;
291			< "Bottom Right" ; Default ;	> ;
292		};
293	};
294	PushButton BTN_CREATE_GROUP
295	{
296		HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP" ;
297		Pos = MAP_APPFONT ( 107, 216 ) ;
298		Size = MAP_APPFONT ( 41, 14 ) ;
299		TabStop = TRUE ;
300		Text [ en-US ] = "Create" ;
301	};
302	FixedLine GRP_ANIMATION_GROUP
303	{
304		Pos = MAP_APPFONT ( 6, 155 ) ;
305		Size = MAP_APPFONT ( 147, 8 ) ;
306		Text [ en-US ] = "Animation group" ;
307	};
308	String STR_DISPLAY
309	{
310		Text [ en-US ] = "Preview" ;
311	};
312};
313
314// ********************************************************************** EOF
315