<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Widget name="pause_back" x="0" y="15">
        <Button name="back" x="0" y="0">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="-2" y="-6" image="back.png"/>
            <Click handler="cur_layout" cmd="close_groups"/>

            <Properties>
                <Property key="sfx_btn_hover">button_hover</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="-12 14"/>
            </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="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="-12 14"/>
            </SelectorController>
        </Button>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.1"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="15" to_x="0" to_y="15" duration="0.1"/>
                    <EfxVisible visible="1"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

    </Widget>

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

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.15"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="151" to_x="0" to_y="151" duration="0.1"/>
                    <EfxVisible visible="1"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <Properties>
            <Property key="sfx_btn_hover">button_hover</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="-12 10"/>
        </SelectorController>
    </HintItem>

    <Button name="next_episode" x="0" y="151">
        <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"/>
        </Click>

        <AnimController autoPlay="1">
            <ActionChain>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.15"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="151" to_x="0" to_y="151" duration="0.1"/>
                    <EfxVisible visible="1"/>
                    <EfxSendEvent event="event_update_buttons"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

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

    </Button>

    <HintItem name="hint2" x="0" y="287" qty="10" commodity="hint2" >
        <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>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.20"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="287" to_x="0" to_y="287" duration="0.1"/>
                    <EfxVisible visible="1"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

        <Properties>
            <Property key="sfx_btn_hover">button_hover</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="-12 10"/>
        </SelectorController>
    </HintItem>


    <Button name="log" x="0" y="423">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="log.png"/>
        <Image name="badge" x="94" y="0" width="46" height="46" />
        <Click handler="cur_layout" cmd="left_pane" param="log_panel">
            <Param value="crossfade2"/>
        </Click>
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.25"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="423" to_x="0" to_y="423" duration="0.1"/>
                    <EfxVisible visible="1"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

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

    <Button name="help" x="0" y="559">
        <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>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.3"/>
                <ActionGroup>
                    <EfxPlaySound sound="tool_bar_btn_appear"/>
                    <EfxMove from_x="-100" from_y="559" to_x="0" to_y="559" duration="0.1"/>
                    <EfxVisible visible="1"/>
                </ActionGroup>
            </ActionChain>
        </AnimController>

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

    <GPPanel x="50" y="685">
        <GPPanelIcon x="0" y="0" alias="navigate" auto_visible="0"/>
    </GPPanel>

   

</Layout>
