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