Mercurial > fife-parpg
view demos/pychan_demo/gui/absolute.xml @ 425:ad7969d9460b
A client can now specify a global color key to be used with all images. The default color key is (255,0,255) in RGB format. Also the client can enable/disable the color key feature by using the setColorKeyEnabled function in the EngineSettings class. By default the color key feature is disabled. fixes[t:451]
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 20 Feb 2010 19:11:01 +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>