<?xml version="1.0" ?>
<FinalTemplateCollection>
    <Template templateName="GameFieldHintTemplate">
        <ExpandingControl hideByClick="true">
            <position x="[x]" y="[y]" />
            <AlphaChanger>
                <alpha value="0.0" />
                <alpha value="1.0" />
            </AlphaChanger>
            <ScaleChanger>
                <scale value="0.5" />
                <scale value="1.1" />
                <scale value="1.0" />
            </ScaleChanger>
            <pause name="GameField" />
            <directArrow x="[arrowX]" y="[arrowY]" angle="[angle]" textureId="tutorial_[arrow]" />
            <resizeable textureId="tip2_panel" height="[height]" />
            <messageReceiver name="GameFieldHint" />
            <onClose receiver="null" message="null" />
            <children>
                <StaticTextControl>
                    <position x="[textX]" y="[textY]" />
                    <div fontName="White_14" />
                </StaticTextControl>
                <CheckBoxControl>
                    <position x="78" y="41" />
                    <textures uncheckedNormalId="tip_sh_unchecked_normal" uncheckedActiveId="tip_sh_unchecked_active" checkedNormalId="tip_sh_checked_normal" checkedActiveId="tip_sh_checked_active" start="checked" />
                    <variable name="Show game field hints" mode="local" defaultValue="true" />
                </CheckBoxControl>
                <MessageButtonControl>
                    <position x="111" y="-30" />
                    <textures normalId="ok_normal" activeId="ok_active" pressedId="ok_pressed" />
                    <message value="hide" receiver="GameFieldHint" />
                </MessageButtonControl>
            </children>
        </ExpandingControl>
    </Template>
    <Template templateName="ShopTipsTemplate">
        <ExpandingControl visibleTime="[visibleTime]" hideByClick="false">
            <position x="[x]" y="[y]" />
            <PathMoverForMessages>
                <point x="-250" y="0" />
                <point x="10" y="0" />
                <point x="0" y="0" />
            </PathMoverForMessages>
            <resizeable textureId="tip1_panel" height="[height]" />
            <messageReceiver name="ShopTips" />
            <onClose receiver="post:[parent]" message="erase bottom child" />
            <children>
                <StaticTextControl>
                    <position x="155" y="[textY]" />
                    <div fontName="White_14" />
                </StaticTextControl>
                <StaticTextControl>
                    <position x="155" y="[titleY]" />
                    <div fontName="Orange_17">
                        <line resourceName="Tip" />
                    </div>
                </StaticTextControl>
                <CheckBoxControl>
                    <position x="78" y="41" />
                    <textures uncheckedNormalId="tip_sh_unchecked_normal" uncheckedActiveId="tip_sh_unchecked_active" checkedNormalId="tip_sh_checked_normal" checkedActiveId="tip_sh_checked_active" start="checked" />
                    <variable name="Show shop tips" mode="local" defaultValue="true" />
                </CheckBoxControl>
                <MessageButtonControl>
                    <position x="111" y="-30" />
                    <textures normalId="ok_normal" activeId="ok_active" pressedId="ok_pressed" />
                    <message value="hide" receiver="ShopTips" />
                </MessageButtonControl>
            </children>
        </ExpandingControl>
    </Template>
    <Template templateName="SpecialMessageTemplate">
        <ExpandingControl visibleTime="[visibleTime]" hideByClick="false">
            <position x="[x]" y="[y]" />
            <PathMoverForMessages>
                <point x="-250" y="0" />
                <point x="10" y="0" />
                <point x="0" y="0" />
            </PathMoverForMessages>
            <resizeable textureId="tip1_panel" height="[height]" />
            <messageReceiver name="SpecialMessage" />
            <onClose receiver="post:[parent]" message="erase bottom child" />
            <children>
                <StaticTextControl>
                    <position x="[textX]" y="[textY]" />
                    <div fontName="White_14" />
                </StaticTextControl>
                <CheckBoxControl>
                    <position x="78" y="41" />
                    <textures uncheckedNormalId="tip_sh_unchecked_normal" uncheckedActiveId="tip_sh_unchecked_active" checkedNormalId="tip_sh_checked_normal" checkedActiveId="tip_sh_checked_active" start="checked" />
                    <variable name="Show shop tips" mode="local" defaultValue="true" />
                </CheckBoxControl>
                <MessageButtonControl>
                    <position x="111" y="-30" />
                    <textures normalId="ok_normal" activeId="ok_active" pressedId="ok_pressed" />
                    <message value="hide" receiver="SpecialMessage" />
                </MessageButtonControl>
                <StaticTextControl>
                    <position x="155" y="[titleY]" />
                    <div fontName="Orange_17">
                        <line resourceName="Tip" />
                    </div>
                </StaticTextControl>
            </children>
        </ExpandingControl>
    </Template>
</FinalTemplateCollection>
