annotate clients/editor/gui/objectedit.xml @ 307:22253b2c9b14

- added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available) - added animation viewer to ObjectEdit - several bugfixes for ObjectEdit plugin FEATURES: - ObjectEdit - viewing and rotating animated instances (rotations are hardcoded for now, FIFE needs to expose available angles to python in order to make animation rotation work for every client) - LightEdit - test global light values
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 11 Aug 2009 15:32:54 +0000
parents 51cc05d862f2
children
rev   line source
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
1 <Panel title="Object editor" position="10,700" min_size="200,250"> <!-- size="200,250" min_size="200,250" max_size="200,250" > -->
255
51cc05d862f2 Merged editor_rewrite branch to trunk.
cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 212
diff changeset
2 <Label text=" Object" background_color="0,0,0" />
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
3 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
4 <Label text="Namespace:" min_size="85,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
5 <Label text="None" name="object_namespace" min_size="30,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
6 </HBox>
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
7 <HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
8 <Label text="Object ID:" min_size="85,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
9 <Label text="None" name="object_id" min_size="30,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
10 </HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
11 <HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
12 <Label text="Blocking:" min_size="45,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
13 <TextBox text="0" name="object_blocking" min_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
14
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
15 <Label text="Static:" min_size="45,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
16 <TextBox text="0" name="object_static" min_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
17 </HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
18
255
51cc05d862f2 Merged editor_rewrite branch to trunk.
cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 212
diff changeset
19 <Label text=" Selected Instance" background_color="0,0,0" />
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
20
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
21 <HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
22 <Label text="Select Rotation:" min_size="85,20" />
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
23 </HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
24
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
25 <DropDown min_size="80,0" name="select_rotations"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
26
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
27 <VBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
28 <Label text="Offset:" min_size="45,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
29 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
30 <Label text="X: " min_size="25,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
31 <TextBox text="0" name="x_offset" size="30,20" min_size="30,20" max_size="30,20" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
32 <Button name="x_offset_up" text="+" max_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
33 <Button name="x_offset_dn" text="-" max_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
34 </HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
35
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
36 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
37 <Label text="Y: " min_size="25,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
38 <TextBox text="0" name="y_offset" size="30,20" min_size="30,20" max_size="30,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
39 <Button name="y_offset_up" text="+" max_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
40 <Button name="y_offset_dn" text="-" max_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
41 </HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
42 </VBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
43
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
44 <Label text="Selected Instance" min_size="85,20" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
45
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
46 <HBox >
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
47 <Label text="Instance ID:" min_size="85,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
48 <TextBox text="None" name="instance_id" min_size="30,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
49 </HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
50 <HBox >
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
51 <Label text="Instance rot:" min_size="85,20"/>
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
52 <TextBox text="0" name="instance_rotation" min_size="30,20"/>
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
53 </HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
54
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
55 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
56 <Button name="use_data" text="Use"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
57 </HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
58 <Spacer />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
59 <Button name="change_data" text="Save rotation"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
60
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
61
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
62 <Label text=" Animation viewer" background_color="0,0,0" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
63 <VBox name="animation_panel_wrapper">
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
64 <Spacer />
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
65 <VBox name="animation_panel">
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
66 <Label text="Actions:" min_size="85,20" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
67 <DropDown min_size="80,0" name="select_actions"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
68
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
69 <HBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
70 <Button name="anim_start_pos" text="S" max_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
71 <Button name="anim_left" text="l1" max_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
72 <TextBox name="anim_current_frame" text="0" min_size="30,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
73 <Button name="anim_right" text="r1" max_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
74 <Button name="anim_end_pos" text="E" max_size="20,20"/>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
75 </HBox>
307
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
76 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
77 <ToggleButton name="anim_playback" text="P" max_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
78 <CheckBox name="anim_loop" marked="1" text="Loop:"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
79 </HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
80
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
81 <HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
82 <Label text="Rotation: (" min_size="60,20" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
83 <Label name="anim_rotation" text="" min_size="20,20"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
84 <Label text=")" min_size="10,20" />
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
85 </HBox>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
86
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
87 <VBox min_size="100,100" size="100,100">
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
88 <Icon image="gui/icons/add_instance.png" size="200,200" min_size="250,250" name="animTest"/>
22253b2c9b14 - added LightEdit editor plugin (needs light branch to work; deactivated if lighting renderer is not available)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 255
diff changeset
89 </VBox>
212
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
90 </VBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
91 </VBox>
bbf17f8c221f - guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
chewie@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
92
255
51cc05d862f2 Merged editor_rewrite branch to trunk.
cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 212
diff changeset
93 </Panel>