<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="planet_slots" x="195" y="10" image="/interface/planet_slots.png"/>
    
    <Widget name="pause_back" x="202" y="17">
        <Button name="back" x="0" y="0">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="0" y="0" image="back.png"/>
            <Click handler="cur_layout" cmd="close_groups"/>
            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
                <Property key="horizontal">1</Property>
                <Property key="gp_selectable">1</Property>
            </Properties>
            <SelectorController>
                <Action type="0" btn="13" cmd="press"/>
                <Container class="GPOnceContainer"/>
                <Item path=".." scale="1 1" alias="btn_b" offset="-10 12"/>
            </SelectorController>
        </Button>

        <Button name="pause" x="0" y="0">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="0" y="0" image="menu.png"/>
            <Click cmd="layout" handler="cur_layout" param="back">
                <Param value="crossfade"/>
            </Click>
            <Properties>
                <Property key="sfx_btn_hover">button_hover</Property>
                <Property key="horizontal">1</Property>
                <Property key="gp_selectable">1</Property>
            </Properties>
            <SelectorController>
                <Action type="0" btn="13" cmd="press"/>
                <Container class="GPOnceContainer"/>
                <Item path=".." scale="1 1" alias="btn_b" offset="-10 12"/>
            </SelectorController>
        </Button>
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.3"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>
    </Widget>

    <HintItem name="hint1" x="330" y="17" qty="10" commodity="hint1">
        <Button name="use" width="128" height="128"/>
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="-3" y="0" image="/hint/hint_1_on.png"/>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.45"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
            <Property key="horizontal">1</Property>
            <Property key="gp_selectable">1</Property>
        </Properties>

        <SelectorController>
            <Action type="0" btn="14" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_x" offset="-10 12"/>
        </SelectorController>
    </HintItem>

    <Button name="next_episode" x="330" y="17">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="next_epizod.png"/>
        <!--Click cmd="layout" param="MainMenu">
            <Param value="crossfade"/>
        </Click-->
        <Click handler="cur_layout" cmd="next_episode">
            <Param value="crossfade"/>
            <Property key="horizontal">1</Property>
            <Property key="gp_selectable">1</Property>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.45"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
            <Property key="gp_selectable">1</Property>
        </Properties>

    </Button>

    <HintItem name="hint2" x="444" y="3" qty="10" commodity="hint2" scale="0.85">
        <Button name="use" width="136" height="136"/>
        <ProgressBarWidget name="bar" x="0" y="0">
            <Image name="border_enable" x="0" y="0" image="/hint/button_hint2_on.png" />
            <Image name="border_disable" x="0" y="0" image="/hint/button_hint2_off.png" />
 
            <Properties>
                <Property key="bar">border_enable</Property>
                <Property key="bkg">border_disable</Property>
                <Property key="val">1</Property>
                <Property key="dir">N</Property>
            </Properties>
        </ProgressBarWidget>
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.6"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="0.8" to_y="0.8" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
            <Property key="horizontal">1</Property>
            <Property key="gp_selectable">1</Property>
        </Properties>

        <SelectorController>
            <Action type="0" btn="15" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_y" offset="-10 12"/>
        </SelectorController>
    </HintItem>

    <Button name="log" x="586" y="17">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="log.png"/>
        <Image name="badge" x="80" y="0" width="29" height="29" />
        <Click handler="cur_layout" cmd="left_pane" param="log_panel">
            <Param value="crossfade2"/>
        </Click>
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.75"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
            <Property key="horizontal">1</Property>
            <Property key="gp_selectable">1</Property>
        </Properties>
    </Button>

    <Button name="help" x="714" y="17">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="help.png"/>
        <Click cmd="layout" param="Help">
            <Param value="crossfade"/>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxColor duration="0" to="00FFFFFF" />
                <EfxWait delay="0.9"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
                    <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <AnimController autoPlay="0" events="help_show">
            <ActionChain>
                <EfxWait delay="1"/>
                <EfxScaleXY duration="0.5" from_x="0" from_y="0" to_x="1" to_y="1" />
            </ActionChain>
        </AnimController>

        <AnimController autoPlay="0" events="help_hide">
            <ActionChain>
                <EfxWait delay="1.5"/>
                <EfxScaleXY duration="0.5" from_x="1" from_y="1" to_x="0" to_y="0" />
            </ActionChain>
        </AnimController>

        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
            <Property key="horizontal">1</Property>
            <Property key="gp_selectable">1</Property>
        </Properties>
    </Button>

   

</Layout>
