xref: /trunk/main/sd/source/ui/dlg/vectdlg.src (revision e3349227)
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
25#include "app.hrc"
26#include "vectdlg.hrc"
27#include "helpids.h"
28
29/******************************************************************************
30|*
31|*
32|*
33\******************************************************************************/
34
35ModalDialog DLG_VECTORIZE
36{
37	HelpID = HID_VECTORIZE_DLG;
38	OutputSize = TRUE ;
39	SVLook = TRUE ;
40	Size = MAP_APPFONT ( 200, 237 ) ;
41	Moveable = TRUE ;
42	Closeable = TRUE ;
43
44	Text [ en-US ] = "Convert to Polygon" ;
45
46	OKButton BTN_OK
47	{
48		Pos = MAP_APPFONT ( 144 , 6 );
49		Size = MAP_APPFONT ( 50 , 14 );
50		TabStop = TRUE ;
51		DefButton = TRUE ;
52	};
53
54	CancelButton BTN_CANCEL
55	{
56		Pos = MAP_APPFONT ( 144 , 23 );
57		Size = MAP_APPFONT ( 50 , 14 );
58		TabStop = TRUE ;
59	};
60
61	HelpButton BTN_HELP
62	{
63		Pos = MAP_APPFONT ( 144 , 43 );
64		Size = MAP_APPFONT ( 50 , 14 );
65		TabStop = TRUE ;
66	};
67
68	PushButton BTN_PREVIEW
69	{
70	    HelpID = "sd:PushButton:DLG_VECTORIZE:BTN_PREVIEW";
71		Pos = MAP_APPFONT ( 144 , 63 ) ;
72		Size = MAP_APPFONT ( 50 , 14 ) ;
73		TabStop = TRUE ;
74		Text [ en-US ] = "Preview" ;
75	};
76
77	FixedLine GRP_SETTINGS
78	{
79		Pos = MAP_APPFONT ( 6 , 3 ) ;
80		Size = MAP_APPFONT ( 132 , 8 ) ;
81		Text [ en-US ] = "Settings" ;
82	};
83
84	FixedText FT_LAYERS
85	{
86		Pos = MAP_APPFONT ( 12 , 14 );
87		Size = MAP_APPFONT ( 79 , 12 );
88		Text [ en-US ] = "Number of colors:";
89	};
90
91	NumericField NM_LAYERS
92	{
93	    HelpID = "sd:NumericField:DLG_VECTORIZE:NM_LAYERS";
94		Border = TRUE ;
95		Pos = MAP_APPFONT ( 92 , 14 ) ;
96		Size = MAP_APPFONT ( 40 , 12 ) ;
97		TabStop = TRUE ;
98		Repeat = TRUE ;
99		Spin = TRUE ;
100		Minimum = 8;
101		Maximum = 32 ;
102		StrictFormat = TRUE ;
103		First = 8;
104		Last = 32 ;
105		SpinSize = 1 ;
106	};
107
108	FixedText FT_REDUCE
109	{
110		Pos = MAP_APPFONT ( 12 , 29 );
111		Size = MAP_APPFONT ( 79 , 12 );
112		Text [ en-US ] = "Point reduction:";
113	};
114
115	MetricField MT_REDUCE
116	{
117	    HelpID = "sd:MetricField:DLG_VECTORIZE:MT_REDUCE";
118		Border = TRUE ;
119		Pos = MAP_APPFONT ( 92 , 29 ) ;
120		Size = MAP_APPFONT ( 40 , 12 ) ;
121		TabStop = TRUE ;
122		Repeat = TRUE ;
123		Spin = TRUE ;
124		Minimum = 0;
125		Maximum = 32 ;
126		StrictFormat = TRUE ;
127		First = 0;
128		Last = 32 ;
129		SpinSize = 1 ;
130		Unit = FUNIT_CUSTOM ;
131		CustomUnitText = " Pixel" ;
132	};
133
134	CheckBox CB_FILLHOLES
135	{
136	    HelpID = "sd:CheckBox:DLG_VECTORIZE:CB_FILLHOLES";
137		Pos = MAP_APPFONT ( 12 , 44 ) ;
138		Size = MAP_APPFONT ( 79 , 12 ) ;
139		TabStop = TRUE ;
140		Text [ en-US ] = "~Fill holes:";
141	};
142
143	FixedText FT_FILLHOLES
144	{
145		Pos = MAP_APPFONT ( 12 , 59 );
146		Size = MAP_APPFONT ( 79 , 12 );
147		Text [ en-US ] = "Tile size:";
148	};
149
150	MetricField MT_FILLHOLES
151	{
152	    HelpID = "sd:MetricField:DLG_VECTORIZE:MT_FILLHOLES";
153		Border = TRUE ;
154		Pos = MAP_APPFONT ( 92 , 59 ) ;
155		Size = MAP_APPFONT ( 40 , 12 ) ;
156		TabStop = TRUE ;
157		Repeat = TRUE ;
158		Spin = TRUE ;
159		Minimum = 8;
160		Maximum = 128;
161		StrictFormat = TRUE ;
162		First = 8;
163		Last = 128;
164		SpinSize = 1;
165		Unit = FUNIT_CUSTOM ;
166		CustomUnitText = " Pixel" ;
167	};
168
169	FixedText FT_ORIGINAL
170	{
171		Pos = MAP_APPFONT ( 6 , 87 );
172		Size = MAP_APPFONT ( 92 , 12 );
173		Text [ en-US ] = "Source picture:";
174	};
175
176	Control CTL_BMP
177	{
178		Border = TRUE ;
179		Pos = MAP_APPFONT ( 6, 98 ) ;
180		Size = MAP_APPFONT ( 92, 100 ) ;
181		Text [ en-US ] = "Source picture" ;
182	};
183
184	FixedText FT_VECTORIZED
185	{
186		Pos = MAP_APPFONT ( 101 , 87 );
187		Size = MAP_APPFONT ( 92 , 12 );
188		Text [ en-US ] = "Vectorized image:";
189	};
190
191	Control CTL_WMF
192	{
193		Border = TRUE ;
194		Pos = MAP_APPFONT ( 101, 98 ) ;
195		Size = MAP_APPFONT ( 93, 100 ) ;
196		Text [ en-US ] = "Vectorized image" ;
197	};
198
199	FixedText GRP_PRGS
200	{
201		Pos = MAP_APPFONT ( 6, 204 );
202		Size = MAP_APPFONT( 188, 8 );
203		Text [ en-US ] = "Progress";
204	};
205
206	Window WND_PRGS
207	{
208		Border = TRUE ;
209		SVLook = TRUE ;
210		Pos = MAP_APPFONT ( 6, 215 ) ;
211		Size = MAP_APPFONT ( 188, 10 ) ;
212		Text [ en-US ] = "Progress" ;
213	};
214};
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251