]> icculus.org git repositories - divverent/nexuiz.git/blob - tools/ImgToMap/src/imgtomap/JFrameMain.form
autogenerate skybox, fill dropped blocks with full-height sky (first step to autogene...
[divverent/nexuiz.git] / tools / ImgToMap / src / imgtomap / JFrameMain.form
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4   <Properties>
5     <Property name="defaultCloseOperation" type="int" value="3"/>
6     <Property name="title" type="java.lang.String" value="ImgToMap"/>
7   </Properties>
8   <SyntheticProperties>
9     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10   </SyntheticProperties>
11   <AuxValues>
12     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
15     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
16     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
17     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
18     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
19     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
20   </AuxValues>
21
22   <Layout>
23     <DimensionLayout dim="0">
24       <Group type="103" groupAlignment="0" attributes="0">
25           <Group type="102" attributes="0">
26               <Group type="103" groupAlignment="0" attributes="0">
27                   <Group type="103" alignment="1" groupAlignment="1" attributes="0">
28                       <Group type="102" alignment="0" attributes="0">
29                           <EmptySpace max="-2" attributes="0"/>
30                           <Component id="jPanelSky" max="32767" attributes="0"/>
31                       </Group>
32                       <Group type="102" alignment="0" attributes="0">
33                           <EmptySpace max="-2" attributes="0"/>
34                           <Component id="jPanel2" max="32767" attributes="0"/>
35                       </Group>
36                       <Group type="102" alignment="0" attributes="0">
37                           <EmptySpace max="-2" attributes="0"/>
38                           <Component id="jPanel1" max="32767" attributes="0"/>
39                       </Group>
40                   </Group>
41                   <Group type="102" alignment="0" attributes="0">
42                       <EmptySpace max="-2" attributes="0"/>
43                       <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
44                   </Group>
45               </Group>
46               <EmptySpace max="-2" attributes="0"/>
47           </Group>
48       </Group>
49     </DimensionLayout>
50     <DimensionLayout dim="1">
51       <Group type="103" groupAlignment="0" attributes="0">
52           <Group type="102" alignment="0" attributes="0">
53               <EmptySpace max="-2" attributes="0"/>
54               <Component id="jPanel1" min="-2" max="-2" attributes="0"/>
55               <EmptySpace max="-2" attributes="0"/>
56               <Component id="jPanel2" min="-2" max="-2" attributes="0"/>
57               <EmptySpace max="-2" attributes="0"/>
58               <Component id="jPanelSky" min="-2" pref="157" max="-2" attributes="0"/>
59               <EmptySpace type="unrelated" max="-2" attributes="0"/>
60               <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
61               <EmptySpace max="32767" attributes="0"/>
62           </Group>
63       </Group>
64     </DimensionLayout>
65   </Layout>
66   <SubComponents>
67     <Container class="javax.swing.JPanel" name="jPanel1">
68       <Properties>
69         <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
70           <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
71             <TitledBorder title="Files"/>
72           </Border>
73         </Property>
74       </Properties>
75
76       <Layout>
77         <DimensionLayout dim="0">
78           <Group type="103" groupAlignment="0" attributes="0">
79               <Group type="102" attributes="0">
80                   <EmptySpace min="-2" max="-2" attributes="0"/>
81                   <Group type="103" groupAlignment="1" attributes="0">
82                       <Component id="jTextFieldOutput" alignment="0" pref="278" max="32767" attributes="2"/>
83                       <Component id="jTextFieldInput" alignment="0" pref="278" max="32767" attributes="2"/>
84                   </Group>
85                   <EmptySpace min="-2" max="-2" attributes="0"/>
86                   <Group type="103" groupAlignment="0" attributes="0">
87                       <Component id="jButtonInput" alignment="1" pref="120" max="32767" attributes="2"/>
88                       <Component id="jButtonOutput" alignment="1" max="32767" attributes="2"/>
89                   </Group>
90                   <EmptySpace min="-2" max="-2" attributes="0"/>
91               </Group>
92           </Group>
93         </DimensionLayout>
94         <DimensionLayout dim="1">
95           <Group type="103" groupAlignment="0" attributes="0">
96               <Group type="102" attributes="0">
97                   <EmptySpace max="-2" attributes="0"/>
98                   <Group type="103" groupAlignment="3" attributes="0">
99                       <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
100                       <Component id="jTextFieldInput" alignment="3" min="-2" pref="27" max="-2" attributes="0"/>
101                   </Group>
102                   <EmptySpace max="-2" attributes="0"/>
103                   <Group type="103" groupAlignment="3" attributes="0">
104                       <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
105                       <Component id="jTextFieldOutput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
106                   </Group>
107                   <EmptySpace max="32767" attributes="0"/>
108               </Group>
109           </Group>
110         </DimensionLayout>
111       </Layout>
112       <SubComponents>
113         <Component class="javax.swing.JTextField" name="jTextFieldInput">
114         </Component>
115         <Component class="javax.swing.JButton" name="jButtonInput">
116           <Properties>
117             <Property name="text" type="java.lang.String" value="Select input file"/>
118           </Properties>
119           <Events>
120             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
121           </Events>
122         </Component>
123         <Component class="javax.swing.JTextField" name="jTextFieldOutput">
124         </Component>
125         <Component class="javax.swing.JButton" name="jButtonOutput">
126           <Properties>
127             <Property name="text" type="java.lang.String" value="Select output file"/>
128           </Properties>
129           <Events>
130             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOutputActionPerformed"/>
131           </Events>
132         </Component>
133       </SubComponents>
134     </Container>
135     <Component class="javax.swing.JButton" name="jButtonOK">
136       <Properties>
137         <Property name="text" type="java.lang.String" value="Start conversion!"/>
138       </Properties>
139       <Events>
140         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
141       </Events>
142     </Component>
143     <Container class="javax.swing.JPanel" name="jPanel2">
144       <Properties>
145         <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
146           <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
147             <TitledBorder title="Terrain configuration"/>
148           </Border>
149         </Property>
150       </Properties>
151
152       <Layout>
153         <DimensionLayout dim="0">
154           <Group type="103" groupAlignment="0" attributes="0">
155               <Group type="102" attributes="0">
156                   <EmptySpace max="-2" attributes="0"/>
157                   <Group type="103" groupAlignment="0" attributes="0">
158                       <Group type="102" alignment="0" attributes="0">
159                           <Group type="103" groupAlignment="1" attributes="0">
160                               <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
161                               <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/>
162                           </Group>
163                           <EmptySpace max="-2" attributes="0"/>
164                           <Group type="103" groupAlignment="0" max="-2" attributes="0">
165                               <Component id="jSpinnerHeight" min="0" pref="0" max="32767" attributes="1"/>
166                               <Component id="jSpinnerUnits" alignment="0" max="32767" attributes="1"/>
167                           </Group>
168                           <EmptySpace type="separate" max="-2" attributes="0"/>
169                           <Group type="103" groupAlignment="0" attributes="0">
170                               <Group type="102" attributes="0">
171                                   <Component id="jLabel4" min="-2" max="-2" attributes="1"/>
172                                   <EmptySpace max="-2" attributes="0"/>
173                                   <Component id="jSpinnerTextureScale" max="32767" attributes="1"/>
174                               </Group>
175                               <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
176                           </Group>
177                       </Group>
178                       <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
179                       <Component id="jTextFieldTexture" alignment="1" pref="404" max="32767" attributes="0"/>
180                   </Group>
181                   <EmptySpace max="-2" attributes="0"/>
182               </Group>
183           </Group>
184         </DimensionLayout>
185         <DimensionLayout dim="1">
186           <Group type="103" groupAlignment="0" attributes="0">
187               <Group type="102" alignment="0" attributes="0">
188                   <Group type="103" groupAlignment="3" attributes="0">
189                       <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
190                       <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
191                       <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
192                       <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
193                   </Group>
194                   <EmptySpace max="-2" attributes="0"/>
195                   <Group type="103" groupAlignment="3" attributes="0">
196                       <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
197                       <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
198                       <Component id="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
199                   </Group>
200                   <EmptySpace type="separate" max="-2" attributes="0"/>
201                   <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
202                   <EmptySpace max="-2" attributes="0"/>
203                   <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
204                   <EmptySpace max="32767" attributes="0"/>
205               </Group>
206           </Group>
207         </DimensionLayout>
208       </Layout>
209       <SubComponents>
210         <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
211           <Properties>
212             <Property name="selected" type="boolean" value="true"/>
213             <Property name="text" type="java.lang.String" value="make detail"/>
214           </Properties>
215         </Component>
216         <Component class="javax.swing.JTextField" name="jTextFieldTexture">
217           <Properties>
218             <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
219           </Properties>
220         </Component>
221         <Component class="javax.swing.JLabel" name="jLabel3">
222           <Properties>
223             <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
224           </Properties>
225         </Component>
226         <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
227           <Properties>
228             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
229               <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
230             </Property>
231           </Properties>
232         </Component>
233         <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
234           <Properties>
235             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
236               <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
237             </Property>
238           </Properties>
239         </Component>
240         <Component class="javax.swing.JSpinner" name="jSpinnerTextureScale">
241           <Properties>
242             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
243               <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>
244             </Property>
245           </Properties>
246         </Component>
247         <Component class="javax.swing.JLabel" name="jLabel4">
248           <Properties>
249             <Property name="text" type="java.lang.String" value="Texture scale:"/>
250           </Properties>
251         </Component>
252         <Component class="javax.swing.JLabel" name="jLabel2">
253           <Properties>
254             <Property name="text" type="java.lang.String" value="Height for white:"/>
255           </Properties>
256         </Component>
257         <Component class="javax.swing.JLabel" name="jLabel1">
258           <Properties>
259             <Property name="text" type="java.lang.String" value="Units per pixel:"/>
260           </Properties>
261         </Component>
262       </SubComponents>
263     </Container>
264     <Container class="javax.swing.JPanel" name="jPanelSky">
265       <Properties>
266         <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
267           <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
268             <TitledBorder title="Sky configuration"/>
269           </Border>
270         </Property>
271       </Properties>
272
273       <Layout>
274         <DimensionLayout dim="0">
275           <Group type="103" groupAlignment="0" attributes="0">
276               <Group type="102" alignment="0" attributes="0">
277                   <EmptySpace max="-2" attributes="0"/>
278                   <Group type="103" groupAlignment="0" attributes="0">
279                       <Component id="jTextFieldSkyTexture" alignment="0" pref="404" max="32767" attributes="0"/>
280                       <Group type="102" alignment="0" attributes="0">
281                           <Component id="jCheckBoxSky" min="-2" max="-2" attributes="0"/>
282                           <EmptySpace min="18" pref="18" max="-2" attributes="0"/>
283                           <Component id="jCheckBoxSkyFill" min="-2" max="-2" attributes="0"/>
284                       </Group>
285                       <Group type="102" alignment="0" attributes="0">
286                           <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
287                           <EmptySpace max="-2" attributes="0"/>
288                           <Component id="jSpinnerSkyHeight" min="-2" max="-2" attributes="0"/>
289                       </Group>
290                       <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
291                   </Group>
292                   <EmptySpace max="-2" attributes="0"/>
293               </Group>
294           </Group>
295         </DimensionLayout>
296         <DimensionLayout dim="1">
297           <Group type="103" groupAlignment="0" attributes="0">
298               <Group type="102" alignment="0" attributes="0">
299                   <Group type="103" groupAlignment="3" attributes="0">
300                       <Component id="jCheckBoxSky" alignment="3" min="-2" max="-2" attributes="0"/>
301                       <Component id="jCheckBoxSkyFill" alignment="3" min="-2" max="-2" attributes="0"/>
302                   </Group>
303                   <EmptySpace max="-2" attributes="0"/>
304                   <Group type="103" groupAlignment="3" attributes="0">
305                       <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
306                       <Component id="jSpinnerSkyHeight" alignment="3" min="-2" max="-2" attributes="0"/>
307                   </Group>
308                   <EmptySpace type="unrelated" max="-2" attributes="0"/>
309                   <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
310                   <EmptySpace max="-2" attributes="0"/>
311                   <Component id="jTextFieldSkyTexture" min="-2" max="-2" attributes="0"/>
312                   <EmptySpace max="32767" attributes="0"/>
313               </Group>
314           </Group>
315         </DimensionLayout>
316       </Layout>
317       <SubComponents>
318         <Component class="javax.swing.JCheckBox" name="jCheckBoxSky">
319           <Properties>
320             <Property name="selected" type="boolean" value="true"/>
321             <Property name="text" type="java.lang.String" value="generate a skybox"/>
322           </Properties>
323           <Events>
324             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBoxSkyActionPerformed"/>
325           </Events>
326         </Component>
327         <Component class="javax.swing.JLabel" name="jLabel5">
328           <Properties>
329             <Property name="text" type="java.lang.String" value="Sky height:"/>
330           </Properties>
331         </Component>
332         <Component class="javax.swing.JSpinner" name="jSpinnerSkyHeight">
333           <Properties>
334             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
335               <SpinnerModel initial="1152" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
336             </Property>
337           </Properties>
338         </Component>
339         <Component class="javax.swing.JCheckBox" name="jCheckBoxSkyFill">
340           <Properties>
341             <Property name="selected" type="boolean" value="true"/>
342             <Property name="text" type="java.lang.String" value="fill alpha-gaps with sky"/>
343           </Properties>
344         </Component>
345         <Component class="javax.swing.JLabel" name="jLabel6">
346           <Properties>
347             <Property name="text" type="java.lang.String" value="Sky texture:"/>
348           </Properties>
349         </Component>
350         <Component class="javax.swing.JTextField" name="jTextFieldSkyTexture">
351           <Properties>
352             <Property name="text" type="java.lang.String" value="skies/sky1"/>
353           </Properties>
354         </Component>
355       </SubComponents>
356     </Container>
357   </SubComponents>
358 </Form>