view demos/pychan_demo/gui/slider.xml @ 583:47b49b9b0c0a

* Improved the floatingtextrenderer. Now you can set an alpha value for font, background quad and border. Splited quad and border into own commands. * Added a triangle function to backends and genericrenderer, also added the functions to set an alpha value for geometric figures.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 07 Aug 2010 16:36:35 +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>