<?xml version="1.0" encoding="UTF-8"?>
<includes>

  <include name="List">
    <param name="height">75</param>
    <param name="home_layout_id">14</param>
    <definition>
      <focusedlayout height="$PARAM[height]" infoupdate="300">
        <control type="group">
          <animation effect="fade" start="100" end="0" time="0">UnFocus</animation>
        </control>
        <include content="ListItem">
          <param name="id" value="$PARAM[id]" />
          <param name="focused" value="true" />
          <param name="list_width" value="$PARAM[list_width]" />
          <param name="img_top" value="$PARAM[img_top]" />
          <param name="img_bottom" value="$PARAM[img_bottom]" />
          <param name="img_width" value="$PARAM[img_width]" />
          <param name="img_left" value="$PARAM[img_left]" />
          <param name="focused_font" value="$PARAM[focused_font]" />
        </include>
      </focusedlayout>
      <itemlayout height="$PARAM[height]">
        <include content="ListItem">
          <param name="id" value="$PARAM[id]" />
          <param name="list_width" value="$PARAM[list_width]" />
          <param name="unfocused_font" value="$PARAM[unfocused_font]" />
        </include>
      </itemlayout>
    </definition>
  </include>

  <include name="CastItem">
    <definition>
      <itemlayout width="540" height="104">
        <include content="ListItemTwoLine">
          <param name="id" value="$PARAM[id]" />
          <param name="MainLabel" value="$PARAM[MainLabel]" />
          <param name="SubLabel" value="$PARAM[SubLabel]" />
        </include>
      </itemlayout>
      <focusedlayout width="540" height="104">
        <include content="ListItemTwoLine">
          <param name="id" value="$PARAM[id]" />
          <param name="focused" value="true" />
          <param name="MainLabel" value="$PARAM[MainLabel]" />
          <param name="SubLabel" value="$PARAM[SubLabel]" />
        </include>
      </focusedlayout>
    </definition>
  </include>

  <include name="MoreInfoItems">
    <!-- <param name="id" default="53" />
    <param name="hub" default="0" />
    <param name="level" default="0" /> -->
    <definition>
      <control type="list" id="$PARAM[id]">
        <itemlayout width="540" height="104">
          <include content="ListItemTwoLine">
            <param name="id" value="$PARAM[id]" />
            <param name="MainLabel" value="$INFO[ListItem.Label]" />
            <param name="SubLabel" value="$INFO[ListItem.Label2]" />
          </include>
        </itemlayout>
        <focusedlayout width="540" height="104">
          <include content="ListItemTwoLine">
            <param name="id" value="$PARAM[id]" />
            <param name="focused" value="true" />
            <param name="MainLabel" value="$INFO[ListItem.Label]" />
            <param name="SubLabel" value="$INFO[ListItem.Label2]" />
          </include>
        </focusedlayout>
        <content>$PARAM[content]</content>
      </control>
    </definition>
  </include>

  <include name="ListItem">
    <param name="focused">false</param>
    <param name="list_width">380</param>
    <param name="img_top">0</param>
    <param name="img_bottom">7</param>
    <param name="img_width">5</param>
    <param name="img_left">47</param>
    <!-- <param name="img_left">47</param> -->
    <param name="focused_font">font52_title</param>
    <param name="unfocused_font">font37</param>
    <definition>
      <control type="group">
        <control type="image">
          <top>$PARAM[img_top]</top>
          <bottom>$PARAM[img_bottom]</bottom>
          <width>$PARAM[img_width]</width>
          <left>$PARAM[img_left]</left>
          <texture colordiffuse="$VAR[MenuSelectorColor]">colors/white.png</texture>
          <visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
        </control>
        <control type="group">
          <control type="label">
            <left>65</left>
            <top>0</top>
            <height>70</height>
            <!-- <width>670</width> -->
            <width>$PARAM[list_width]</width>
            <aligny>center</aligny>
            <font>$PARAM[unfocused_font]</font>
            <textcolor>darkgrey</textcolor>
            <label>$VAR[MenuCaseVar]</label>
            <shadowcolor>text_shadow</shadowcolor>
            <visible>!Control.HasFocus($PARAM[id]) | !$PARAM[focused]</visible>
          </control>
          <control type="label">
            <left>65</left>
            <top>0</top>
            <height>70</height>
            <!-- <width>670</width> -->
            <width>$PARAM[list_width]</width>
            <aligny>center</aligny>
            <font>$PARAM[focused_font]</font>
            <label>$VAR[MenuCaseVar]</label>
            <textcolor>unfocused_text</textcolor>
            <!-- <textcolor>FFFFFFFF</textcolor> -->
            <shadowcolor>text_shadow</shadowcolor>
            <visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
            <scrollspeed>150</scrollspeed>
            <scroll>$PARAM[focused]</scroll>
          </control>
          <control type="label">
            <left>65</left>
            <top>0</top>
            <height>70</height>
            <!-- <width>670</width> -->
            <width>$PARAM[list_width]</width>
            <aligny>center</aligny>
            <font>$PARAM[unfocused_font]</font>
            <textcolor>darkgrey</textcolor>
            <label>$VAR[MenuCaseVar]</label>
            <shadowcolor>text_shadow</shadowcolor>
            <visible>!Control.HasFocus($PARAM[id]) | !$PARAM[focused]</visible>
          </control>
        </control>
      </control>
    </definition>
  </include>

  <include name="ListItemTwoLine">
  <param name="focused" default="false" />
    <definition>
      <control type="group">
        <control type="image">
          <visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
          <top>15</top>
          <bottom>10</bottom>
          <width>5</width>
          <texture colordiffuse="$VAR[MenuSelectorColor]">colors/white.png</texture>
        </control>
        <control type="group">
          <control type="label">
            <visible>!Control.HasFocus($PARAM[id]) | !$PARAM[focused]</visible>
            <top>12</top>
            <height>34</height>
            <left>20</left>
            <right>0</right>
            <aligny>top</aligny>
            <font>font32</font>
            <textcolor>darkgrey</textcolor>
            <label>$PARAM[MainLabel]</label>
          </control>
          <control type="label">
            <visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
            <top>12</top>
            <height>34</height>
            <left>20</left>
            <right>0</right>
            <aligny>top</aligny>
            <font>font37</font>
            <textcolor>white</textcolor>
            <label>[B]$PARAM[MainLabel][/B]</label>
            <scroll>true</scroll>
            <scrollspeed>75</scrollspeed>
          </control>
        </control>
        <control type="label">
          <animation effect="slide" start="0,0" end="32,0" time="0" condition="[$EXP[isMovie] | $EXP[isTVShow] | $EXP[isSeason] | $EXP[isEpisode]]">Conditional</animation>
          <bottom>24</bottom>
          <height>25</height>
          <left>20</left>
          <right>0</right>
          <aligny>top</aligny>
          <font>font27</font>
          <textcolor>darkgrey</textcolor>
          <label>$PARAM[SubLabel]</label>
          <visible>!Control.HasFocus($PARAM[id]) | !$PARAM[focused]</visible>
        </control>
        <control type="label">
          <animation effect="slide" start="0,0" end="32,0" time="0" condition="[$EXP[isMovie] | $EXP[isTVShow] | $EXP[isSeason] | $EXP[isEpisode]]">Conditional</animation>
          <bottom>24</bottom>
          <height>25</height>
          <left>20</left>
          <right>0</right>
          <aligny>top</aligny>
          <font>font27</font>
          <textcolor>darkgrey</textcolor>
          <label>$PARAM[SubLabel]</label>
          <visible>Control.HasFocus($PARAM[id]) + $PARAM[focused]</visible>
          <scroll>true</scroll>
          <scrollspeed>75</scrollspeed>
        </control>
      </control>
    </definition>
  </include>

</includes>