view clients/editor/gui/cameradialog.xml @ 374:1115f7cae9a3

Editor: * The editor will now force filenames to be lowercase, as VFS does not like uppercase path names. * If a map filename does not have a .xml extension on save, it will be automatically added. * Log modules set to "all" by default. Only new users will be affected by this without having to modify or remove their configuration file. * Log level set to LOGLEVEL_WARN
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 21 Nov 2009 13:11:56 +0000
parents 5a9e5f1c897d
children
line wrap: on
line source

<Panel title="Camera Editor" min_size="250, 100">
	<VBox hexpand="1">
		<HBox>
			<!-- Should be replaced with a dropdown box containing open maps -->
			<Label name="mapLabel" text="Map ID:" min_size="100, 10" />
			<TextField name="mapBox" min_size="100, 10" />
		</HBox>
		<HBox>
			<!-- Should be replaced with a dropdown box containing available layers in map -->
			<Label name="layerLabel" text="Layer ID:" min_size="100, 10" />
			<TextField name="layerBox" min_size="100, 10" />
		</HBox>

		<Spacer fixed_size="10" />
		<HBox>
			<Spacer />
			<Label text="Camera settings" />
			<Spacer />
		</HBox>
		<HBox>
			<Label name="idLabel" text="Camera ID:" min_size="100, 10" />
			<TextField name="idBox" min_size="100, 10" />
		</HBox>
		<HBox>
			<Label name="viewLabel" text="Viewport ('x,y,w,h'):" min_size="100, 10" />
			<TextField name="viewBox" text="0,0,640,480" min_size="100, 10" />
		</HBox>
		
		<HBox>
			<Label name="refLabel" text="Reference cell:" min_size="100, 10" />
			<Label name="refWLabel" text="Width:" hexpand="0" />
			<TextField name="refwBox" min_size="40, 10" />
		</HBox>
		<HBox>
			<Spacer min_size="100" />
			<Label name="refHLabel" text="Height:" hexpand="0" />
			<TextField name="refhBox" min_size="40, 10" />
		</HBox>
		<HBox>
			<Label name="rotLabel" text="Rotation:" min_size="100, 10" />
			<TextField name="rotBox" text="0" min_size="100, 10" />
		</HBox>
		<HBox>
			<Label name="tiltLabel" text="Tilt:" min_size="100, 10" />
			<TextField name="tiltBox" text="0" min_size="100, 10" />
		</HBox>
	</VBox>
	<Spacer />
	<HBox>
		<Button name="okButton" text="OK"/>
		<Button name="cancelButton" text="Cancel"/>
	</HBox>
</Panel>