Mercurial > fife-parpg
view demos/pychan_demo/gui/absolute.xml @ 635:3094988564d5
* Added a simple method to query the default video card capabilities. This is still a work in progress. You can now get a list of ScreenModes the device supports. ScreenMode includes information on the screen resolution, if the mode is fullscreen/windowed and if it would use the OpenGL or SDL renderer.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 06 Oct 2010 19:19:08 +0000 |
parents | 64738befdf3b |
children |
line wrap: on
line source
<Container position="100,100" size="400,200" base_color="255,0,0" background_image="gui/backgrounds/stripe.png" border_size="2"> <Label text="Absolute values work._" font="samanata_large" position="20,20" foreground_color="128,0,0" /> <ClickLabel text="__ Baseline ok?" font="samanata_large" position="220,20" max_size="500,20" foreground_color="128,0,0" /> <Label text="It's tiresome, though." position="20,50" base_color="255,0,0" /> <Icon image="gui/backgrounds/stripe.png" position="100,100" /> <Button name="closeButton" text="Ok" position="160,150" base_color="255,0,0" /> </Container>