Changeset 655 for trunk/game/gui


Ignore:
Timestamp:
10/15/10 10:24:51 (9 years ago)
Author:
beliar
Message:

Patch by Beliar

  • Adapted main menu to new screen clearing behaviour of fife. Added a container that is shown behind the menu.
  • Changed MainMenu? from Container to VBox
Location:
trunk/game/gui
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/gui/main_menu.xml

    r651 r655  
    55 * Total height should be num_button*20 + (num_button-1)*3 + 2*7 
    66--> 
    7  
    8 <Container name="MainMenu" background_image="gui/main_menu/main_menu_background_under_buttons.png" position_technique="center:center" size="320,340"> 
    9   <ImageButton name="continueButton" up_image="gui/main_menu/continue_disabled.png" position="0,4" /> 
    10   <ImageButton name="newButton" up_image="gui/main_menu/new_game_plain.png" hover_image="gui/main_menu/new_game_hovered.png" down_image="gui/main_menu/new_game_pressed.png" position="0,60" /> 
    11   <ImageButton name="loadButton" up_image="gui/main_menu/load_game_plain.png" hover_image="gui/main_menu/load_game_hovered.png" down_image="gui/main_menu/load_game_pressed.png" position="0,116"/> 
    12   <ImageButton name="optionsButton" up_image="gui/main_menu/options_plain.png" hover_image="gui/main_menu/options_hovered.png" down_image="gui/main_menu/options_pressed.png" position="0,172" /> 
    13   <ImageButton name="creditsButton" up_image="gui/main_menu/credits_disabled.png" position="0,228" /> 
    14   <ImageButton name="quitButton"  up_image="gui/main_menu/exit_plain.png" hover_image="gui/main_menu/exit_hovered.png" down_image="gui/main_menu/exit_pressed.png" position="0,284"/> 
    15 </Container> 
     7<VBox name="MainMenuMenu" padding="0" background_image="gui/main_menu/main_menu_background_under_buttons.png" position_technique="center:center" size="320,340"> 
     8  <ImageButton name="continueButton" up_image="gui/main_menu/continue_disabled.png"/> 
     9  <ImageButton name="newButton" up_image="gui/main_menu/new_game_plain.png" hover_image="gui/main_menu/new_game_hovered.png" down_image="gui/main_menu/new_game_pressed.png"/> 
     10  <ImageButton name="loadButton" up_image="gui/main_menu/load_game_plain.png" hover_image="gui/main_menu/load_game_hovered.png" down_image="gui/main_menu/load_game_pressed.png"/> 
     11  <ImageButton name="optionsButton" up_image="gui/main_menu/options_plain.png" hover_image="gui/main_menu/options_hovered.png" down_image="gui/main_menu/options_pressed.png"/> 
     12  <ImageButton name="creditsButton" up_image="gui/main_menu/credits_disabled.png"/> 
     13  <ImageButton name="quitButton"  up_image="gui/main_menu/exit_plain.png" hover_image="gui/main_menu/exit_hovered.png" down_image="gui/main_menu/exit_pressed.png"/> 
     14</VBox> 
Note: See TracChangeset for help on using the changeset viewer.