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

Revision 648, 755 bytes checked in by beliar, 9 years ago (diff)

Ticket #118: Patch by Beliar

  • Added a simple main menu
  • Removed unnnecessary und harmful calls to pychan.init() in hud.py and popups.py
  • Moved methods from GameSceneController? to ControllerBase? that set/reset the mouse cursor

fixes[s:trac, t:118]

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
8<Container name="MainMenu" position_technique="center:center" size="145,172">
9  <Button name="newButton"     text="New Game"    position="25,7" min_size="95,20" max_size="95,20" />
10  <Button name="loadButton"    text="Load Game"   position="25,76"  min_size="95,20" max_size="95,20"/>
11  <Button name="optionsButton" text="Options"     position="25,99" min_size="95,20" max_size="95,20"/>
12  <Button name="quitButton"    text="Quit"        position="25,145" min_size="95,20" max_size="95,20" />
13</Container>
Note: See TracBrowser for help on using the repository browser.