view demos/pychan_demo/gui/slider.xml @ 552:718e154a43c8

When you click on an object behind the player the click is no longer ignored. Fixed a bug where the players next action was performed even though the user clicked somewhere else on the map.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 16 Jun 2010 16:07:20 +0000
parents 64738befdf3b
children c770794d0a4a
line wrap: on
line source

<Window title="Slider Example">
	<Container size="300,300">
		<Icon name="icon" image="gui/icons/pychan_logo.png"/>
	</Container>
	<Label text="Move the sliders around to position the icon."/>
	<HBox><Label hexpand="0" text="X:"/><Label name="xvalue"/></HBox>
	<Slider name="xslider" scale_start="0" scale_end="300"/>
	<HBox><Label hexpand="0" text="Y:"/><Label name="yvalue"/></HBox>
	<Slider name="yslider" scale_start="0" scale_end="300"/>
	<Button name="closeButton" text="Close"/>
</Window>