<?xml version="1.0" encoding="utf-8" ?>
<Layout x="0" y="0" width="1366" height="768" animate="EfxPopup" play_list="DailyBonus">
    <Particles name="ps" x="0" y="0" file="/shop/win8_daily_bonus.ps" visible="0">
        <AnimController name="ps_animation" autoPlay="0" events="play_mana_particle">
            <ActionChain>
                <aEfxWait delay="0.6" />
                <EfxVisible visible="1" />
                <EfxMove duration=".7" from_x="0" from_y="0" to_x="1500" to_y="500"/>
                <EfxVisible visible="0" />
            </ActionChain>
        </AnimController>
    </Particles>

    <Image name="rays2" x="190" y="-20" image="../main_menu/rays.png">
        <AnimController autoPlay="1" >
            <ActionChain>
                <ActionRepeat repeat="-1">
                    <EfxRotate from="0" to="-3590" duration="500"/>
                </ActionRepeat>
            </ActionChain>
        </AnimController>
    </Image>

    <Image name="bkg" x="115" y="30" image="/shop/daily_bonus_big.png" />

    <Widget name="box" x="200" y="50">
        <Text name="header_text" x="386" y="88" width="180" height="20" font="medium" text="ACTION_HEADER" align="C" color="FFfff696"/>
        <Text name="desc_text" x="176" y="138" width="620" height="20" font="font" text="ACTION_SHOP_MSG" align="C" color="FFfdb64f"/>
        <Text name="time_text" x="30" y="468" width="520" height="20" font="font" text="ACTION_TIMER_MSG" align="E" color="FFfdb64f"/>        

        <StatusBarActionBox x="555" y="468">
            <Text name="timer" x="0" y="0" width="150" height="24" font="font" text="20d:44h:21m" align="W" color="FFfffc18"/>
        </StatusBarActionBox>

        <Image name="frame_action" x="205" y="194" image="border.png"/>
        <Image name="rays3" x="-133" y="-194" scale="0.3" image="../main_menu/rays.png">
            <AnimController autoPlay="1" >
                <ActionChain>
                    <ActionRepeat repeat="-1">
                        <EfxRotate from="0" to="-3590" duration="500"/>
                    </ActionRepeat>
                </ActionChain>
            </AnimController>
        </Image>
        
        <Widget name="icon" x="270" y="224">
            <Text name="qty" x="128" y="152" width="55" height="20" text="+10" scale="1.5" font="medium" color="FFFFFFFF" align="C"/>
        </Widget>
        
        <Image name="frame_price_1" x="451" y="232" image="border_price_01.png"/>
        <Image name="frame_price_2" x="350" y="231" image="border_price_02.png"/>
        <Image name="frame_percent" x="144" y="174" image="border_percent.png">        
            <Text name="discount_percent_shadow" x="3" y="66" width="150" height="24" font="medium" text="-20%" scale="1.5" align="C" color="FFFFFFFF"/>
            <Text name="discount_percent" x="1" y="64" width="150" height="24" font="medium" text="-20%" scale="1.5" align="C" color="FF9e0808"/>                
        </Image>

        <Image name="line" x="544" y="282" image="line.png"/>        
        <Image name="lightning" x="635" y="290" image="lightning.png"/>        

        <Text name="price" x="520" y="279" width="150" height="24" font="medium" text="200" align="C" scale="1.2" color="FF907575"/>
        <Text name="discount_shadow" x="525" y="325" width="150" height="24" font="medium" text="100" align="C" scale="1.5" color="FF000000"/>
        <Text name="discount" x="523" y="327" width="150" height="24" font="medium" text="100" align="C" scale="1.5" color="FFf94600"/>    

        <Button name="right" x="919" y="35" sound="button_close_menu_generic_01" image="../shop/close.png"/>

        <Button name="left" x="330" y="515" image="/hint/button_big_orange.png">
            <Text name="left_text" x="55" y="29" width="180" height="20" font="medium" text="" lineHeight="20" align="C" color="FFfffc18"/>
        </Button>    

    </Widget>

    <AnimController autoPlay="1">
        <ActionChain>
            <EfxPlaySound sound="ui_devilslots_slide_01"/>
        </ActionChain>
    </AnimController>        
    
    <Properties>
        <Property key="sfx_dlg_appear">daily_bonus_come</Property>
        <Property key="sfx_dlg_dismiss">dialy_bonus_away</Property>
    </Properties>

</Layout>

