Changeset 98


Ignore:
Timestamp:
06/05/09 18:53:10 (10 years ago)
Author:
bretzel_parpg
Message:

Added a character preview to the inventory and re-arranged it to fit
better. The character preview is not functional at all right now.

Location:
trunk/PARPG/gui
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/gui/inventory.xml

    r96 r98  
    11<Window title="Inventory" min_size="500,580"> 
    2         <Label text="Character Name Here" /> 
     2  <Label text="Character Name Here" name="charName"/>/ 
    33 
    44 
    5         <HBox max_size="275,100"> 
    6         <Spacer /> 
    7         <ImageButton name="Head" up_image="gui/inv_images/inv_head.png" down_image="gui/inv_images/inv_head.png" hover_image="gui/inv_images/inv_head.png" text="" /> 
    8         </HBox> 
     5  <HBox max_size="275,100"> 
     6    <Spacer /> 
     7    <ImageButton name="Head" up_image="gui/inv_images/inv_head.png" down_image="gui/inv_images/inv_head.png" hover_image="gui/inv_images/inv_head.png" text="" /> 
     8  </HBox> 
     9   
     10  <HBox max_size="460,320"> 
     11    <Spacer /> 
     12     
     13    <VBox max_size="50,300"> 
     14      <ImageButton name="LeftHeld" up_image="gui/inv_images/inv_litem.png" down_image="gui/inv_images/inv_litem.png" hover_image="gui/inv_images/inv_litem.png" text="" /> 
     15      <ImageButton name="Ready1" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
     16      <ImageButton name="Ready2" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
     17      <Spacer /> 
     18      <ImageButton name="LeftFoot" up_image="gui/inv_images/inv_lfoot.png" down_image="gui/inv_images/inv_lfoot.png" hover_image="gui/inv_images/inv_lfoot.png" text="" /> 
     19    </VBox> 
     20     
     21    <VBox max_size="50,165"> 
     22      <ImageButton name="LeftHand" up_image="gui/inv_images/inv_lhand.png" down_image="gui/inv_images/inv_lhand.png" hover_image="gui/inv_images/inv_lhand.png" text="" /> 
     23      <Spacer /> 
     24      <ImageButton name="Body" up_image="gui/inv_images/inv_torso.png" down_image="gui/inv_images/inv_torso.png" hover_image="gui/inv_images/inv_torso.png" text="" /> 
     25    </VBox> 
    926 
    10         <HBox max_size="440,300"> 
    11         <Spacer /> 
    12  
    13         <VBox min_size="50,300"> 
    14         <ImageButton name="LeftHeld" up_image="gui/inv_images/inv_litem.png" down_image="gui/inv_images/inv_litem.png" hover_image="gui/inv_images/inv_litem.png" text="" /> 
    15         <Spacer /> 
    16         <ImageButton name="LeftFoot" up_image="gui/inv_images/inv_lfoot.png" down_image="gui/inv_images/inv_lfoot.png" hover_image="gui/inv_images/inv_lfoot.png" text="" /> 
    17         </VBox> 
    18          
    19         <VBox max_size="50,248"> 
    20         <ImageButton name="LeftHand" up_image="gui/inv_images/inv_lhand.png" down_image="gui/inv_images/inv_lhand.png" hover_image="gui/inv_images/inv_lhand.png" text="" /> 
    21         <Spacer /> 
    22         </VBox> 
    23          
    24         <VBox max_size="50,223"> 
    25         <Spacer /> 
    26         <ImageButton name="Ready1" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
    27         <ImageButton name="Ready2" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
    28         </VBox> 
    29  
    30         <VBox max_size="75,168"> 
    31         <Spacer /> 
    32         <ImageButton name="Body" up_image="gui/inv_images/inv_torso.png" down_image="gui/inv_images/inv_torso.png" hover_image="gui/inv_images/inv_torso.png" text="" /> 
    33         <ImageButton name="Belt" up_image="gui/inv_images/inv_belt.png" down_image="gui/inv_images/inv_belt.png" hover_image="gui/inv_images/inv_belt.png" text="" /> 
    34         </VBox> 
    35          
    36         <VBox max_size="50,223"> 
    37         <Spacer /> 
    38         <ImageButton name="Ready3" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
    39         <ImageButton name="Ready4" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
    40         </VBox> 
    41          
    42         <VBox max_size="50,248"> 
    43         <ImageButton name="RightHand" up_image="gui/inv_images/inv_rhand.png" down_image="gui/inv_images/inv_rhand.png" hover_image="gui/inv_images/inv_rhand.png" text="" /> 
    44         <Spacer /> 
    45         </VBox> 
    46          
    47         <VBox min_size="50,300"> 
    48         <ImageButton name="RightHeld" up_image="gui/inv_images/inv_hitem.png" down_image="gui/inv_images/inv_hitem.png" hover_image="gui/inv_images/inv_hitem.png" text="" /> 
    49         <Spacer /> 
    50         <ImageButton name="RightFoot" up_image="gui/inv_images/inv_rfoot.png" down_image="gui/inv_images/inv_rfoot.png" hover_image="gui/inv_images/inv_rfoot.png" text="" /> 
    51         </VBox> 
    52          
    53         </HBox> 
    54          
    55         <Spacer /> 
    56          
    57         <!-- Main Inventory !--> 
    58         <HBox> 
    59         <VBox> 
    60         <HBox max_size="385,90"> 
     27    <VBox min_size="200,350"> 
     28      <Spacer /> 
     29      <Icon name="charPreview" image="gui/inv_images/char_preview.png" /> 
     30    </VBox> 
     31     
     32    <VBox max_size="50,165"> 
     33      <ImageButton name="RightHand" up_image="gui/inv_images/inv_rhand.png" down_image="gui/inv_images/inv_rhand.png" hover_image="gui/inv_images/inv_rhand.png" text="" /> 
     34      <Spacer /> 
     35      <ImageButton name="Belt" up_image="gui/inv_images/inv_belt.png" down_image="gui/inv_images/inv_belt.png" hover_image="gui/inv_images/inv_belt.png" text="" /> 
     36    </VBox> 
     37     
     38    <VBox max_size="50,300"> 
     39      <ImageButton name="RightHeld" up_image="gui/inv_images/inv_hitem.png" down_image="gui/inv_images/inv_hitem.png" hover_image="gui/inv_images/inv_hitem.png" text="" /> 
     40      <ImageButton name="Ready3" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
     41      <ImageButton name="Ready4" up_image="gui/inv_images/inv_belt_pouches.png" down_image="gui/inv_images/inv_belt_pouches.png" hover_image="gui/inv_images/inv_belt_pouches.png" text="" /> 
     42      <Spacer /> 
     43      <ImageButton name="RightFoot" up_image="gui/inv_images/inv_rfoot.png" down_image="gui/inv_images/inv_rfoot.png" hover_image="gui/inv_images/inv_rfoot.png" text="" /> 
     44    </VBox> 
     45     
     46  </HBox> 
     47   
     48  <Spacer /> 
     49   
     50  <!-- Main Inventory !--> 
     51  <HBox> 
     52    <VBox> 
     53      <HBox max_size="385,90"> 
    6154        <Spacer /> 
    6255        <ImageButton name="A1" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
     
    6558        <ImageButton name="A4" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    6659        <ImageButton name="A5" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    67         </HBox> 
    68          
    69         <HBox max_size="385,90"> 
     60      </HBox> 
     61       
     62      <HBox max_size="385,90"> 
    7063        <Spacer /> 
    7164        <ImageButton name="B1" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
     
    7467        <ImageButton name="B4" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    7568        <ImageButton name="B5" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    76         </HBox> 
    77          
    78         <HBox max_size="385,90"> 
     69      </HBox> 
     70       
     71      <HBox max_size="385,90"> 
    7972        <Spacer /> 
    8073        <ImageButton name="C1" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
     
    8376        <ImageButton name="C4" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    8477        <ImageButton name="C5" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    85         </HBox> 
    86          
    87         <HBox max_size="385,90"> 
     78      </HBox> 
     79       
     80      <HBox max_size="385,90"> 
    8881        <Spacer /> 
    8982        <ImageButton name="D1" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
     
    9285        <ImageButton name="D4" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    9386        <ImageButton name="D5" up_image="gui/inv_images/inv_backpack.png" down_image="gui/inv_images/inv_backpack.png" hover_image="gui/inv_images/inv_backpack.png" text=""/> 
    94         </HBox> 
    95          
    96         <Spacer /> 
    97          
    98         <HBox min_size="500,0"> 
     87      </HBox> 
     88       
     89      <Spacer /> 
     90       
     91      <HBox min_size="500,0"> 
    9992        <Spacer /> 
    10093        <Button name="close_button" text="Close" /> 
    101         </HBox> 
    102          
    103         </VBox> 
    104         </HBox> 
    105          
     94      </HBox> 
     95       
     96    </VBox> 
     97  </HBox> 
     98   
    10699</Window> 
    107          
    108  
Note: See TracChangeset for help on using the changeset viewer.