<screen version="1.0" >

  <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

  <widget class="picture" file="main menu/background" scale_picture="true" keep_aspect_ratio="false">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </widget>

  <!-- manager picture on the right hand side -->
  <widget class="picture" file="main menu/manager" transparency="1.0" scale_picture="true" keep_aspect_ratio="true" image_alignment="right">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </widget>

  <container>
    <layout class="arrange_horizontal_attachment" alignment="left, extend" layout="80,-1,490" offset="0" gap="0"/>
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

    <container/>

    <!-- main logo and buttons -->
    <container id="main">

      <!-- this container will display the intro screen logo -->
      <widget class="picture" id="losg" file="main menu/logo" auto_size="all" transparency="1.0">
        <layout class="stick_to_sides_attachment" alignment="top" inset="65"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" priority="1"/>
      </widget>

      <container>
        <layout class="centre_in_parent_attachment" alignment="horizontal" priority="1"/>
        <layout class="arrange_vertical_attachment" alignment="top" offset="280" gap="0"/>
        <layout class="fit_children_attachment" alignment="vertical,fill" offset="280" gap="3"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" layout_children="true"/>
        <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>

        <!-- start new game -->
        <container width="401" height="90" class="titled_box" appearance="boxes/main menu/top" >
          <layout class="arrange_horizontal_attachment" alignment="left" layout="104,-1,0" offset="10" gap="10"/>
          <layout class="centre_in_parent_attachment" alignment="vertical" layout_children="true" offset="4"/>

          <widget class="action_button" appearance="main menu/buttons/new game/button" click_event="NEW " auto_size="all">
            <string id="hint" value="Choose this option to start a new game."/>
          </widget>

          <container>
            <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="2"/>
            <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="2"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

            <widget class="text_button" text="New Game[Comment button which lets you make a new one, etc]" click_event="NEW " multiline="false" spec="text" colour="white" style="semi_bold, shadowed" size="14" alignment="left">
              <string id="hint" value="Choose this option to start a new game."/>
            </widget>

            <widget class="text_button" text="Choose this option to start a new game." click_event="NEW " multiline="true" spec="text" colour="white" style="semi_bold" size="6" alignment="left"/>
          </container>

          <widget class="action_button" id="ibng" appearance="main menu/buttons/main/button" click_event="NEW ">
            <string id="hint" value="Choose this option to start a new game."/>
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
          </widget>

        </container>

        <!-- load last game -->
        <container width="401" height="90" class="titled_box" appearance="boxes/main menu">
          <layout class="arrange_horizontal_attachment" alignment="left" layout="104,-1,0" offset="10" gap="10"/>
          <layout class="centre_in_parent_attachment" alignment="vertical" layout_children="true"/>

          <widget class="action_button" appearance="main menu/buttons/load last game/button" click_event="RLGA" auto_size="all">
            <string id="hint" value="Choose this option to load the game you played last ('[%string#1 - name of game goes here]')."/>
          </widget>

          <container>
            <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="2"/>
            <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="2" priority="1"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

            <widget class="text_button" height="60" text="Load Last Game[Comment button which lets you resume your previous game]" click_event="RLGA" multiline="false" spec="text" colour="intro title" style="semi_bold, embossed" size="14" alignment="left, bottom">
            </widget>

            <widget class="text_button" id="resi" height="60" text="Choose this option to load the game you played last ('[%string#1 - name of game goes here]')." click_event="RLGA" multiline="true" spec="text" colour="white" style="semi_bold" size="6" alignment="left"/>
          </container>

          <widget class="action_button" id="resb" appearance="main menu/buttons/main/button" click_event="RLGA">
            <string id="hint" value="Choose this option to load the game you played last ('[%string#1 - name of game goes here]')." />
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
          </widget>

        </container>

        <!-- load game -->
        <container width="401" height="90" class="titled_box" appearance="boxes/main menu">
          <layout class="arrange_horizontal_attachment" alignment="left" layout="104,-1,0" offset="10" gap="10"/>
          <layout class="centre_in_parent_attachment" alignment="vertical" layout_children="true" offset="4"/>

          <widget class="action_button" appearance="main menu/buttons/load game/button" click_event="OPN?" auto_size="all">
            <string id="hint" value="Load a previously saved game."/>

            <record id="contextual_event">
              <flags id="event_id" value="ldgc" />
              <flags id="event_target" value="scrn" />
            </record>
          </widget>

          <container>
            <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="2"/>
            <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="2"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

            <widget class="text_button" text="Load Game[Comment button which lets you load a game]" click_event="OPN?" multiline="false" spec="text" colour="intro title" style="semi_bold, embossed" size="14" alignment="left">
              <string id="hint" value="Load a previously saved game."/>
              <record id="contextual_event">
                <flags id="event_id" value="ldgc" />
                <flags id="event_target" value="scrn" />
              </record>
            </widget>

            <widget class="text_button" text="Load a previously saved game." click_event="OPN?" multiline="true" spec="text" colour="white" style="semi_bold" size="6" alignment="left">
              <record id="contextual_event">
                <flags id="event_id" value="ldgc" />
                <flags id="event_target" value="scrn" />
              </record>
            </widget>
          </container>

          <widget class="action_button" id="iblo" appearance="main menu/buttons/main/button" click_event="OPN?">
            <string id="hint" value="Load a previously saved game."/>
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

            <record id="contextual_event">
              <flags id="event_id" value="ldgc" />
              <flags id="event_target" value="scrn" />
            </record>
          </widget>

        </container>

        <!-- load quick start -->
        <container hidden="true" width="401" height="90" class="titled_box" appearance="boxes/main menu">
          <layout class="arrange_horizontal_attachment" alignment="left" layout="104,-1,0" offset="10" gap="10"/>
          <layout class="centre_in_parent_attachment" alignment="vertical" layout_children="true" offset="4"/>

          <widget class="action_button" appearance="main menu/buttons/load quick start/button" click_event="LQS?" auto_size="all">
            <string id="hint" value="Load a quick start."/>
          </widget>

          <container>
            <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="2"/>
            <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="2"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

            <!-- The text for this in data/skus/demo/screens/ is Load Demo Game. Kept it to Load Quick Start here for now to keep translation. This button/text is hidden in non-demo builds -->
            <widget class="text_button" text="Load Quick Start[COMMENT - button which lets you load a quick start]" click_event="LQS?" multiline="false" spec="text" colour="intro title" style="semi_bold, embossed" size="14" alignment="left">
              <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
            </widget>

            <widget class="text_button" appearance="" text="Load a quick start." click_event="LQS?" multiline="true" spec="text" colour="white" style="semi_bold" size="6" alignment="left"/>
          </container>

          <widget class="action_button" appearance="main menu/buttons/main/button" click_event="LQS?">
            <string id="hint" value="Load a quick start."/>
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
          </widget>

        </container>

        <!-- network -->
        <container width="401" height="90" class="titled_box" appearance="boxes/main menu/bottom">
          <layout class="arrange_horizontal_attachment" alignment="left" layout="104,-1,0" offset="10" gap="10"/>
          <layout class="centre_in_parent_attachment" alignment="vertical" layout_children="true" offset="4"/>

          <widget class="action_button" appearance="main menu/buttons/network/button" click_event="join" auto_size="all">
            <string id="hint" value="Choose this option to join a network game.[COMMENT: game start screen, hint text for Join Network Game button, use top ten matches as this string is only slightly altered to remove references to starting a game]"/>
          </widget>

          <container>
            <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="2"/>
            <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="2"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

            <widget class="text_button" appearance="" text="Join Network Game" click_event="join" multiline="false" spec="text" colour="intro title"  style="semi_bold, embossed" size="14" alignment="left">
              <string id="hint" value="Choose this option to join a network game.[COMMENT: game start screen, hint text for Join Network Game button, use top ten matches as this string is only slightly altered to remove references to starting a game]"/>
            </widget>

            <widget class="text_button" appearance="" text="Choose this option to join a network game.[COMMENT: game start screen, hint text for Join Network Game button, use top ten matches as this string is only slightly altered to remove references to starting a game]" click_event="join" multiline="true" spec="text" colour="white" style="semi_bold" size="6" alignment="left"/>
          </container>

          <widget class="action_button" id="netb" appearance="main menu/buttons/main/button" click_event="join" disabled="true">
            <string id="hint" value="Choose this option to join a network game.[COMMENT: game start screen, hint text for Join Network Game button, use top ten matches as this string is only slightly altered to remove references to starting a game]"/>
            <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
          </widget>
        </container>

      </container>

    </container>

    <container/>

  </container>

  <!-- footer graphic under the minor buttons -->
  <widget class="picture" id="pict" file="main menu/footer/bar" auto_size="vertical" cached="true">
    <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" priority="1"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>
  </widget>

  <!-- minor buttons and small logos -->
  <container>
    <layout class="stick_to_sides_attachment" alignment="all"/>

    <!-- buttons -->
    <container height="35">
      <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="5"/>
      <layout class="centre_in_parent_attachment" alignment="vertical" offset="1" layout_children="true"/>
      <layout class="stick_to_sides_attachment" alignment="left,bottom" inset="0"/>
      <layout class="fit_children_attachment" alignment="vertical" offset="1" gap="0"/>
      <layout class="fit_children_attachment" alignment="horizontal,fill" offset="0" gap="5"/>

      <!-- activate (only for digital download that requires a manual activation or copy protection that has activation/deactivation -->
      <widget class="icon_button" id="itma" hidden="true" text="Activate[COMMENT: Intro Screen: Button text for activating a serial number manually (only valid for versions distributed through digital download systems.]" auto_size="all" spec="text" click_event="ACTI" style="embossed">
        <string id="hint" value="Choose this option to activate your copy.[COMMENT: Tooltip for button that activates the game (if copy protection or digital download requires this).]" />
      </widget>

      <!-- deactivate (only for digital download that requires a manual activation or copy protection that has activation/deactivation -->
      <!-- position is the same as for activate, only one of them is visible at any time -->
      <widget class="icon_button" id="itmd" hidden="true" auto_size="all" spec="text" click_event="DCTI"
				text="Deactivate[COMMENT: Text for deactivating a copy of the game (displayed for digital download versions or copy protection systems that has activation/deactivations]" style="embossed">
        <string id="hint" value="Choose this option to deactivate your copy.[COMMENT: Tooltip for button/menu that deactivates the game (if copy protection or digital download requires this).]"/>
      </widget>

      <!-- tutorial/help  -->
      <widget class="icon_button" text="Help" auto_size="all" spec="text" click_event="sHLP" id="tutt" style="embossed">
        <string id="hint" value="Click here to get help about this screen.[COMMENT - hint text for button which displays intro screen help topics]"/>
      </widget>

      <!-- check for update -->
      <widget class="icon_button" id="chua" text="Check For Updates[COMMENT - intro screen; button for checking for patches]" auto_size="all" spec="text" click_event="CHUP" style="embossed">
        <string id="hint" value="Choose this option to make sure you have the latest version.[COMMENT - hint text for button which checks for new patches]"/>
      </widget>

      <!-- fm club -->
      <!-- removed for FM2011 -->
      <!--<widget class="icon_button" id="cmct" text="FM Club[COMMENT - intro screen; button for FM Club website link]" auto_size="horizontal" spec="text" click_event="CHUP" colour="white" style="embossed" appearance="main menu/buttons/footer/button">
				<string id="hint" value="Join now for free and get special offers and the chance to win great prizes![COMMENT - hint text for button which takes user to FM Club website]"/>

				<record id="click_event">
					<flags id="event_id" value="OURL" />
					<string id="url" value="www.footballmanager.com/fmclub" />
					<boolean id="byct" value="true" />
					</record>
			</widget>-->

      <!-- view match -->
      <widget class="icon_button" id="abvm" text="View Match" click_event="PLSM" auto_size="all" spec="text" style="embossed" >
        <string id="hint" value="Choose this option to watch a previously saved match."/>
      </widget>

      <!-- credits -->
      <widget class="icon_button" text="Credits" auto_size="all" spec="text" click_event="CRED" id="hoft" style="embossed">
        <string id="hint" value="Click here to see the people behind [%string#1 - current name of game, e.g. FM2007].[COMMENT - hint text for button which displays game credits]"/>
      </widget>

    </container>
    <!-- container with logos -->

    <!-- buttons -->
    <container height="35">
      <layout class="arrange_horizontal_attachment" alignment="right" offset="0" gap="5"/>
      <layout class="centre_in_parent_attachment" alignment="vertical" offset="1" layout_children="true"/>
      <layout class="stick_to_sides_attachment" alignment="right,bottom" inset="0"/>
      <layout class="fit_children_attachment" alignment="vertical" offset="1" gap="0"/>
      <layout class="fit_children_attachment" alignment="horizontal,fill" offset="0" gap="5"/>

      <!-- preferences -->
      <widget class="icon_button" text="Preferences" auto_size="all" spec="text" style="embossed">
        <string id="hint" value="Change your game preferences.[COMMENT: intro screen: preferences button hint]"/>

        <record id="click_event">
          <flags id="event_id" value="PREF" />
          <flags id="event_target" value="scrn" />
        </record>
      </widget>

      <!-- quit -->
      <widget class="icon_button" text="Quit" auto_size="all" spec="text" id="qttx" style="embossed">
        <string id="hint" value="Choose this option to exit [%string#1 - current name of game, e.g. FM2007] and return to the real world...[COMMENT - hint text for button to exit game]"/>

        <record id="click_event">
          <flags id="event_id" value="QUIT" />
          <flags id="event_target" value="scrn" />
        </record>
      </widget>
    </container>


    <!-- SI logo -->
    <widget class="action_button" appearance="main menu/sports interactive" auto_size="all" >
      <layout class="stick_to_sides_attachment" alignment="right" inset="5"/>
      <layout class="stick_to_sides_attachment" alignment="bottom" inset="40"/>
      <string id="hint" value="http://www.sigames.com/" />

      <record id="click_event">
        <flags id="event_id" value="OURL" />
        <string id="url" value="http://www.sigames.com/" />
        <boolean id="byct" value="true" />
      </record>

    </widget>

    <!-- SEGA logo  -->
    <widget class="action_button" appearance="main menu/sega" auto_size="all" >
      <layout class="stick_to_sides_attachment" alignment="right" inset="60"/>
      <layout class="stick_to_sides_attachment" alignment="bottom" inset="50"/>
      <string id="hint" value="http://www.sega-europe.com/" />

      <record id="click_event">
        <flags id="event_id" value="OURL" />
        <string id="url" value="http://www.sega-europe.com/" />
        <boolean id="byct" value="true" />
      </record>

    </widget>

    <!-- footballmanager.com -->
    <widget class="action_button" appearance="main menu/wwwfootballmanagernet" auto_size="all" >
      <layout class="stick_to_sides_attachment" alignment="left" inset="10"/>
      <layout class="stick_to_sides_attachment" alignment="bottom" inset="40"/>
      <string id="hint" value="http://www.footballmanager.com/" />

      <record id="click_event">
        <flags id="event_id" value="OURL" />
        <string id="url" value="http://www.footballmanager.com/" />
        <boolean id="byct" value="true" />
      </record>
    </widget>

  </container>
  <!-- container with buttons and logos -->


  <!-- when visible, this panel will cover the movie test panel and take mouse/key events -->
  <container class="splash_movie_panel" id="spmp" movie_finish_event="spmf" hidden="true">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </container>


</screen>
