view tools/editor/gui/layertool.xml @ 642:6e2151325017

* Added the ability to query the current running screen mode * Added a method to detect the closest supported screen mode (not complete yet). If no matching screen modes are detected an exception is thrown. * Small change to the way the screen is initialized. The screen mode now MUST be in the supported screen mode list before the screen will initialize.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 08 Oct 2010 21:22:02 +0000 (2010-10-08)
parents 64738befdf3b
children
line wrap: on
line source
<Panel title="Layertool" position="10,200" min_size="110, 150">
	<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>