source: trunk/game/gui/hud.xml @ 287

Revision 275, 1.3 KB checked in by b0rland_parpg, 10 years ago (diff)

Ticket #92: Patch by b0rland. Fixing the focus stealing bug. We need to be attentive to put is_focusable="0" into all hud widgets unless better way is found.`

  • Property svn:eol-style set to native
Line 
1<Container name="mainHudWindow" position_technique="center:bottom" is_focusable="0">
2
3  <Button name="menuButton" text="Menu"  max_size="200,15" position="5,5" is_focusable="0" />
4  <Button name="saveButton" text="Save" max_size="200,15" position="6,25" is_focusable="0" />
5  <Button name="loadButton" text="Load" max_size="200,15" position="6,45" is_focusable="0" />
6
7  <Label name="healthPoints" text="HP: 100" position="56,14" is_focusable="0" />
8  <Label name="actionPoints" text="AP: 100" position="56,34" is_focusable="0" />
9  <Label name="armorClass" text="AC: 100" position="106,14" is_focusable="0" />
10  <Label name="tempGauge" text="Temp: 100" position="106,34" is_focusable="0" />
11 
12  <ImageButton name="hudReady1" is_focusable="0" />
13  <ImageButton name="hudReady2" is_focusable="0" />
14
15  <ScrollArea name="actionsScrollArea" vertical_scrollbar="1" 
16              horizontal_scrollbar="0" is_focusable="0">
17    <ListBox name="actionsBox" is_focusable="0" />
18  </ScrollArea>
19
20  <ImageButton name="hudReady3" is_focusable="0" />
21  <ImageButton name="hudReady4" is_focusable="0" />
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" is_focusable="0" />
26</Container>
27
Note: See TracBrowser for help on using the repository browser.