changeset 212:bbf17f8c221f

- guess the plugin works even better if it has an xml file for the gui (sorry, forgot this one -.-)
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 16 Mar 2009 14:43:08 +0000
parents f10a2e78a0e1
children b0c4e6e41659
files clients/editor/gui/objectedit.xml clients/editor/gui/offsetedit.xml
diffstat 2 files changed, 77 insertions(+), 74 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clients/editor/gui/objectedit.xml	Mon Mar 16 14:43:08 2009 +0000
@@ -0,0 +1,77 @@
+<Window title="Object editor" position="10,700"> <!-- size="200,250" min_size="200,250" max_size="200,250" > -->
+
+	<Label text="Namespace:" min_size="85,20"/>
+	<Label text="None" name="object_namespace" min_size="30,20"/>
+
+	<HBox>	 
+		<Label text="Object ID:" min_size="85,20"/>
+		<Label text="None" name="object_id" min_size="30,20"/>
+	</HBox>
+	<HBox>
+		<Label text="Blocking:" min_size="45,20"/>
+		<TextBox text="0" name="object_blocking" min_size="20,20"/>
+
+		<Label text="Static:" min_size="45,20"/>
+		<TextBox text="0" name="object_static" min_size="20,20"/>
+	</HBox>
+
+
+	<HBox>	 
+		<Label text="Select Rotation:" min_size="85,20" />
+	</HBox>
+	
+	<DropDown min_size="80,0" name="select_rotations"/>
+
+	<VBox>
+		<Label text="Offset:" min_size="45,20"/>
+		<HBox>
+			<Label text="X: " min_size="25,20"/>
+			<TextBox text="0" name="x_offset" size="30,20" min_size="30,20" max_size="30,20" />
+			<Button name="x_offset_up" text="+" max_size="20,20"/>
+			<Button name="x_offset_dn" text="-" max_size="20,20"/>
+			<Slider size="100,20" name="x_offset_slider" orientation="0" scale_start="0.0" scale_end="4.0" />
+		</HBox>
+
+		<HBox>
+			<Label text="Y: " min_size="25,20"/>
+			<TextBox text="0" name="y_offset" size="30,20" min_size="30,20" max_size="30,20"/>
+			<Button name="y_offset_up" text="+" max_size="20,20"/>
+			<Button name="y_offset_dn" text="-" max_size="20,20"/>
+			<Slider size="100,20" name="y_offset_slider" orientation="0" scale_start="0.0" scale_end="4.0" />
+		</HBox>
+	</VBox>
+
+	<Label text="Selected Instance" min_size="85,20" />
+	
+	<HBox >	 
+		<Label text="Instance ID:" min_size="85,20"/>
+		<TextBox text="None" name="instance_id" min_size="30,20"/>
+	</HBox>
+	<HBox >	 
+		<Label text="Instance rot:" min_size="85,20"/>
+		<TextBox text="0" name="instance_rotation" min_size="30,20"/>
+	</HBox>
+
+
+
+	<VBox name="animation_panel_wrapper" max_size="150,50">
+		<Spacer />
+		<VBox name="animation_panel">
+			<Label text="Animation panel" min_size="85,20" />
+			<HBox>
+				<Button name="anim_start_pos" text="S" max_size="20,20"/>
+				<Button name="anim_left" text="l1" max_size="20,20"/>
+				<TextBox name="anim_current_frame" text="0" min_size="30,20"/>
+				<Button name="anim_right" text="r1" max_size="20,20"/>
+				<Button name="anim_end_pos" text="E" max_size="20,20"/>
+			</HBox>
+		</VBox>
+	</VBox>
+
+	<HBox>
+		<Button name="use_data" text="Use"/>
+	</HBox>
+	<Spacer />
+	<Button name="change_data" text="Save object"/>
+
+</Window>
--- a/clients/editor/gui/offsetedit.xml	Mon Mar 16 14:40:36 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-<Window title="Object editor" position="10,700"> <!-- size="200,250" min_size="200,250" max_size="200,250" > -->
-
-	<Label text="Namespace:" min_size="85,20"/>
-	<TextBox text="None" name="object_namespace" min_size="30,20"/>
-
-	<HBox>	 
-		<Label text="Object ID:" min_size="85,20"/>
-		<TextBox text="None" name="object_id" min_size="30,20"/>
-	</HBox>
-	<HBox>
-		<Label text="Blocking:" min_size="45,20"/>
-		<TextBox text="0" name="object_blocking" min_size="20,20"/>
-
-		<Label text="Static:" min_size="45,20"/>
-		<TextBox text="0" name="object_static" min_size="20,20"/>
-	</HBox>
-
-
-	<HBox>	 
-		<Label text="Select Rotation:" min_size="85,20" />
-	</HBox>
-	
-	<DropDown min_size="80,0" name="select_rotations"/>
-
-	<VBox>
-		<HBox>
-			<TextBox text="0" name="x_offset" size="30,20" min_size="30,20" max_size="30,20" />
-			<Button name="x_offset_up" text="+" max_size="20,20"/>
-			<Button name="x_offset_dn" text="-" max_size="20,20"/>
-		</HBox>
-
-		<HBox>
-			<TextBox text="0" name="y_offset" size="30,20" min_size="30,20" max_size="30,20"/>
-			<Button name="y_offset_up" text="+" max_size="20,20"/>
-			<Button name="y_offset_dn" text="-" max_size="20,20"/>
-		</HBox>
-	</VBox>
-
-	<Label text="Selected Instance" min_size="85,20" />
-	
-	<HBox >	 
-		<Label text="Instance ID:" min_size="85,20"/>
-		<TextBox text="None" name="instance_id" min_size="30,20"/>
-	</HBox>
-	<HBox >	 
-		<Label text="Instance rot:" min_size="85,20"/>
-		<TextBox text="0" name="instance_rotation" min_size="30,20"/>
-	</HBox>
-
-
-
-	<VBox name="animation_panel_wrapper" max_size="150,50">
-		<Spacer />
-		<VBox name="animation_panel">
-			<Label text="Animation panel" min_size="85,20" />
-			<HBox>
-				<Button name="anim_start_pos" text="S" max_size="20,20"/>
-				<Button name="anim_left" text="l1" max_size="20,20"/>
-				<TextBox name="anim_current_frame" text="0" min_size="30,20"/>
-				<Button name="anim_right" text="r1" max_size="20,20"/>
-				<Button name="anim_end_pos" text="E" max_size="20,20"/>
-			</HBox>
-		</VBox>
-	</VBox>
-
-	<HBox>
-		<Button name="use_data" text="Use"/>
-		<Button name="previous_data" text="Previous"/>
-		<Button name="default_data" text="Default"/>
-	</HBox>
-	<Spacer />
-	<Button name="change_data" text="Save object"/>
-
-</Window>