source: trunk/game/gui/main_menu.xml @ 683

Revision 655, 1.3 KB checked in by beliar, 9 years ago (diff)

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
Line 
1<!--
2 * Buttons have a dimension of 95x20 pixels
3 * 3 pixels vertical spacing is foreseen between buttons
4 * 7 pixels spacing is foreseen above and below the buttons
5 * Total height should be num_button*20 + (num_button-1)*3 + 2*7
6-->
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 TracBrowser for help on using the repository browser.