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

    <Widget x="0" y="0" xml="/interface/anim_status_bar.xml">

        <StatusBarActionBox x="800" y="-10">
            <Image name="status_bar_action_box" 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"/>
            </Image>

            <!--Text x="130" y="10" width="550" height="50" font="font" text="BANK_ACTION_FULL_MSG" align="W" color="FFFFFFFF"/-->

        </StatusBarActionBox>

        <!-- old version -->
        <!--StatusBarActionBox 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>
        </StatusBarActionBox-->

        <CommodityQuantity x="1010" y="10" commodity="key">
            <Image name="glow" x="-45" y="-29" 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="1065" 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>

                    <Properties>
                        <Property key="sfx_btn_hover">button_hover</Property>
                    </Properties>
                </Button>

                <ManaWidget x="1135" y="-2" xml="/shop/sb_mana_short.xml"/>

                <MiniShop event="e_buy_key"/>

<!--    <Button name="status_bar_energy" x="1216" 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>

            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
            </Properties>
        </Button> -->
    </Widget>
</Layout>
