Mercurial > fife-parpg
view clients/rio_de_hola/gui/settings.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 | ae3b8139c7c7 |
children | a18f09b604f2 |
line wrap: on
line source
<Window name="Settings" title="Settings"> <Label text="Rio de hola Settings menu!" /> <HBox> <VBox> <Label text="Resolution:" /> <Label text="Renderer:" /> </VBox> <VBox> <DropDown name="screen_resolution" min_size="120,0" /> <DropDown name="render_backend" min_size="120,0" /> </VBox> </HBox> <CheckBox name="enable_fullscreen" text="Use the full screen mode" /> <CheckBox name="enable_sound" text="Enable sound" /> <HBox> <Spacer /> <Button name="cancelButton" text="Cancel" /> <Button name="okButton" text="Ok" /> <Button name="defaultButton" text="Defaults" /> </HBox> </Window>