<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="LabelsForFileManager">
        <param name="lefttitleid" default="0" />
        <param name="righttitleid" default="0" />
        <param name="leftinfoid" default="0" />
        <param name="rightinfoid" default="0" />
        <param name="lefttitlelabel" default="-" />
        <param name="righttitlelabel" default="-" />
        <param name="textcolor" default="$VAR[BackgroundColor]" />
        <param name="outlinecolor" default="$VAR[MainColor]" />
    
        <definition>
            <control type="group">
                <animation effect="slide" start="0,240" end="0,0" time="500">WindowOpen</animation>
                <animation effect="slide" start="0,0" end="0,240" time="500">WindowClose</animation>

                <include content="BottomRing" />
                
                <include content="BackgroundForOutlineLabel">
                    <param name="posx" value="940" />
                    <param name="posy" value="971" />
                    <param name="width" value="930" />
                    <param name="height" value="30" />
                    <param name="font" value="MediumViewFont" />
                    <param name="outlinecolor" value="$PARAM[outlinecolor]" />
                    <param name="outlinesize" value="2" />
                    <param name="align" value="right" />
                    <param name="scroll" value="true" />
                    <param name="label" value="$INFO[Control.GetLabel($PARAM[lefttitleid])]" />
                </include>
                <control type="label" id="$PARAM[lefttitleid]">
                    <posx>940</posx>
                    <posy>971</posy>
                    <width>930</width>
                    <height>30</height>
                    <textcolor>$PARAM[textcolor]</textcolor>
                    <font>MediumViewFont</font>
                    <align>right</align>
                    <scroll>true</scroll>
                    <label>$PARAM[lefttitlelabel]</label>
                </control>
                
                <include content="BackgroundForOutlineLabel">
                    <param name="posx" value="940" />
                    <param name="posy" value="930" />
                    <param name="width" value="930" />
                    <param name="height" value="30" />
                    <param name="font" value="HomeMenuDetailFont" />
                    <param name="outlinecolor" value="$PARAM[outlinecolor]" />
                    <param name="outlinesize" value="2" />
                    <param name="align" value="right" />
                    <param name="scroll" value="true" />
                    <param name="label" value="$INFO[Control.GetLabel($PARAM[leftinfoid])]" />
                </include>
                <control type="label" id="$PARAM[leftinfoid]">
                    <posx>940</posx>
                    <posy>930</posy>
                    <width>930</width>
                    <height>30</height>
                    <textcolor>$PARAM[textcolor]</textcolor>
                    <font>HomeMenuDetailFont</font>
                    <align>right</align>
                    <scroll>true</scroll>
                    <label>-</label>
                </control>
                
                <include content="BackgroundForOutlineLabel">
                    <param name="posx" value="980" />
                    <param name="posy" value="971" />
                    <param name="width" value="930" />
                    <param name="height" value="30" />
                    <param name="font" value="MediumViewFont" />
                    <param name="outlinecolor" value="$PARAM[outlinecolor]" />
                    <param name="outlinesize" value="2" />
                    <param name="align" value="left" />
                    <param name="scroll" value="true" />
                    <param name="label" value="$INFO[Control.GetLabel($PARAM[righttitleid])]" />
                </include>
                <control type="label" id="$PARAM[righttitleid]">
                    <posx>980</posx>
                    <posy>971</posy>
                    <width>930</width>
                    <height>30</height>
                    <textcolor>$PARAM[textcolor]</textcolor>
                    <font>MediumViewFont</font>
                    <align>left</align>
                    <scroll>true</scroll>
                    <label>$PARAM[righttitlelabel]</label>
                </control>
                
                <include content="BackgroundForOutlineLabel">
                    <param name="posx" value="980" />
                    <param name="posy" value="930" />
                    <param name="width" value="930" />
                    <param name="height" value="30" />
                    <param name="font" value="HomeMenuDetailFont" />
                    <param name="outlinecolor" value="$PARAM[outlinecolor]" />
                    <param name="outlinesize" value="2" />
                    <param name="align" value="left" />
                    <param name="scroll" value="true" />
                    <param name="label" value="$INFO[Control.GetLabel($PARAM[rightinfoid])]" />
                </include>
                <control type="label" id="$PARAM[rightinfoid]">
                    <posx>980</posx>
                    <posy>930</posy>
                    <width>930</width>
                    <height>30</height>
                    <textcolor>$PARAM[textcolor]</textcolor>
                    <font>HomeMenuDetailFont</font>
                    <align>left</align>
                    <scroll>true</scroll>
                    <label>-</label>
                </control>
            </control>
        </definition>
    </include>    
    
    <include name="ListForFileManager">
        <param name="listid" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="scrollid" default="0" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />
    
        <definition>
            <control type="list" id="$PARAM[listid]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>856</width>
                <height>898</height>
                <pagecontrol>$PARAM[scrollid]</pagecontrol>
                <onup>$PARAM[listid]</onup>
                <ondown>$PARAM[listid]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>

                <include content="ItemLayoutForFileManager">
                    <param name="id" value="$PARAM[listid]" />
                </include>
            </control>
        </definition>
    </include>    
    
    <include name="ScrollbarForFileManager">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onleft" default="0" />
        <param name="onright" default="0" />

        <definition>
            <control type="scrollbar" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>20</width>
                <height>800</height>
                <ondown>$PARAM[id]</ondown>
                <onup>$PARAM[id]</onup>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
            </control>
        </definition>
    </include>    
    
    <include name="ItemLayoutForFileManager">
        <param name="id" default="0" />
    
        <definition>
            <itemlayout height="100">
                <include content="NormalListItemForFileManager" />
            </itemlayout>
                    
            <focusedlayout height="100">
                <control type="group">
                    <visible>Control.HasFocus($PARAM[id])</visible>
                    <include content="FocusedListItemForFileManager" />
                </control>
                <control type="group">
                    <visible>!Control.HasFocus($PARAM[id])</visible>
                    <include content="SelectedListItemForFileManager" />
                </control>
            </focusedlayout>
        </definition>
    </include>
    
    <include name="NormalListItemForFileManager">
        <definition>
            <include content="ListItemForFileManager">
                <param name="textcolor" value="$VAR[MainColor]" />
                <param name="backgroundcolor" value="$VAR[BackgroundColor]" />
            </include>
        </definition>
    </include>
    
    <include name="FocusedListItemForFileManager">
        <definition>
            <control type="image">
                <width>856</width>
                <height>100</height>
                <aspectratio>stretch</aspectratio>
                <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-fill.png</texture>
            </control>
            <include content="ListItemForFileManager">
                <param name="textcolor" value="$VAR[BackgroundColor]" />
                <param name="backgroundcolor" value="$VAR[MainColor]" />
                <param name="scroll" value="true" />
            </include>
        </definition>
    </include>
    
    <include name="SelectedListItemForFileManager">
        <definition>
            <control type="image">
                <width>856</width>
                <height>100</height>
                <aspectratio>stretch</aspectratio>
                <texture colordiffuse="$VAR[SelectColor]" border="20">controls/rectangle-fill.png</texture>
            </control>
            <include content="ListItemForFileManager">
                <param name="textcolor" value="$VAR[BackgroundColor]" />
                <param name="backgroundcolor" value="$VAR[SelectColor]" />
            </include>
        </definition>
    </include>
    
    <include name="ListItemForFileManager">
        <param name="textcolor" default="$VAR[MainColor]" />
        <param name="backgroundcolor" default="$VAR[BackgroundColor]" />
        <param name="scroll" default="false" />
    
        <definition>
            <control type="group">
                <posx>20</posx>
                <posy>5</posy>
                <include content="SmallCircleThumbnailIcon" />
            </control>
            <include content="OutlineLabel">
                <param name="posx" value="130" />
                <param name="posy" value="10" />
                <param name="width" value="710" />
                <param name="height" value="40" />
                <param name="font" value="SmallListItemFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$PARAM[backgroundcolor]" />
                <param name="outlinesize" value="2" />
                <param name="scroll" value="$PARAM[scroll]" />
                <param name="label" value="$INFO[ListItem.Label]" />
            </include>
            <include content="OutlineLabel">
                <param name="posx" value="130" />
                <param name="posy" value="50" />
                <param name="width" value="710" />
                <param name="height" value="40" />
                <param name="font" value="DetailListItemFont" />
                <param name="textcolor" value="$PARAM[textcolor]" />
                <param name="outlinecolor" value="$PARAM[backgroundcolor]" />
                <param name="outlinesize" value="2" />
                <param name="scroll" value="$PARAM[scroll]" />
                <param name="label" value="$INFO[ListItem.Label2]" />
            </include>
        </definition>
    </include>
</includes>
