view tools/editor/gui/objectedit.xml @ 547:e59ece21ab3e

Item serialization will now assume some default values if they are not found in the save files. The 'spawn' console command can now spawn items with default values. Cleaned up some print statements.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 04 Jun 2010 21:01:34 +0000
parents 64738befdf3b
children a2024b994ca3
line wrap: on
line source

<Panel title="Object editor" position="10,700" min_size="200,250"> <!-- size="200,250" min_size="200,250" max_size="200,250" > -->
	<Label text="           Object" background_color="0,0,0" />
	<HBox>
		<Label text="Namespace:" min_size="85,20"/>
		<Label text="None" name="object_namespace" min_size="30,20"/>
	</HBox>
	<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>

	<Label text="          Selected Instance" background_color="0,0,0" />

	<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"/>
		</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"/>
		</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>

	<HBox>
		<Button name="use_data" text="Use"/>
	</HBox>
	<Spacer />
	<Button name="change_data" text="Save rotation"/>


	<Label text="          Animation viewer" background_color="0,0,0" />
	<VBox name="animation_panel_wrapper">
		<Spacer />
		<VBox name="animation_panel">
			<Label text="Actions:" min_size="85,20" />
			<DropDown min_size="80,0" name="select_actions"/>

			<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>
			<HBox>
				<ToggleButton name="anim_playback" text="P" max_size="20,20"/>
				<CheckBox name="anim_loop" marked="1" text="Loop:"/>
			</HBox>
			
			<HBox>
				<Label text="Rotation: (" min_size="60,20" />
				<Label name="anim_rotation" text="" min_size="20,20"/>
				<Label text=")" min_size="10,20" />
			</HBox>			

			<VBox min_size="100,100" size="100,100">
			<Icon image="gui/icons/add_instance.png" size="200,200" min_size="250,250" name="animTest"/>
			</VBox>
		</VBox>
	</VBox>

</Panel>