Mercurial > fife-parpg
view demos/pychan_demo/gui/dynamic.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 | cdebc30c9c4a |
line wrap: on
line source
<Window title="Dynamic widgets."> <Label text="ClickLabel text:" /> <ScrollArea size="200,100" vertical_scrollbar="0"> <TextBox name="labelText" text="Add some text here."/> </ScrollArea> <VBox name="labelBox" min_size="0,100" border_size="1" background_image="gui/backgrounds/background.png" opaque="0"> </VBox> <HBox> <Button name="addButton" text="Add one label!"/> <Spacer /> <Button name="okButton" text="Close"/> </HBox> </Window>