<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Widget name="pause_back" x="0" y="15">
        <Button name="back" x="0" y="0" scale="0.8">
            <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="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 10"/>
            </SelectorController>
        </Button>

        <Button name="pause" x="0" y="0" scale="0.8">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="0" y="0" image="menu.png"/>
            <Click cmd="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 10"/>
            </SelectorController>
        </Button>

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

    <Widget name="hintnext" x="0" y="126" scale="0.8">

        <HintItem name="hint1" x="0" y="0" 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"/>

            <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="0">
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="0" y="0" image="next_epizod.png"/>

            <Click handler="cur_layout" cmd="next_episode">
                <Param value="crossfade"/>
            </Click>

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

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

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

        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
        </Properties>
    </HintItem>
    
    <PuzzleUndoWidget x="0" y="348" qty="10" msg_buy="PUZ_BUY_UNDO_MSG" msg_no_mana="MSG_NO_MANA" price="price_shop_undo" scale="0.8">

        <Button name="undo" x="0" y="0">
            <Click cmd="undo" param="" handler="undo"/>
            <Image x="0" y="0" image="button_toolbar_2.png"/>
            <Image x="4" y="4" image="undo.png"/>
            <Text create_if="$device.getGameType == f2p | $device.getGameType == blitz" name="count" x="53" y="96" width="30" height="16" font="font" text="99" align="C" color="FFFFFFFF"/>

            <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>
        </Button>

        <Button name="undo_d" x="0" y="0">
            <Click cmd="noting_undo" param="" handler="undo"/>
            <Image x="0" y="0" image="button_toolbar_2_d.png"/>
            <Image x="4" y="4" image="undo.png" color="80FFFFFF"/>
            <Text create_if="$device.getGameType == f2p | $device.getGameType == blitz" name="count" x="53" y="96" width="30" height="16" font="font" text="99" align="C" color="FFFFFFFF"/>

            <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>
        </Button>

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

    <Button name="log" x="0" y="459" scale="0.8">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="log.png"/>
        <!--Click cmd="change" param="log_panel" handler="left_pane"/-->
        <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="round_ui_button_slidein_or_grow"/>
                    <EfxMove from_x="-100" from_y="459" to_x="0" to_y="459" 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" scale="0.8">
        <Image x="0" y="0" image="button_toolbar_2.png"/>
        <Image x="0" y="0" image="help.png"/>
        <Click cmd="layout" param="PuzzleHelp">
            <Param value="crossfade"/>
        </Click>
        <AnimController autoPlay="1">
            <ActionChain>
                <EfxVisible visible="0"/>
                <EfxWait delay="0.30"/>
                <ActionGroup>
                    <EfxPlaySound sound="round_ui_button_slidein_or_grow"/>
                    <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>
