view tools/editor/gui/objectselector.xml @ 620:853d25234671

* Moved the GLEnable and GLDisable structures from opengl_gui_graphics.cpp to fife_opengl.h as they may prove to be useful elsewhere. * Fixed the color mask definitions in fife_stdint.h * Added the nextPow2() function to calculate the nearest (greater) power of 2 * Removed a bunch of re-definitions of RGB masks * Modified GLImage to only generate one "texture chunk". I hope this makes better use of memory and speeds things up a hair * Made use of the GLEnable structure when clearing the screen
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 30 Sep 2010 21:24:55 +0000
parents 64738befdf3b
children
line wrap: on
line source

<Panel title="Object selector" min_size="200,300">
	<VBox hexpand="1" vexpand="1">
		<!-- Search field -->
		<HBox>
			<TextField name="searchField" />
			<Button name="searchButton" text="Search" hexpand="0" /> 
		</HBox>

    <!-- Namespaces -->
		<DropDown name="namespaceDropdown" />

    <!-- Main area (object list) -->
		<ScrollArea name="mainScrollArea" min_size="150,50"/>

    <!-- Action buttons -->
		<HBox>
			<Spacer />
			<Button name="toggleModeButton" text="Toggle previewmode" />
			<Button name="closeButton" text="Close" />
		</HBox>

    <!-- Preview area -->
		<ScrollArea name="previewScrollArea" max_size="200,1" vexpand="1">
			<Icon name="previewIcon" />
		</ScrollArea>
	</VBox>
</Panel>