source: trunk/PARPG/gui/hud.xml @ 76

Revision 74, 885 bytes checked in by bretzel_parpg, 11 years ago (diff)

Added the first version of the HUD. Also updated the inventory so that when there is a different image then the normal one is dragged around, the imagebutton it was dragged from is restored to it's original "empty" image

Line 
1<HBox position_technique="center:bottom" min_size="640,0">
2  <VBox>
3  <Button name="menuButton" text="Menu"  max_size="200,15"/>
4  <Button name="saveButton" text="Save" max_size="200,15"/>
5  <Button name="loadButton" text="Load" max_size="200,15"/>
6  </VBox>
7
8  <VBox max_size="50,50">
9    <Spacer />
10    <HBox><Label text="  HP:" /><Label name="HealthPoints" text="100" /></HBox>
11    <HBox><Label text="  AP:" /><Label name="ActionPoints" text="100" /></HBox>
12  </VBox>
13
14  <HBox min_size="395,50">
15    <Spacer />
16    <ScrollArea size="300,55" vertical_scrollbar="1" horizontal_scrollbar="0">
17      <ListBox name="ActionsBox" min_size="300,50"/>
18    </ScrollArea>
19  </HBox>
20
21  <Spacer />
22
23  <ToggleButton name="inventoryButton" up_image="gui/inv_images/inv_backpack.png" 
24                down_image="gui/inv_images/inv_backpack_open.png" 
25                hover_image="gui/inv_images/inv_backpack.png" />
26</HBox>
27
Note: See TracBrowser for help on using the repository browser.