comparison clients/editor/gui/cameradialog.xml @ 343:8e71629c4c43

Several changes to layer, camera and map dialogs: * Renamed CameraEditor and LayerEditor to CameraDialog and LayerDialog * Moved CameraDialog and LayerDialog into their own modules in scripts.gui so other components can use them. * Prettier camera dialog * Added LayerDialog to map wizard
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 25 Aug 2009 01:21:00 +0000
parents clients/editor/gui/cameraedit.xml@51cc05d862f2
children 5a9e5f1c897d
comparison
equal deleted inserted replaced
342:7be6293f13d1 343:8e71629c4c43
1 <Panel title="Camera Editor" min_size="300, 250">
2 <VBox hexpand="1">
3 <HBox>
4 <!-- Should be replaced with a dropdown box containing open maps -->
5 <Label name="mapLabel" text="Map ID:" min_size="100, 10" />
6 <TextField name="mapBox" min_size="100, 10" />
7 </HBox>
8 <HBox>
9 <!-- Should be replaced with a dropdown box containing available layers in map -->
10 <Label name="layerLabel" text="Layer ID:" min_size="100, 10" />
11 <TextField name="layerBox" min_size="100, 10" />
12 </HBox>
13
14 <Spacer fixed_size="10" />
15 <HBox>
16 <Spacer />
17 <Label text="Camera settings" />
18 <Spacer />
19 </HBox>
20 <HBox>
21 <Label name="idLabel" text="Camera ID:" min_size="100, 10" />
22 <TextField name="idBox" min_size="100, 10" />
23 </HBox>
24 <HBox>
25 <Label name="viewLabel" text="Viewport ('x,y,w,h'):" min_size="100, 10" />
26 <TextField name="viewBox" text="0,0,640,480" min_size="100, 10" />
27 </HBox>
28 <HBox>
29 <Label name="refhLabel" text="Reference cell height:" min_size="100, 10" />
30 <TextField name="refhBox" min_size="100, 10" />
31 </HBox>
32 <HBox>
33 <Label name="refwLabel" text="Reference cell width:" min_size="100, 10" />
34 <TextField name="refwBox" min_size="100, 10" />
35 </HBox>
36 <HBox>
37 <Label name="rotLabel" text="Rotation:" min_size="100, 10" />
38 <TextField name="rotBox" text="0" min_size="100, 10" />
39 </HBox>
40 <HBox>
41 <Label name="tiltLabel" text="Tilt:" min_size="100, 10" />
42 <TextField name="tiltBox" text="0" min_size="100, 10" />
43 </HBox>
44 </VBox>
45 <Spacer />
46 <HBox>
47 <Button name="okButton" text="OK"/>
48 <Button name="cancelButton" text="Cancel"/>
49 </HBox>
50 </Panel>