<container w='1024' h='768' x='0' y='0'  >

  <container w="730" h="460" x="0" y="0">
    <state name="initial" color="ffffff00" />
    <state name="closing" color="ffffff00" />    
    <image w="1024" h="768" filename="data/gui/popap_shade.png" />
  </container>
  
  <container w="730" h="460" x="150" y="150">
    
    <state name="initial" w="730" h="460" x='150' y='-460'/>
    <state name="closing" w="730" h="460" x='150' y='-460' on_end="removeLosePopup"/>

    <image w="420" h="300" x='165' y='80' filename="data/gui/popap_frame.png" />
    <image w="250" h="110" x='250' y='80' filename="data/gui/popap_go.png" />
    
    <text x="388" y="160" align="right" color="ffffff" text="Score:" font="data/fonts/dsgoose_26.xml" />
    <text x="388" y="180" align="right" color="ffffff" text="Time:" font="data/fonts/dsgoose_26.xml" />

    <text x="390" y="165" align="left" color="fffedd" name="final_endless_score" text="0000" font="data/fonts/dsgoose_20_simple.xml" />
    <text x="390" y="185" align="left" color="fffedd" name="final_endless_time" text="00:00" font="data/fonts/dsgoose_20_simple.xml" />



    <button x="295" y="230" w="150" h="50" on_click="loadMainMenu">
      <image name="default" x="0" y="0" filename="data/gui/buttons/exit_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/exit_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/exit_a.png" visible="0" />
    </button>

    <button x="295" y="280" w="150" h="50" on_click="closePopup">
      <image name="default" x="0" y="0" filename="data/gui/buttons/restart_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/restart_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/restart_a.png" visible="0" />
    </button>
  </container>

</container>
