<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="RevolveMenu">
        <param name="id" default="400" />
        <param name="iconvisible" default="true" />
        <param name="texture" default="" />
        <param name="label" default="$INFO[Window.Property(MenuTitle)]" />
        <param name="rotate" default="false" />
        <param name="fallback" default="" />
        
        <definition>
            <include content="BackgroundAnimationForRevolveMenu" />
            <include content="ListForRevolveMenu">
                <param name="id" value="$PARAM[id]" />
            </include>
            <include content="RingForRevolveMenu" />
            <include content="IconForRevolveMenu">
                <param name="id" value="$PARAM[id]" />
                <param name="visible" value="$PARAM[iconvisible]" />
                <param name="fallback" value="$PARAM[fallback]" />
            </include>
            <include content="CircleImageForRevolveMenu">
                <param name="texture" value="$PARAM[texture]" />
                <param name="rotate" value="$PARAM[rotate]" />
            </include>
            <include content="TitleForRevolveMenu">
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>

    <include name="BackgroundAnimationForRevolveMenu">
        <definition>
            <control type="group">
                <visible>Integer.IsGreater(Skin.String(Background.Animation.Level),2)</visible>
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="500" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="500" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="500" reversible="false">WindowClose</animation>
                
                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="60" />
                    <param name="radius" value="1200" />
                    <param name="time" value="30000" />
                </include>
            </control>
            
            <control type="group">
                <visible>Integer.IsGreater(Skin.String(Background.Animation.Level),2)</visible>
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="500" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="500" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="500" reversible="false">WindowClose</animation>

                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="20" />
                    <param name="radius" value="800" />
                    <param name="time" value="20000" />
                </include>

                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="10" />
                    <param name="radius" value="830" />
                    <param name="time" value="17000" />
                    <param name="direction" value="false" />
                </include>
                
                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="25" />
                    <param name="radius" value="870" />
                    <param name="time" value="24000" />
                </include>

                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="25" />
                    <param name="radius" value="1160" />
                    <param name="time" value="12000" />
                    <param name="direction" value="false" />
                </include>

                <include content="OrbitCircle">
                    <param name="posx" value="-240" />
                    <param name="posy" value="750" />
                    <param name="size" value="70" />
                    <param name="radius" value="1500" />
                    <param name="time" value="42000" />
                </include>
            </control>
        </definition>
    </include>
    
    <include name="RingForRevolveMenu">
        <definition>
            <control type="group">
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="400" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="400" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="400" reversible="false">WindowClose</animation>

                <control type="image">
                    <posx>-240</posx>
                    <width>900</width>
                    <height>1080</height>
                    <texture background="true" diffuse="elements/ring-maskleft.png">white.png</texture>
                    <aspectratio scalediffuse="false">scale</aspectratio>
                    <colordiffuse>$VAR[MainColor]</colordiffuse>
                </control>

                <control type="image">
                    <posx>-240</posx>
                    <width>900</width>
                    <height>1080</height>
                    <texture>elements/ring-ringsleft.png</texture>
                </control>
            </control>
        </definition>
    </include>

    <include name="IconForRevolveMenu">
        <param name="id" default="400" />
        <param name="visible" default="true" />
        <param name="fallback" default="" />

        <definition>
            <control type="group">
                <visible>$PARAM[visible]</visible>
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="400" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="400" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="400" reversible="false">WindowClose</animation>

                <control type="image">
                    <visible>!Container($PARAM[id]).IsUpdating</visible>
                    <posx>80</posx>
                    <posy>550</posy>
                    <width>400</width>
                    <height>400</height>
                    <texture diffuse="elements/circle-mask.png" fallback="$PARAM[fallback]" background="true">$VAR[MenuThumbnail]</texture>
                    <aspectratio scalediffuse="false" aligny="top">scale</aspectratio>
                </control>
                
                <control type="image">
                    <visible>Container($PARAM[id]).IsUpdating</visible>
                    <animation effect="rotate" start="0" end="360" center="200,200" time="1200" loop="true" condition="true">conditional</animation>
                    <posx>80</posx>
                    <posy>550</posy>
                    <width>400</width>
                    <height>400</height>
                    <texture colordiffuse="$VAR[BackgroundColor]">$VAR[BusyAnimationThumbnail]</texture>
                    <aspectratio>keep</aspectratio>
                </control>
            </control>
        </definition>
    </include>

    <include name="ListForRevolveMenu">
        <param name="id" default="400" />
        
        <definition>
            <control type="group">
                <animation effect="rotate" tween="quadratic" easing="out" center="-240,750" start="180" end="360" time="1000" reversible="false">WindowOpen</animation>
                <animation effect="rotate" tween="quadratic" easing="in" center="-240,750" start="360" end="180" time="1000" reversible="false">WindowClose</animation>
                <animation effect="fade" start="100" end="30" time="500" condition="!Control.HasFocus($PARAM[id])">Conditional</animation>
                
                <control type="group">
                    <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                    <animation effect="fade" start="0" end="100" time="200" reversible="false">Visible</animation>
                    <animation effect="fade" end="0" reversible="false">Hidden</animation>
                    
                    <include content="SublabelForRevolveMenu">
                        <param name="posy" value="655" />
                        <param name="label" value="$VAR[MenuCategoryLabel]" />
                    </include>
                    <include content="SublabelForRevolveMenu">
                        <param name="posy" value="750" />
                        <param name="label" value="$VAR[MenuDetailLabel]" />
                    </include>
                </control>

                <control type="group">
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="58" />
                            <effect type="zoom" center="620,700" end="19" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="58" end="66" time="200" />
                            <effect type="zoom" center="620,700" start="10" end="6" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-7).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="58" condition="true" reversible="false">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="10" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-6).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="66" />
                            <effect type="zoom" center="620,700" end="6" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="66" end="58" time="200" />
                            <effect type="zoom" center="620,700" start="6" end="10" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-6).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="50" />
                            <effect type="zoom" center="620,700" end="19" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="50" end="58" time="200" />
                            <effect type="zoom" center="620,700" start="19" end="10" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-6).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="50" condition="true" reversible="false">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="19" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-5).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="58" />
                            <effect type="zoom" center="620,700" end="10" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="58" end="50" time="200" />
                            <effect type="zoom" center="620,700" start="10" end="19" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-5).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="40" />
                            <effect type="zoom" center="620,700" end="28" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="40" end="50" time="200" />
                            <effect type="zoom" center="620,700" start="28" end="19" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-5).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="40" condition="true" reversible="false">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="28" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-4).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="50" />
                            <effect type="zoom" center="620,700" end="19" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="50" end="40" time="200" />
                            <effect type="zoom" center="620,700" start="19" end="28" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-4).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="30" />
                            <effect type="zoom" center="620,700" end="40" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="30" end="40" time="200" />
                            <effect type="zoom" center="620,700" start="40" end="28" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-4).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="30" condition="true" reversible="false">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="40" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-3).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="40" />
                            <effect type="zoom" center="620,700" end="28" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="40" end="30" time="200" />
                            <effect type="zoom" center="620,700" start="28" end="40" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-3).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="20" />
                            <effect type="zoom" center="620,700" end="55" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="20" end="30" time="200" />
                            <effect type="zoom" center="620,700" start="55" end="40" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-3).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="20" condition="true">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="55" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-2).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="30" />
                            <effect type="zoom" center="620,700" end="40" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="30" end="20" time="200" />
                            <effect type="zoom" center="620,700" start="40" end="55" time="200" />
                        </animation>
                        <animation effect="rotate" center="-240,750" end="30" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" start="30" end="20" time="200" reversible="false">Hidden</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-2).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="10" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="10" end="20" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="55" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-2).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="10" condition="true" reversible="false">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="75" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-1).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="20" />
                            <effect type="zoom" center="620,700" end="55" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="20" end="10" time="200" />
                            <effect type="zoom" center="620,700" start="55" end="75" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-1).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="0" />
                            <effect type="fade" end="0" />
                            <effect type="zoom" center="620,700" end="100" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="0" end="10" time="200" />
                            <effect type="fade" start="0" end="100" time="200" />
                            <effect type="zoom" center="620,700" start="100" end="75" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-1).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="0" />
                            <effect type="fade" end="100" />
                            <effect type="zoom" center="620,700" end="100" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="0" end="10" time="200" />
                            <effect type="fade" start="100" end="0" time="200" />
                            <effect type="zoom" center="620,700" start="100" end="75" time="200" />
                        </animation>
                        <include content="MainElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-1).Label]" />
                        </include>
                    </control>    

                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <include content="MainElementForRevolveMenu">
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="10" />
                            <effect type="fade" end="100" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="10" end="0" time="200" />
                            <effect type="fade" start="100" end="0" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="100" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="10" />
                            <effect type="fade" end="0" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="10" end="0" time="200" />
                            <effect type="fade" start="0" end="100" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="100" time="200" />
                        </animation>
                        <include content="MainElementForRevolveMenu">
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-10" />
                            <effect type="fade" end="1000" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-10" end="0" time="200" />
                            <effect type="fade" start="100" end="0" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="100" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-10" />
                            <effect type="fade" end="0" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-10" end="0" time="200" />
                            <effect type="fade" start="0" end="100" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="100" time="200" />
                        </animation>
                        <include content="MainElementForRevolveMenu">
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="-10" condition="true">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="75" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(1).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="0" />
                            <effect type="fade" end="100" />
                            <effect type="zoom" center="620,700" end="100" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="0" end="-10" time="200" />
                            <effect type="fade" start="100" end="0" time="200" />
                            <effect type="zoom" center="620,700" start="100" end="75" time="200" />
                        </animation>
                        <include content="MainElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(1).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="0" />
                            <effect type="fade" end="0" />
                            <effect type="zoom" center="620,700" end="100" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="0" end="-10" time="200" />
                            <effect type="fade" start="0" end="100" time="200" />
                            <effect type="zoom" center="620,700" start="100" end="75" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(1).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-20" />
                            <effect type="zoom" center="620,700" end="55" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-20" end="-10" time="200" />
                            <effect type="zoom" center="620,700" start="55" end="75" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(1).Label]" />
                        </include>
                    </control>    
                        
                    <control type="group">
                        <visible>!Container($PARAM[id]).OnPrevious + !Container($PARAM[id]).OnNext</visible>
                        <animation effect="fade" start="0" end="100" time="0" delay="200" reversible="false">Visible</animation>
                        <animation effect="rotate" center="-240,750" end="-20" condition="true">Conditional</animation>
                        <animation effect="zoom" center="620,700" end="55" condition="true" reversible="false">Conditional</animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(2).Label]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-10" />
                            <effect type="zoom" center="620,700" end="75" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-10" end="-20" time="200" />
                            <effect type="zoom" center="620,700" start="75" end="55" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(2).Label]" />
                        </include>
                    </control>    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnNext</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-30" />
                            <effect type="zoom" center="620,700" end="40" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-30" end="-20" time="200" />
                            <effect type="zoom" center="620,700" start="40" end="55" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(2).Label]" />
                        </include>
                    </control>    
                    
                    <control type="group">
                        <visible>Container($PARAM[id]).OnPrevious</visible>
                        <animation type="Visible" reversible="false">
                            <effect type="rotate" center="-240,750" end="-20" />
                            <effect type="zoom" center="620,700" end="55" />
                        </animation>
                        <animation type="Hidden" reversible="false">
                            <effect type="rotate" center="-240,750" start="-20" end="-30" time="200" />
                            <effect type="zoom" center="620,700" start="55" end="40" time="200" />
                        </animation>
                        <include content="OtherElementForRevolveMenu">
                            <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(3).Label]" />
                        </include>
                    </control>    
                </control>    
            </control>    
        </definition>
    </include>
    
    <include name="CircleMenu">
        <param name="id" default="400" />
        <param name="iconvisible" default="true" />
        <param name="texture" default="" />
        <param name="label" default="$INFO[Window.Property(MenuTitle)]" />
        <param name="fallback" default="" />
        
        <definition>
            <include content="BackgroundAnimationForCircleMenu" />
            <include content="CenterIconForCircleMenu">
                <param name="id" value="$PARAM[id]" />
                <param name="fallback" value="$PARAM[fallback]" />
            </include>
            <include content="ListForCircleMenu">
                <param name="id" value="$PARAM[id]" />
            </include>
            <include content="TitleForCircleMenu">
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>
    
    <include name="BackgroundAnimationForCircleMenu">
        <definition>
        
            <control type="group">
                <animation type="WindowOpen">
                    <effect type="fade" start="0" end="100" time="500" delay="500" />
                </animation>
                <animation type="WindowClose">
                    <effect type="fade" start="100" end="0" time="500" />
                </animation>

                <control type="group">
                    <visible>Integer.IsGreater(Skin.String(Background.Animation.Level),2)</visible>
                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="45" />
                        <param name="radius" value="320" />
                        <param name="time" value="24000" />
                    </include>
                </control>
                
                <control type="group">
                    <visible>Integer.IsGreater(Skin.String(Background.Animation.Level),3)</visible>
                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="15" />
                        <param name="radius" value="380" />
                        <param name="time" value="7500" />
                        <param name="direction" value="false" />
                    </include>

                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="25" />
                        <param name="radius" value="600" />
                        <param name="time" value="9000" />
                        <param name="direction" value="false" />
                    </include>

                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="20" />
                        <param name="radius" value="630" />
                        <param name="time" value="13000" />
                    </include>

                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="35" />
                        <param name="radius" value="800" />
                        <param name="time" value="13000" />
                        <param name="direction" value="false" />
                    </include>
                    
                    <include content="OrbitCircle">
                        <param name="posx" value="320" />
                        <param name="posy" value="560" />
                        <param name="size" value="20" />
                        <param name="radius" value="840" />
                        <param name="time" value="14000" />
                    </include>
                </control>
            </control>
        </definition>
    </include>

    <include name="CenterIconForCircleMenu">
        <param name="id" default="400" />
        <param name="fallback" default="" />

        <definition>
            <control type="group">
                <control type="group">
                    <animation type="WindowOpen">
                        <effect type="fade" start="0" end="100" time="500" />
                    </animation>
                    <animation type="WindowClose">
                        <effect type="fade" start="100" end="0" time="500" />
                    </animation>

                    <posx>15</posx>
                    <posy>255</posy>
                    <include content="ShadowForHugeCircleThumbnailIcon" />
                    
                    <control type="image">
                        <width>610</width>
                        <height>610</height>
                        <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>

                    <control type="image">
                        <visible>Window.IsVisible(134)</visible>
                        <posx>40</posx>
                        <posy>40</posy>
                        <width>520</width>
                        <height>520</height>
                        <texture>circle/favourites.png</texture>
                        <aspectratio scalediffuse="false">keep</aspectratio>
                    </control>

                    <control type="image">
                        <visible>!Container($PARAM[id]).IsUpdating</visible>
                        <posx>6</posx>
                        <posy>6</posy>
                        <width>598</width>
                        <height>598</height>
                        <texture diffuse="elements/circle-mask.png" fallback="$PARAM[fallback]" background="true">$VAR[MenuThumbnail]</texture>
                        <aspectratio scalediffuse="false">scale</aspectratio>
                    </control>

                    <control type="image">
                        <visible>Container($PARAM[id]).IsUpdating</visible>
                        <animation effect="rotate" start="0" end="360" center="240,240" time="1200" loop="true" condition="true">conditional</animation>
                        <posx>60</posx>
                        <posy>60</posy>
                        <width>480</width>
                        <height>480</height>
                        <texture colordiffuse="$VAR[BackgroundColor]">icons/busy-circles.png</texture>
                        <aspectratio>keep</aspectratio>
                    </control>
                
                    <include content="OverlayForHugeCircleThumbnailIcon" />
                </control>
            </control>
        </definition>
    </include>
    
    <include name="ListForCircleMenu">
        <param name="id" default="400" />

        <definition>
            <control type="group">
                <animation type="WindowOpen">
                    <effect type="rotate" tween="quadratic" easing="out" center="320,560" start="360" end="0" time="500" />
                    <effect type="fade" start="0" end="100" time="500" />
                </animation>
                <animation type="WindowClose">
                    <effect type="rotate" tween="quadratic" easing="in" center="320,560" start="0" end="-360" time="500" />
                    <effect type="fade" start="100" end="0" time="500" />
                </animation>

                <control type="group">
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="152" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-15).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="142" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-14).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="132" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-13).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="122" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-12).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="112" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-11).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="102" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-10).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="92" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-9).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="82" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-8).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="72" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-7).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="62" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-6).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="52" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-5).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="42" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-4).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="32" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-3).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="22" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-2).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="12" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(-1).Label]" />
                    </include>

                    <control type="group">
                        <visible>!Control.HasFocus($PARAM[id])</visible>
                    
                        <include content="SublabelForCircleMenu">
                            <param name="posy" value="510" />
                            <param name="textcolor" value="$VAR[TextColor]" />
                            <param name="label" value="$VAR[MenuCategoryLabel]" />
                        </include>
                        <include content="MainElementForCircleMenu">
                            <param name="posy" value="540" />
                            <param name="textcolor" value="$VAR[TextColor]" />
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                        <include content="SublabelForCircleMenu">
                            <param name="posy" value="580" />
                            <param name="textcolor" value="$VAR[TextColor]" />
                            <param name="label" value="$VAR[MenuDetailLabel]" />
                        </include>
                    </control>
                    <control type="group">
                        <visible>Control.HasFocus($PARAM[id])</visible>
                    
                        <include content="SublabelForCircleMenu">
                            <param name="posy" value="510" />
                            <param name="textcolor" value="$VAR[MainColor]" />
                            <param name="label" value="$VAR[MenuCategoryLabel]" />
                        </include>
                        <include content="MainElementForCircleMenu">
                            <param name="posy" value="540" />
                            <param name="textcolor" value="$VAR[MainColor]" />
                            <param name="label" value="$VAR[MenuNameLabel]" />
                        </include>
                        <include content="SublabelForCircleMenu">
                            <param name="posy" value="580" />
                            <param name="textcolor" value="$VAR[MainColor]" />
                            <param name="label" value="$VAR[MenuDetailLabel]" />
                        </include>
                    </control>

                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-12" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(1).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-22" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(2).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-32" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(3).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-42" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(4).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-52" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(5).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-62" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(6).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-72" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(7).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-82" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(8).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-92" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(9).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-102" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(10).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-112" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(11).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-122" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(12).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-132" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(13).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-142" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(14).Label]" />
                    </include>
                    <include content="OtherElementForCircleMenu">
                        <param name="angle" value="-152" />
                        <param name="label" value="$INFO[Container($PARAM[id]).ListItemNoWrap(15).Label]" />
                    </include>
                </control>
            </control>        
        </definition>
    </include>
    
    <include name="OtherElementForRevolveMenu">
        <param name="angle" default="0" />
        <param name="textcolor" default="$VAR[TextColor]" />
        <param name="label" default="$VAR[MenuNameLabel]" />
    
        <definition>
            <control type="group">
                <animation effect="rotate" center="320,560" end="$PARAM[angle]" condition="true">Conditional</animation>
                
                 <include content="OutlineLabel">
                    <param name="posx" value="620" />
                    <param name="posy" value="700" />
                    <param name="width" value="2400" />
                    <param name="height" value="100" />
                    <param name="font" value="MenuOptionFont" />
                    <param name="textcolor" value="$PARAM[textcolor]" />
                    <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinesize" value="2" />
                    <param name="scroll" value="false" />
                    <param name="label" value="$PARAM[label]" />
                </include>
            </control>
        </definition>
    </include>

    <include name="MainElementForRevolveMenu">
        <param name="textcolor" default="$VAR[SecondaryColor]" />
        <param name="label" default="$VAR[MenuNameLabel]" />
    
        <definition>
            <include content="OutlineLabel">
                <param name="posx" value="620" />
                <param name="posy" value="700" />
                <param name="width" value="1280" />
                <param name="height" value="100" />
                <param name="font" value="MenuOptionFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                <param name="outlinesize" value="2" />
                <param name="scroll" value="true" />
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>
    
    <include name="SublabelForRevolveMenu">
        <param name="posy" default="655" />
        <param name="textcolor" default="$VAR[SecondaryColor]" />
        <param name="label" default="$VAR[MenuNameLabel]" />

        <definition>
            <include content="OutlineLabel">
                <param name="posx" value="622" />
                <param name="posy" value="$PARAM[posy]" />
                <param name="width" value="1280" />
                <param name="height" value="100" />
                <param name="font" value="HomeMenuDetailFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                <param name="outlinesize" value="2" />
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>

    <include name="OtherElementForCircleMenu">
        <param name="posy" default="540" />
        <param name="textcolor" default="$VAR[TextColor]" />
        <param name="angle" default="0" />
        <param name="label" default="$VAR[MenuNameLabel]" />
    
        <definition>
            <control type="group">
                <animation effect="rotate" center="320,560" end="$PARAM[angle]" condition="true">Conditional</animation>
            
                <include content="OutlineLabel">
                    <param name="posx" value="680" />
                    <param name="posy" value="$PARAM[posy]" />
                    <param name="width" value="1400" />
                    <param name="height" value="40" />
                    <param name="font" value="SmallListItemFont" />
                    <param name="textcolor" value="$PARAM[textcolor]" />
                    <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinesize" value="2" />
                    <param name="scroll" value="false" />
                    <param name="label" value="$PARAM[label]" />
                </include>
            </control>
        </definition>
    </include>
    
    <include name="MainElementForCircleMenu">
        <param name="posy" default="540" />
        <param name="textcolor" default="$VAR[MainColor]" />
        <param name="label" default="$VAR[MenuNameLabel]" />
    
        <definition>
            <include content="OutlineLabel">
                <param name="posx" value="680" />
                <param name="posy" value="$PARAM[posy]" />
                <param name="width" value="1160" />
                <param name="height" value="40" />
                <param name="font" value="BigViewFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                <param name="outlinesize" value="2" />
                <param name="scroll" value="true" />
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>

    <include name="SublabelForCircleMenu">
        <param name="posy" default="510" />
        <param name="textcolor" default="$VAR[MainColor]" />
        <param name="label" default="$VAR[MenuNameLabel]" />
    
        <definition>
            <include content="OutlineLabel">
                <param name="posx" value="682" />
                <param name="posy" value="$PARAM[posy]" />
                <param name="width" value="1160" />
                <param name="height" value="30" />
                <param name="font" value="HomeMenuDetailFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                <param name="outlinesize" value="2" />
                <param name="label" value="$PARAM[label]" />
            </include>
        </definition>
    </include>

    <include name="CircleImageForRevolveMenu">
        <param name="texture" default="" />
        <param name="rotate" default="false" />

        <definition>
            <control type="group">
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="400" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="400" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="400" reversible="false">WindowClose</animation>

                <control type="group">
                    <animation effect="rotate" center="51, 661" start="360" end="0" time="240000" delay="0" loop="true" condition="$PARAM[rotate]">Conditional</animation>

                    <control type="image">
                        <posx>-280</posx>
                        <posy>330</posy>
                        <width>662</width>
                        <height>662</height>
                        <texture colordiffuse="$VAR[ShadowmaskColor]" background="true">$PARAM[texture]</texture>
                        <aspectratio scalediffuse="false" align="center" aligny="center">keep</aspectratio>
                        <fadetime>500</fadetime>
                </control>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="TitleForRevolveMenu">
        <param name="label" default="" />
    
        <definition>
            <control type="label">
                <animation effect="slide" tween="quadratic" easing="out" start="-1000,0" end="0,0" time="400" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="400" tween="quadratic" easing="in" start="0,0" end="-1000,0" time="400" reversible="false">WindowClose</animation>

                <posx>40</posx>
                <posy>100</posy>
                <height>40</height>
                <width>800</width>
                <font>MenuTitleFont</font>
                <align>right</align>
                <scroll>false</scroll>
                <textcolor>$VAR[BackgroundColor]</textcolor>
                <angle>90</angle>
                <label>$PARAM[label]</label>
            </control>
        </definition>
    </include>

    <include name="TitleForCircleMenu">
        <param name="label" default="" />
    
        <definition>
            <control type="group">
                <animation effect="slide" tween="quadratic" easing="out" start="1000,0" end="0,0" time="400" reversible="false">WindowOpen</animation>
                <animation effect="slide" delay="400" tween="quadratic" easing="in" start="0,0" end="1000,0" time="400" reversible="false">WindowClose</animation>

                <include content="OutlineLabel">
                    <param name="posx" value="1900" />
                    <param name="posy" value="20" />
                    <param name="width" value="800" />
                    <param name="height" value="40" />
                    <param name="font" value="MenuTitleFont" />
                    <param name="textcolor" value="$VAR[TextColor]" />
                    <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinesize" value="2" />
                    <param name="scroll" value="false" />
                    <param name="align" value="right" />
                    <param name="label" value="$PARAM[label]" />
                </include>
            </control>
        </definition>
    </include>

    <include name="InvisibleVerticalListItemsForMenu">
        <definition>
            <itemlayout width="1920" height="125">
                <control type="group">
                    <visible>Skin.HasSetting(Debug.ListBorder.Visible)</visible>
                
                    <control type="image">
                        <width>1920</width>
                        <height>125</height>
                        <texture colordiffuse="$VAR[TextColor]" border="20">controls/rectangle-clear.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                
                    <include content="OutlineLabel">
                        <param name="width" value="1900" />
                        <param name="height" value="125" />
                        <param name="font" value="DebugFont" />
                        <param name="textcolor" value="$VAR[TextColor]" />
                        <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                        <param name="outlinesize" value="2" />
                        <param name="align" value="right" />
                        <param name="label" value="$INFO[ListItem.Label]" />
                    </include>
                </control>
            </itemlayout>

            <focusedlayout width="1920" height="330">
                <control type="group">
                    <visible>Skin.HasSetting(Debug.ListBorder.Visible)</visible>

                    <control type="image">
                        <width>1920</width>
                        <height>330</height>
                        <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-clear.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                
                    <include content="OutlineLabel">
                        <param name="width" value="1900" />
                        <param name="height" value="330" />
                        <param name="font" value="DebugFont" />
                        <param name="textcolor" value="$VAR[MainColor]" />
                        <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                        <param name="outlinesize" value="2" />
                        <param name="align" value="right" />
                        <param name="label" value="$INFO[ListItem.Label]" />
                    </include>
                </control>
            </focusedlayout>
        </definition>
    </include>
    
    <include name="InvisibleHorizontalListItemsForMenu">
        <definition>
            <itemlayout width="300" height="1080">
                <control type="group">
                    <visible>Skin.HasSetting(Debug.ListBorder.Visible)</visible>
                        
                    <control type="image">
                        <width>300</width>
                        <height>1080</height>
                        <texture colordiffuse="$VAR[TextColor]" border="20">controls/rectangle-clear.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                
                    <include content="OutlineLabel">
                        <param name="posy" value="20" />
                        <param name="width" value="300" />
                        <param name="height" value="40" />
                        <param name="font" value="DebugFont" />
                        <param name="textcolor" value="$VAR[TextColor]" />
                        <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                        <param name="outlinesize" value="2" />
                        <param name="align" value="center" />
                        <param name="label" value="$INFO[ListItem.Label]" />
                    </include>
                </control>
            </itemlayout>

            <focusedlayout width="720" height="1080">
                <control type="group">
                    <visible>Skin.HasSetting(Debug.ListBorder.Visible)</visible>
                        
                    <control type="image">
                        <width>720</width>
                        <height>1080</height>
                        <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-clear.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                
                    <include content="OutlineLabel">
                        <param name="posy" value="20" />
                        <param name="width" value="720" />
                        <param name="height" value="40" />
                        <param name="font" value="DebugFont" />
                        <param name="textcolor" value="$VAR[MainColor]" />
                        <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                        <param name="outlinesize" value="2" />
                        <param name="align" value="center" />
                        <param name="label" value="$INFO[ListItem.Label]" />
                    </include>
                </control>
            </focusedlayout>            
        </definition>
    </include>
</includes>
