<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <BkgImage name="bkg" x="0" y="0" image="bkg_free.jpg" />

    <Button name="back" x="0" y="0" scale="0.8" image="/toolbar/button_toolbar_2.png">
        <Image name="button" x="-5" y="-3" scale="0.8" image="/toolbar/back.png"/>
        <Click cmd="layout" param="MainMenu">
            <Param value="crossfade"/>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0.0" to="00FFFFFF"/>
                <EfxWait delay="1"/>
                <ActionGroup>
                    <EfxMove from_x="-100" to_x="0" mode="ftx" duration="0.1"/>
                    <EfxColor duration="1" to="FFFFFFFF"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>    
    </Button>
    
    <Text name="text1" x="830" y="30" width="320" height="20" font="author" text="GAME_OVER_DEMO_TEXT1" align="C" color="FFfec326"/>
    <Text name="text2" x="820" y="70" width="320" height="40" font="author" text="GAME_OVER_DEMO_TEXT2" align="C" color="FFf8863c"/>
    <Text name="text3" x="830" y="170" width="400" height="20" font="author" text="GAME_OVER_DEMO_TEXT3" align="C" color="FFFFFFFF"/>
    <Text name="text4" x="915" y="245" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT4" align="C" color="FFFFFFFF"/>
    <Text name="text5" x="915" y="355" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT5" align="C" color="FFFFFFFF"/>
    <Text name="text6" x="915" y="470" width="200" height="35" font="author" text="GAME_OVER_DEMO_TEXT6" align="C" color="FFFFFFFF"/>


    <!-- restore -->
    
    <!-- 
    <Button name="free_restore"  x="810" y="530" image="/main_menu/restore_button_gameover_free.png" create_if="$device.getGameType == free">
        <Text x="6" y="120" width="150" height="100" font="author" color="FFeaac11" text="TRIAL_SCREEN_RESTORE_DESC" align="C"/>
        <Click cmd="restore_inapps"/>
    </Button>
     -->
    
    <!-- update -->
    <Button name="ddLink" x="850" y="530" image="/main_menu/update_button.png" create_if="$device.getGameType == free">
        <Click cmd="url" param="ddLink"/>
        <Text x="6" y="120" width="150" height="100" font="author" color="FFeaac11" text="TRIAL_SCREEN_UNLOCK_BTN" align="C"/>
    </Button>
    
    
    <!-- fortumo 
    <Button name="fortumo" x="1070" y="530" image="/main_menu/unlock_button.png" show_if="$device.getGameType = free * $device.getPlatform @ Win8">
        <Image x="65" y="-30" image="/interface/fortumo.png" scale="0.8" />
        
        <Event id="click_to_upgrade"/>
        <Click cmd="url" param="ddLink"/>
        <Text x="6" y="120" width="150" height="100" font="author" color="FFeaac11" text="SHOP_PAY_BY_SMS" align="C"/>
    </Button>
    -->
    
    <!-- unlock_full_version_by_mobile -->
    <Button name="unlock_full_version_by_mobile" x="1070" y="530" image="/main_menu/sms_button.png" show_if="($device.getGameType = trial | $device.getGameType = free)* $device.getPlatform @ Win8" >
    
        <Event id="click_to_upgrade"/>
        <Click cmd="buy_energy" param="fortumoUnlock" />
        <Text x="6" y="120" width="150" height="100" font="author" color="FFeaac11" text="UNLOCK_FULL_VERSION_BY_MOBILE" align="C"/>
    </Button>
    
    <AnimController autoPlay="1">
        <ActionChain>    
            <EfxSendEvent event="event_gameover_free_didappear"/>
        </ActionChain>
    </AnimController>
</Layout>    
