<container w='1024' h='768' y="768" name="win_popup" visible="0" >
	<state name="win" y="0" visible="1"/>



	<container w="800" h="700" x="140" y="-460">
		<state name="win" x="140" y="40"/>

    <affine_animation  x='130' y='100' filename="data/effects/animations/shine.anim.xml" >
     	<image x='0' y='0'  filename="data/gfx/shine.png"  />
    </affine_animation>
    
		<image x='90' y='0' filename="data/gui/winback.png" />

    <container x="530" y="190" w="10" h="10" >
		<text x="0" y="160" align="right" color="ffffff" text="win_score" font="data/fonts/dsgoose_26.xml" />
		<text x="0" y="185" align="right" color="ffffff" text="win_time" font="data/fonts/dsgoose_26.xml" />

		<text x="0" y="210" align="right" color="ffffff" text="win_item_gold" font="data/fonts/dsgoose_26.xml" />
		<text x="0" y="235" align="right" color="ffffff" text="win_score_gold" font="data/fonts/dsgoose_26.xml" />
		<text x="0" y="260" align="right" color="ffffff" text="win_time_gold" font="data/fonts/dsgoose_26.xml" />
		<text x="0" y="285" align="right" color="ffffff" text="win_total_gold" font="data/fonts/dsgoose_26.xml" />

	
		<text x="3" y="165" align="left" color="fffedd" dataSource="GameBoardController gameScore" text="0000" font="data/fonts/dsgoose_20_simple.xml" />
		<text x="3" y="190" align="left" color="fffedd" dataSource="GameBoardController gameTime" dataSourceIsTime="1" text="00:00" font="data/fonts/dsgoose_20_simple.xml" />

		<text x="3" y="215" align="left" color="fffedd" text="0000" font="data/fonts/dsgoose_20_simple.xml"  dataSource="GameBoardController itemGold" />
		<text x="3" y="240" align="left" color="fffedd" text="0000" font="data/fonts/dsgoose_20_simple.xml"  dataSource="GameBoardController scoreGold" />
		<text x="3" y="265" align="left" color="fffedd" text="0000" font="data/fonts/dsgoose_20_simple.xml"  dataSource="GameBoardController timeGold" />
		<text x="3" y="290" align="left" color="fffedd" text="0000" font="data/fonts/dsgoose_20_simple.xml"  dataSource="GameBoardController totalGold" />
		</container>
	
	




		

    
		<variant_container x='185' y='95' dataSource="GameBoardController timeStars">
			<container name="1" x="5" y="33" w="120" h="25" visible='0'>
				<image x="10" y="1"  filename='data/gui/stars_win_1.png'/>
			</container>
			<container name="2" x="5" y="33" w="120" h="25" visible='0'>
				<image x="10" y="1"  filename='data/gui/stars_win_2.png' />
			</container>
			<container name="3" x="5" y="33" w="120" h="25" visible='0'>
				<image x="10" y="1"  filename='data/gui/stars_win_3.png' />
			</container>
		</variant_container>
		
       
	   
      
		<button x="170" y="550" w="150" h="50" on_click="restart">
			<image name="default" x="0" y="0" filename="data/gui/buttons/m_restart_d.png" visible="1" />
			<image name="active" x="0" y="0" filename="data/gui/buttons/m_restart_a.png" visible="0" />
			<image name="pressed" x="5" y="5" filename="data/gui/buttons/m_restart_a.png" visible="0" />
		</button>
       
		

   	
	
		<button x="400" y="550" w="150" h="50" on_click="toMainMenuAfterWin">
			<image name="default" x="0" y="0" filename="data/gui/buttons/m_continue_d.png" visible="1" />
			<image name="active" x="0" y="0" filename="data/gui/buttons/m_continue_a.png" visible="0" />
			<image name="pressed" x="5" y="5" filename="data/gui/buttons/m_continue_a.png" visible="0" />
		</button>
    
    
    <affine_animation  x='205' y='370' filename="data/effects/animations/artefact_win.anim.xml" >
     	<image x='0' y='0'  filename="data/gfx/items/item0101.png" name="winItemImage" />
    </affine_animation>
    
    
	</container>

</container>
