<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="1024" h="768" 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="removeWinPopup"/>
    
    
    <image w="420" h="300" x='165' y='80' filename="data/gui/popap_frame.png" />
    <image w="330" h="70" x='210' y='80' filename="data/gui/popap_lvl_compl.png" />


    <text x="428" y="160" align="right" color="ffffff" text="Score:" font="data/fonts/calibri23.xml" />
    <text x="430" y="163" align="left" color="fffedd" name="final_score" text="0000" font="data/fonts/calibri21.xml" />

    <text x="428" y="180" align="right" color="ffffff" text="Time:" font="data/fonts/calibri23.xml" />
    <text x="430" y="183" align="left" color="fffedd" name="final_time" text="00:00" font="data/fonts/calibri21.xml" />

    <!--text x="428" y="220" align="right" color="ffffff" text="Bonus time:" font="data/fonts/dsgoose_26.xml" />
    <text x="430" y="225" align="left" color="fffedd" name="bonus_time" text="00:00" font="data/fonts/dsgoose_20_simple.xml" /-->

    <text x="428" y="200" align="right" color="ffffff" text="Money gained:" font="data/fonts/calibri23.xml" />
    <text x="430" y="203" align="left" color="fffedd" name="level_money" text="0" font="data/fonts/calibri21.xml" />

    <text x="428" y="220" align="right" color="ffffff" text="Time bonus:" font="data/fonts/calibri23.xml" />
    <text x="430" y="223" align="left" color="fffedd" name="bonus_money" text="0" font="data/fonts/calibri21.xml" />

    <text x="428" y="240" align="right" color="ffffff" text="Total money:" font="data/fonts/calibri23.xml" />
    <text x="430" y="243" align="left" color="fffedd" name="total_level_money" text="0" font="data/fonts/calibri21.xml" />


    <button x="300" y="275" w="150" h="50" on_click="closePopup">
      <image name="default" x="0" y="0" filename="data/gui/buttons/continue_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/continue_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/continue_a.png" visible="0" />
    </button>
    
  </container>

</container>