<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="status_bar_bkg" x="24" y="0" image="/interface/up_board_2.png"/>

    <StatusBarActionBox x="570" y="-9">
        <Widget name="status_bar_action_box" x="0" y="0">
            <Image x="0" y="0" image="/shop_money/action_box_timer.png"/>
            <Text name="timer" x="30" y="20" width="100" height="20" font="author" text="99:99:99" align="C" color="FFFFE191"/>
        </Widget>
    </StatusBarActionBox>

    <CommodityQuantity x="735" y="4" commodity="key">
        <Image name="glow" x="-25" y="-14" image="/interface/glow_under_energy.png"/>
        <Image x="0" y="0" image="/interface/key_up_menu.png"/>
        <Text name="value" x="44" y="2" width="64" height="24" font="author" text="" align="W" color="FFFFFFFF"/>
    </CommodityQuantity>

    <Button name="status_bar_energy" x="785" y="-17" create_if="$device.hasInAppSupport == true">
        <!--Image name="button" x="0" y="0" image="/interface/plus_energy_bkg.png">
            <AnimController autoPlay="1">
                <ActionChain>
                    <ActionRepeat repeat="-1">
                        <ActionChain>
                            <EfxWait delay="20"/>
                            <ActionRepeat repeat="3">
                                <ActionChain>
                                    <ActionGroup>
                                        <EfxRotate from="0" to="180" duration="2.5"/>
                                        <EfxColor duration="2.5" from="FFFFFFFF" to="80FFFFFF" modifier="sindiminish"/>
                                    </ActionGroup>
                                    <ActionGroup>
                                        <EfxRotate from="181" to="360" duration="2.5"/>
                                        <EfxColor duration="2.5" from="80FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                                    </ActionGroup>
                                </ActionChain>
                            </ActionRepeat>
                        </ActionChain>
                    </ActionRepeat>
                </ActionChain>
            </AnimController>
        </Image-->
        <Image name="button" x="0" y="0" image="/interface/plus_energy.png" />
        <Event id="e_buy_key">{"commodity": "key"}</Event>
    </Button>


    <ManaWidget x="845" y="0" xml="/shop/sb_mana_short.xml"/>

    <MiniShop event="e_buy_key"/>

<!--     <Button name="status_bar_energy" x="916" y="-17">
        <Image name="button" x="0" y="0" image="/interface/plus_energy_bkg.png">
            <AnimController autoPlay="1">
                <ActionChain>
                    <ActionRepeat repeat="-1">
                        <ActionChain>
                            <EfxWait delay="20"/>
                            <ActionRepeat repeat="3">
                                <ActionChain>
                                    <ActionGroup>
                                        <EfxRotate from="0" to="180" duration="2.5"/>
                                        <EfxColor duration="2.5" from="FFFFFFFF" to="80FFFFFF" modifier="sindiminish"/>
                                    </ActionGroup>
                                    <ActionGroup>
                                        <EfxRotate from="181" to="360" duration="2.5"/>
                                        <EfxColor duration="2.5" from="80FFFFFF" to="FFFFFFFF" modifier="sindiminish"/>
                                    </ActionGroup>
                                </ActionChain>
                            </ActionRepeat>
                        </ActionChain>
                    </ActionRepeat>
                </ActionChain>
            </AnimController>
        </Image>
        <Image name="button" x="0" y="0" image="/interface/plus_energy.png" />
        <Click cmd="layout" param="ShopMoney">
            <Param value="crossfade"/>
        </Click>
    </Button> -->

    <!-- old version -->
    <!--<Widget x="0" y="0" xml="/interface/anim_status_bar.xml">

        <aStatusBarActionBox x="0" y="0">
            <Text name="timer" x="20" y="0" width="550" height="50" font="font" text="99:99:99" align="C" color="FFFFFFFF"/>
            <Properties>
            <Property key="alias">BANK_ACTION_FULL_MSG</Property>
            </Properties>
        </aStatusBarActionBox>

        <ManaWidget name="mana" x="253" y="0" xml="/shop/sb_mana.xml"/>
    </Widget> -->
</Layout>
