Mercurial > fife-parpg
view clients/pychan_demo/gui/styling.xml @ 141:5e85737281bc
- some modification to loaders and serializers/xmlmap, now you can set a callback which informs you about finished parts of the maploading process
- this can be used to prepare other parts of your client (e. g. load ingame gui) or to show a maploading progress bar
USAGE (example):
- map = loadMapFile(mapfile, engine, my_callback)
- def mycallback(msg, percent): print msg; print percent
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 03 Oct 2008 12:14:39 +0000 |
parents | 674bb162d93f |
children | 51cc05d862f2 |
line wrap: on
line source
<Window title="Styling" style="greenzone"> <Label text="These guys contributed to FIFE. Man!" /> <ScrollArea size="400,400"> <ListBox name="styleList"/> </ScrollArea> <HBox> <Spacer /> <Button name="testStyle" text="Test Style"/> <Button name="closeButton" text="Close"/> </HBox> </Window>