Mercurial > fife-parpg
view clients/editor/content/gui/cameraedit.xml @ 148:72c25cc27d8b
For your convenience pools now have a function
called purgeLoadedResources exposed to python
which will delete all loaded resources that
have a ref count of zero.
You can use this after closing a map or something
alike. It may however impact performance, as
the next map may very well reload the same resources.
Just be aware of that. :-)
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 11 Oct 2008 06:05:11 +0000 |
parents | 4a0efb7baf70 |
children |
line wrap: on
line source
<Window title="Camera Editor"> <VBox> <HBox> <Label name="idLabel" text="Camera ID:"/> <TextField name="idBox" min_size="50,10"/> </HBox> <HBox> <Label name="mapLabel" text="Camera Map ID:"/> <TextField name="mapBox" min_size="50,10"/> </HBox> <HBox> <Label name="layerLabel" text="Camera Layer ID:"/> <TextField name="layerBox" min_size="50,10"/> </HBox> <HBox> <Label name="viewLabel" text="Viewport ('x,y,w,h'):"/> <TextField name="viewBox" text="0,0,640,480" min_size="50,10"/> </HBox> <HBox> <Label name="refhLabel" text="Reference cell height:"/> <TextField name="refhBox" min_size="50,10"/> </HBox> <HBox> <Label name="refwLabel" text="Reference cell width:"/> <TextField name="refwBox" min_size="50,10"/> </HBox> <HBox> <Label name="rotLabel" text="Rotation:"/> <TextField name="rotBox" text="0" min_size="50,10"/> </HBox> <HBox> <Label name="tiltLabel" text="Tilt:"/> <TextField name="tiltBox" text="0" min_size="50,10"/> </HBox> </VBox> <HBox> <Button name="okButton" text="OK"/> <Button name="cancelButton" text="Cancel"/> </HBox> </Window>