Mercurial > fife-parpg
view demos/pychan_demo/gui/slider.xml @ 653:01acc9fc35ea
* Moved getCurrentScreenMode() to the renderbackend as renderbackend is what initializes the screen.
* Updated the Color masks to follow the integer standards
* Added some new SDL modes (HW Surface and double buffer) to check for in DeviceCaps.
* RenderBackend now saves the actual flags used to initialize the screen.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 15 Oct 2010 18:54:34 +0000 |
parents | c770794d0a4a |
children |
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"/> <HBox><Label hexpand="0" text="Percentage Bar:"/><Label name="pvalue"/></HBox> <Slider name="pbarslider" scale_start="0" scale_end="100"/> <PercentageBar name="pbar" orientation="0" max_size="300,10" min_size="300,10" foreground_color="128,0,0"/> <Button name="closeButton" text="Close"/> </Window>