Mercurial > fife-parpg
view demos/rpg/gui/quest.xml @ 654:5d6b1820b953
* Added the ability to change screen modes on the fly. This works both in OpenGL and SDL modes.
* Added IEngineChangeListener so the client can update the cameras viewport if the screen mode has been changed. I chose to do it this way because the engine has no way to know which camera it should update. It will be up to the client to do it.
* The cursor surface is now correctly freed when exiting.
* Added DeviceCaps::getNearestScreenMode() for the client to request a supported screen mode.
closes[t:315]
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 21 Oct 2010 18:50:50 +0000 |
parents | 69d50e751c9a |
children |
line wrap: on
line source
<Container base_color="0,0,0" border_size="0" opaque="0" position="0,0" name="questcontainer" size="1024,768"> <VBox name="credits" position="312,200" opaque="1" base_color="188,0,0"> <HBox> <Spacer /> <Label name="questname" border_size="0" text="Quest" /> <Spacer /> </HBox> <HBox> <ScrollArea min_size="400,400" max_size="400,400" size="400,400" vertical_scrollbar="1"> <Label min_size="400,400" max_size="400,400" size="400,400" wrap_text="1" name="questtext"/> </ScrollArea> </HBox> <HBox> <Button name="accept" text="Accept"/> <Button name="decline" text="Decline"/> </HBox> </VBox> </Container>