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

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
RevLine 
[275]1<Container name="mainHudWindow" position_technique="center:bottom" is_focusable="0">
[74]2
[275]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" />
[74]6
[275]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" />
[103]11 
[275]12  <ImageButton name="hudReady1" is_focusable="0" />
13  <ImageButton name="hudReady2" is_focusable="0" />
[74]14
[106]15  <ScrollArea name="actionsScrollArea" vertical_scrollbar="1" 
[275]16              horizontal_scrollbar="0" is_focusable="0">
17    <ListBox name="actionsBox" is_focusable="0" />
[80]18  </ScrollArea>
[74]19
[275]20  <ImageButton name="hudReady3" is_focusable="0" />
21  <ImageButton name="hudReady4" is_focusable="0" />
[103]22
[74]23  <ToggleButton name="inventoryButton" up_image="gui/inv_images/inv_backpack.png" 
24                down_image="gui/inv_images/inv_backpack_open.png" 
[275]25                hover_image="gui/inv_images/inv_backpack.png" is_focusable="0" />
[80]26</Container>
[74]27
Note: See TracBrowser for help on using the repository browser.