view clients/editor/gui/layertool.xml @ 319:62ec3b530cc6

* Improved layertool: Ability to add, remove and edit layers * Removed an unused variable from XMLMapLoader * Happy birthday Barra! =D
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 16 Aug 2009 20:29:12 +0000
parents 51cc05d862f2
children 7be6293f13d1
line wrap: on
line source

<Panel title="Layertool" position="10,200" min_size="100, 75">
	<ScrollArea horizontal_scrollbar="0">
		<VBox name="layers_wrapper">
			<!-- Content is added dynamically here -->
		</VBox>
	</ScrollArea>
	<HBox name="button_wrapper">
		<Spacer />
		<ImageButton name="add_layer_button" hexpand="0" offset="1,1" 
				helptext="Creates a new layer"
				up_image="gui/icons/add_layer.png" down_image="gui/icons/add_layer.png" hover_image="gui/icons/add_layer.png" />
		<ImageButton name="edit_layer_button" hexpand="0" offset="1,1"
				helptext="Edit selected layer"
				up_image="gui/icons/edit.png" down_image="gui/icons/edit.png" hover_image="gui/icons/edit.png" />
		<ImageButton name="remove_layer_button" hexpand="0" offset="1,1" 
				helptext="Removes selected layer"
				up_image="gui/icons/quit.png" down_image="gui/icons/quit.png" hover_image="gui/icons/quit.png" />	
	</HBox>
</Panel>