view tools/editor/gui/layertool.xml @ 579:b2feacaed53c

* Added the colorbuffer patch with a small change due to SDL. Performance boost between 20-30% under OpenGL. * Improved the most renderers with setColor() function. * Fixed the genericrenderer, is now tested whether the images are in the viewport. * Fixed the gridrenderer, the grid is now drawn only up to the viewport. * Changed the vertex functions in opengl/renderbackendopengl.cpp from vertex3f() to vertex2f(). * Improved the Editor, now you can use blocking, grid and coordinate renderer over gui or keys. Additionally, the colors can be changed with the settings.xml.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 31 Jul 2010 17:46:19 +0000
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>