<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>604</id>
<defaultcontrol>5</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<define>#header.label:724</define>	
<controls>

	<control>
		<description>BG</description>
		<type>image</type>
		<id>1</id>
		<width>1920</width>
		<height>1080</height>
		<texture>background.png</texture>
	</control>

  <control>
  	<description>BACKGROUND PANEL</description>
  	<type>image</type>
  	<id>0</id>
		<posX>10</posX>
		<posY>145</posY>
		<width>1903</width>
		<height>897</height>
  	<texture>panel_tv.png</texture>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
  </control>
	
	<control>
		<description>Number of Files Label</description>
		<type>label</type>
		<id>12</id>
		<posX>-2000</posX>
		<label>#itemcount</label>
	</control>
	
	<control>
		<description>Number of Files Label</description>
		<type>label</type>
		<id>1</id>
		<label>#currentmodule: #itemcount</label>
	  <posX>96</posX>
    <posY>998</posY>
    <align>left</align>
    <font>TitanLight12</font>
    <textcolor>000000</textcolor>
		<visible>Control.IsVisible(10)</visible>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</control>
	
	<control Style="smallTitle">
		<description>Selected item Label</description>
		<type>fadelabel</type>
		<id>1</id>
		<posX>510</posX>
		<posY>1015</posY>
		<label>#selecteditem</label>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</control>
  
  <control>
  	<id>0</id>
    <type>image</type>
    <posX>66</posX>
    <posY>34</posY>
    <width>61</width>
    <height>57</height>
    <texture>icon_tv.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
  </control>
	
	<import>common.time.xml</import>

	<control>
		<type>group</type>
		<description>group element</description>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
    <dimColor>ffffffff</dimColor>
		<posX>99</posX>
		<posY>219</posY>
		<layout>GridLayout(2, 0, 5, 7, 1)</layout>
		
    	<control>
      	<description>Sort by Name/Date/Channel</description>
        <type>sortbutton</type>
        <id>2</id>
        <label>620</label>
        <onleft>10</onleft>
        <onright>19</onright>
        <onup>17</onup>
        <ondown>20</ondown>
				<textcolor>FF000000</textcolor>
				<textcolorNoFocus>ffffffff</textcolorNoFocus>
      </control>

      <control>
      	<description>View by Title/Genre</description>
        <type>button</type>
        <id>20</id>
        <textcolor>ffffffff</textcolor>
        <colordiffuse>ffffffff</colordiffuse>
        <label>1522</label>
        <onleft>10</onleft>
        <onright>21</onright>
        <onup>2</onup>
        <ondown>7</ondown>
				<textcolor>FF000000</textcolor>
				<textcolorNoFocus>ffffffff</textcolorNoFocus>
      </control>

      <control>
      	<description>Starts with</description>
        <type>selectbutton</type>
        <id>7</id>
        <label>872</label>
        <onleft>7</onleft>
        <onright>11</onright>
        <onup>20</onup>
        <ondown>19</ondown>
				<textcolor>FF000000</textcolor>
				<textcolorNoFocus>ffffffff</textcolorNoFocus>
      </control>

      <control>
      	<description>Search</description>
        <type>button</type>
        <id>19</id>
        <label>2051</label>
        <onup>7</onup>
        <ondown>21</ondown>
        <onleft>2</onleft>
        <onright>11</onright>
				<textcolor>FF000000</textcolor>
				<textcolorNoFocus>ffffffff</textcolorNoFocus>
      </control>

      <control>
      	<description>Search Description</description>
        <type>button</type>
        <id>21</id>
        <label>1523</label>
        <onup>19</onup>
        <ondown>2</ondown>
        <onleft>20</onleft>
        <onright>11</onright>
				<textcolor>FF000000</textcolor>
				<textcolorNoFocus>ffffffff</textcolorNoFocus>
      </control>

	</control>

	<!--            :: Listview Lines ::            -->

  <control>
  	<description>List Lines</description>
    <type>image</type>
    <id>1</id>
  	<posX>1018</posX>
  	<posY>273</posY>
    <width>811</width>
    <height>618</height>
    <texture>list_lines_tv.png</texture>
  	<animation effect="fade" time="250">WindowOpen</animation>
  	<animation effect="fade" time="250">WindowClose</animation>
  </control>

	<control>
		<description>listcontrol</description>
		<type>listcontrol</type>
		<id>10</id>
		<posX>918</posX>
		<posY>219</posY>
		<height>800</height>
		<width>943</width>
    <onleft>2</onleft>
    <onright>2</onright>
    <onup>2</onup>
    <ondown>2</ondown>
		<scrollOffset>1</scrollOffset>
		<PinIconHeight>45</PinIconHeight>
		<PinIconWidth>75</PinIconWidth>
		<PinIconXOff>35</PinIconXOff>
		<PinIconYOff>5</PinIconYOff>
		<itemWidth>40</itemWidth>
		<itemHeight>30</itemHeight>
		<textureFocus>listcontrol_item_selected_tv.png</textureFocus>
		<textureNoFocus>-</textureNoFocus>
		<IconXOff>-2000</IconXOff>
		<IconYOff>13</IconYOff>				
		<textXOff>50</textXOff>
    <textXOff2>914</textXOff2>
		<keepaspectratio>no</keepaspectratio>
		<spinCanFocus>no</spinCanFocus>
		<dimColor>ffffffff</dimColor>
    <spinPosX>1832</spinPosX>
    <spinPosY>950</spinPosY>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>			
	</control>
			
	<control>
		<description>listcontrol</description>
		<type>listcontrol</type>
		<id>11</id>
		<posX>918</posX>
		<posY>219</posY>
		<height>800</height>
		<width>943</width>
    <onleft>19</onleft>
    <onright>2</onright>
    <onup>2</onup>
    <ondown>2</ondown>
		<scrollOffset>1</scrollOffset>
		<PinIconHeight>45</PinIconHeight>
		<PinIconWidth>75</PinIconWidth>
		<PinIconXOff>35</PinIconXOff>
		<PinIconYOff>5</PinIconYOff>
		<itemWidth>40</itemWidth>
		<itemHeight>30</itemHeight>
		<textureFocus>listcontrol_item_selected_tv.png</textureFocus>
		<textureNoFocus>-</textureNoFocus>
		<IconXOff>-2000</IconXOff>
		<IconYOff>13</IconYOff>				
		<textXOff>50</textXOff>
    <textXOff2>914</textXOff2>
		<keepaspectratio>no</keepaspectratio>
		<spinCanFocus>no</spinCanFocus>
		<dimColor>ffffffff</dimColor>
    <spinPosX>1832</spinPosX>
    <spinPosY>950</spinPosY>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>					
	</control>

	<control>
		<description>Current program title</description>
		<type>fadelabel</type>
		<id>13</id>
	  <posX>312</posX>
	  <posY>457</posY>
    <width>595</width>
		<font>fontB16</font>
	  <shadowAngle>120</shadowAngle>
	  <shadowDistance>2</shadowDistance>
	  <shadowColor>FF000000</shadowColor>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
		<label>#TV.Search.Title</label>
    <visible>control.hasfocus(10) | control.hasfocus(11)</visible>
	</control>
	
	<control>
		<description>Current channel</description>
		<type>label</type>
		<id>16</id>
		<posX>-2000</posX>
		<posY>540</posY>
		<label>#TV.Search.Channel</label>
		<font>TitanLight12</font>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
		<textcolor>FF987e60</textcolor>
	</control>
	
	<control>
		<description>Current program time</description>
		<type>label</type>
		<id>14</id>
		<posX>-2000</posX>
		<posY>514</posY>
		<width>595</width>
	  <font>TitanLight14</font>
	  <textcolor>FF987e60</textcolor>
	  <shadowAngle>120</shadowAngle>
	  <shadowDistance>2</shadowDistance>
	  <shadowColor>FF000000</shadowColor>
	  <animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
		<label>#TV.Search.Time</label>
    <visible>control.hasfocus(10) | control.hasfocus(11)</visible>
	</control>

	<control>
		<description>Current program time</description>
		<type>fadelabel</type>
		<id>1</id>
		<posX>312</posX>
		<posY>514</posY>
		<width>595</width>
	  <font>TitanLight14</font>
	  <textcolor>FF987e60</textcolor>
	  <shadowAngle>120</shadowAngle>
	  <shadowDistance>2</shadowDistance>
	  <shadowColor>FF000000</shadowColor>
	  <animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
		<label>#TV.Search.Channel / #TV.Search.Time</label>
    <visible>Control.HasThumb(60) + control.hastext(14) + control.hastext(16)</visible>
	</control>

	<control>
		<description>Description1</description>
		<type>textboxscrollup</type>
		<id>15</id>
		<posX>99</posX>
		<posY>580</posY>
		<width>780</width>
		<height>375</height>
    <lineSpacing>0.92</lineSpacing>
		<label>#TV.Search.Description</label>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
    <visible>control.hasfocus(10) | control.hasfocus(11)</visible>
	</control>

	<control>
		<description>genre</description>
		<type>label</type>
		<id>17</id>
		<posX>-2000</posX>
		<posY>520</posY>
		<label>#TV.Search.Genre</label>
		<align>right</align>
		<font>font12</font>
		<textcolor>FFB2D4F5</textcolor>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</control>

	<control>
		<id>0</id>
		<type>image</type>
		<posX>96</posX>
		<posY>442</posY>
		<width>187</width>
		<height>119</height>
		<texture>tv_logo_bg.png</texture>
		<visible>Control.HasThumb(60)+!string.equals(#selecteditem,..)</visible>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</control>
	
	<control>
		<id>60</id>
		<type>image</type>
		<posX>145</posX>
		<posY>457</posY>
		<width>90</width>
		<height>90</height>
		<texture>#selectedthumb</texture>
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</control>	

</controls>
</window>
