<window>
  <id>3003</id>
  <defaultcontrol>250</defaultcontrol>
  <type>window</type>
  <coordinates>
    <system>1</system>
    <posx>0</posx>
    <posy>0</posy>
  </coordinates>

  <controls>
    <!-- ============================================= -->
    <!--   S C R E E N       B A C K G R O U N D       -->          
    <!-- ============================================= -->              

    <!-- Copy of CommonBackground -->
    <control type="image">
      <description>background image</description>
      <posx>0</posx>
      <posy>0</posy>
      <width>1280</width>
      <height>720</height>
      <texture>bg.png</texture>
    </control>

    <control type="group">
        <description>Content Group</description>
        <!-- Copy Window_OpenClose_Right_Panel_Animation -->
        <animation effect="fade" time="200" condition="Skin.HasSetting(Animate_Skin)">WindowOpen</animation>
        <animation effect="fade" time="200" condition="Skin.HasSetting(Animate_Skin)">WindowClose</animation>
        <animation effect="slide" start="1030,0" end="0,0" time="300" tween="quadratic" easing="out" condition="!Skin.HasSetting(Animate_Skin)">WindowOpen</animation>
        <animation effect="slide" end="1030,0" start="0,0" time="300" tween="quadratic" easing="out" condition="!Skin.HasSetting(Animate_Skin)">WindowClose</animation>

        <!-- ============================================= -->
        <!--   C O N T E N T     B A C K G R O U N D       -->          
        <!-- ============================================= -->              
      
        <!-- Copy of ContentPanel -->
        <control type="image">
            <posx>265</posx>
            <posy>100</posy>
            <width>1015</width>
            <height>580</height>
            <texture border="50,0,0,45">vpanel1.png</texture>
        </control>

        <control type="group">
            <posx>305</posx>
            <posy>140</posy>
            
<!-- tuners table anchor -->
            
            <control type="group">
                <visible>true</visible>
                <posx>0</posx>
                <posy>300</posy>
    
                <!-- ============================================= -->
                <!-- Tuners Table Header                           -->          
                <!-- ============================================= -->              
                <control type="image">
                    <description>table header</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>900</width>
                    <height>40</height>
                    <texture flipx="true">mb-header.png</texture>
                </control>
                
                <control type="label">
                    <description>tuner name</description>
                    <posx>10</posx>
                    <posy>0</posy>
                    <width>200</width>
                    <height>35</height>
                    <font>font12</font>
                    <textcolor>ffddddff</textcolor>
                    <selectedcolor>FFe2ff43</selectedcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>SCRIPT310</label>
                </control>
        
                <control type="label">
                    <description>tuner status</description>
                    <posx>180</posx>
                    <posy>0</posy>
                    <width>500</width>
                    <height>35</height>
                    <font>font12</font>
                    <textcolor>ffddddff</textcolor>
                    <selectedcolor>FFe2ff43</selectedcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>SCRIPT311</label>
                </control>
        
                <!-- ============================================= -->
                <!-- Tuners Table                                  -->          
                <!-- ============================================= -->              
        
                <control type="image">
                    <description>tuners table background</description>
                    <posx>0</posx>
                    <posy>30</posy>
                    <width>900</width>
                    <height>65</height>
                    <colordiffuse>66FFFFFF</colordiffuse>
                    <texture border="5">black-back.png</texture>
                </control>
        
                <control type="list" id="249">
                    <posx>0</posx>
                    <posy>35</posy>
                    <width>900</width>
                    <height>60</height>
        <!--            <onleft>2000</onleft>-->
        <!--            <onright>6000</onright>-->
        <!--            <onup>600</onup>-->
        <!--            <ondown>600</ondown>-->
                    <viewtype label="Tuners">wide</viewtype>
                    <scrolltime>0</scrolltime>
                    <preloaditems>10</preloaditems>
        
                    <itemlayout height="30">
        
                        <!-- 
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>900</width>
                            <height>30</height>
                            <texture border="3">input-nofocus.png</texture>
                        </control>
                        -->
                        
                        <control type="label">
                            <posx>10</posx>
                            <posy>0</posy>
                            <width>150</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(tuner)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                        <control type="label">
                            <posx>180</posx>
                            <posy>0</posy>
                            <width>710</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(status)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
        
                    </itemlayout>
                    
                    <focusedlayout height="30">
                    
                        <!-- 
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>900</width>
                            <height>30</height>
                            <texture border="3">input-nofocus.png</texture>
                        </control>
                        -->
        
                        <control type="label">
                            <posx>10</posx>
                            <posy>0</posy>
                            <width>150</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(tuner)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                        <control type="label">
                            <posx>180</posx>
                            <posy>0</posy>
                            <width>710</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(status)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                    </focusedlayout>
                </control>
            </control>
    
<!-- jobs table anchor -->
    
            <control type="group">
                <visible>true</visible>
                <posx>0</posx>
                <posy>410</posy>
                
                <!-- ============================================= -->
                <!-- Jobs Table Header                             -->          
                <!-- ============================================= -->              
        
                <control type="image">
                    <description>jobs table header</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>900</width>
                    <height>40</height>
                    <texture flipx="true">mb-header.png</texture>
                </control>
                
                <control type="label">
                    <description>job name</description>
                    <posx>10</posx>
                    <posy>0</posy>
                    <width>200</width>
                    <height>35</height>
                    <font>font12</font>
                    <textcolor>ffddddff</textcolor>
                    <selectedcolor>FFe2ff43</selectedcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>SCRIPT312</label>
                </control>
                <control type="label">
                    <description>Job status</description>
                    <posx>90</posx>
                    <posy>0</posy>
                    <width>500</width>
                    <height>35</height>
                    <font>font12</font>
                    <textcolor>ffddddff</textcolor>
                    <selectedcolor>FFe2ff43</selectedcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>SCRIPT311</label>
                </control>
        
                <!-- ============================================= -->
                <!-- Jobs Table                                    -->          
                <!-- ============================================= -->              
        
                <control type="image">
                    <description>jobs table header screen</description>
                    <posx>0</posx>
                    <posy>30</posy>
                    <width>900</width>
                    <height>65</height>
                    <colordiffuse>66FFFFFF</colordiffuse>
                    <texture border="5">black-back.png</texture>
                </control>
        
                <control type="list" id="248">
                    <posx>0</posx>
                    <posy>35</posy>
                    <width>900</width>
                    <height>60</height>
        <!--            <onleft>2000</onleft>-->
        <!--            <onright>6000</onright>-->
        <!--            <onup>600</onup>-->
        <!--            <ondown>600</ondown>-->
                    <viewtype label="Jobs">wide</viewtype>
                    <scrolltime>0</scrolltime>
                    <preloaditems>10</preloaditems>
        
                    <itemlayout height="30">
        
                        <control type="label">
                            <posx>10</posx>
                            <posy>0</posy>
                            <width>180</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(jobNumber)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                        <control type="label">
                            <posx>90</posx>
                            <posy>0</posy>
                            <width>790</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(status)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                    </itemlayout>
                    
                    <focusedlayout height="30">
                        <control type="label">
                            <posx>10</posx>
                            <posy>0</posy>
                            <width>180</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(jobNumber)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                        <control type="label">
                            <posx>90</posx>
                            <posy>0</posy>
                            <width>790</width>
                            <height>30</height>
                            <font>font12</font>
                            <textcolor>0xffddddff</textcolor>
                            <textoffset>10</textoffset>
                            <selectedcolor>FFe2ff43</selectedcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Property(status)]</label>
                            <scroll>true</scroll>
                            <scrollspeed>30</scrollspeed>
                        </control>
                    </focusedlayout>
                </control>
                
            </control>

            <control type="group">
                <visible>true</visible>
                <!-- VisibleFadeEffect -->
                <animation effect="fade" time="200">Visible</animation>
                <animation effect="fade" time="200">Hidden</animation>
                <control type="label">
                    <posx>0</posx>
                    <posy>255</posy>
                    <width>900</width>
                    <height>35</height>
                    <font>font16</font>
                    <textcolor>white</textcolor>
                    <scroll>true</scroll>
                    <align>center</align>
                    <aligny>center</aligny>
                    <label>[B]$INFO[Container(500).ListItem.Property(title)][/B] - $INFO[Container(500).ListItem.Property(description)]</label>
                </control>
            </control>
            
            <control type="group" id="499">
                <description>Recent recordings</description>
                <posx>0</posx>
                <posy>0</posy>
                <onup>2000</onup>
                <ondown>2000</ondown>
                <defaultcontrol>500</defaultcontrol>
                
                <control type="group" id="300">
                   <posx>151</posx>
                   <posy>-200</posy>
                   <defaultcontrol>301</defaultcontrol>
                   <animation effect="slide" start="151,330" end="151,420" time="200" condition="Control.HasFocus(300)|Control.HasFocus(301)|Control.HasFocus(302)">Conditional</animation>
                   <control type="image">
                       <posx>0</posx>
                       <posy>0</posy>
                       <width>150</width>
                       <height>80</height>
                       <texture>black-back.png</texture>  <!--  border="10" -->
                    </control>
                    <control type="grouplist">
                      <posx>0</posx>
                      <posy>0</posy>
                      <onup>500</onup>
                      <ondown>500</ondown>
                      <itemgap>0</itemgap>
                      <onleft>500</onleft>
                      <onright>500</onright>                      
                      <control type="button" id="301">
                          <description>Delete</description>
                          <width>150</width>
                          <label>Delete</label>
                          <texturenofocus>button2-nofocus.png</texturenofocus>
                          <texturefocus border="5">button-focus2.png</texturefocus>
                          <align>center</align>
                          <pulseonselect>true</pulseonselect>
                          <onclick>SetFocus(500)</onclick>
                          <onup>500</onup>
                          <onleft>500</onleft>
                          <onright>500</onright>
                      </control>
                      <control type="button" id="302">
                          <description>Re-Record</description>
                          <width>150</width>
                          <texturenofocus>button2-nofocus.png</texturenofocus>
                          <texturefocus border="5">button-focus2.png</texturefocus>
                          <align>center</align>
                          <pulseonselect>true</pulseonselect>
                          <label>Re-Record</label>
                          <onclick>SetFocus(500)</onclick>
                          <ondown>500</ondown>
                          <onleft>500</onleft>
                          <onright>500</onright>
                      </control>
                    </control>
                </control>
                
                <control type="grouplist">
                    <visible>true</visible>
                    <width>900</width>
                    <height>250</height>
                    <onup>2000</onup>
                    <ondown>300</ondown>
                    <usecontrolcoords>true</usecontrolcoords>
                    <control type="wraplist" id="500">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>900</width>
                        <height>250</height>
                        <onleft>500</onleft>
                        <onright>500</onright>
                        <onup>2000</onup>
                        <scrolltime>200</scrolltime>
                        <focusposition>2</focusposition>
                        <orientation>horizontal</orientation>
                        <itemlayout height="220" width="150">
                            <control type="image">
                                <posx>2</posx>
                                <posy>0</posy>
                                <width>150</width>
                                <height>220</height>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="0">button-nofocus.png</bordertexture>
                                <bordersize>5</bordersize>
                                <texture background="false">$INFO[ListItem.Property(thumb)]</texture>
                                <fadetime>400</fadetime>
                            </control>
                            <control type="image">
                                <posx>2</posx>
                                <posy>220</posy>
                                <width>150</width>
                                <height>220</height>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="5" flipy="true" diffuse="diffuse_mirror2.png">button-nofocus.png</bordertexture>
                                <bordersize>5</bordersize>
                                <texture background="false" flipy="true" diffuse="diffuse_mirror2.png">$INFO[ListItem.Property(thumb)]</texture>
                                <fadetime>400</fadetime>
                            </control>
                        </itemlayout>
    
                        <focusedlayout height="220" width="150">
                            <control type="image">
                                <posx>2</posx>
                                <posy>0</posy>
                                <width>150</width>
                                <height>220</height>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="5">mb-folder-focus.png</bordertexture>
                                <bordersize>5</bordersize>
                                <texture background="false" border="5">$INFO[ListItem.Property(thumb)]</texture>
                                <animation reversible="false" effect="zoom" start="2,0,150,220" end="-8,-10,170,240" time="200">focus</animation>
                                <animation reversible="false" effect="zoom" end="2,0,150,220" start="-8,-10,170,240" time="200">unfocus</animation>
                                <fadetime>400</fadetime>
                            </control>
                            <control type="image">
                                <posx>2</posx>
                                <posy>220</posy>
                                <width>150</width>
                                <height>220</height>
                                <aspectratio>stretch</aspectratio>
                                <bordertexture border="5" flipy="true" diffuse="diffuse_mirror2.png">mb-folder-focus.png</bordertexture>
                                <bordersize>5</bordersize>
                                <texture background="false" flipy="true" diffuse="diffuse_mirror2.png">$INFO[ListItem.Property(thumb)]</texture>
                                <animation reversible="false" effect="zoom" start="2,0,150,220" end="-8,-10,170,240" time="200">focus</animation>
                                <animation reversible="false" effect="zoom" end="2,0,150,220" start="-8,-10,170,240" time="200">unfocus</animation>
                                <fadetime>400</fadetime>
                            </control>
                        </focusedlayout>
                    </control>
                </control>
            </control>


        </control>
    </control>

    <!-- ============================================= -->
    <!--                 H E A D E R                   -->          
    <!-- ============================================= -->              
    <control type="image">
        <description>Header Panel</description>
        <posx>0</posx>
        <posy>0</posy>
        <width>1280</width>
        <height>128</height>
        <texture>mb-header.png</texture>
    </control>

    <control type="image">
        <posx>40</posx>
        <posy>20</posy>
        <width>460</width>
        <height>90</height>
        <texture>mythbox.png</texture>
        <aspectratio align="left">keep</aspectratio>
        <animation effect="fade" time="200">WindowOpen</animation>
        <animation effect="fade" time="200">WindowClose</animation>
    </control>

    <control type="label">
        <description>date/time label</description>
        <posx>70r</posx>
        <posy>65</posy>
        <width>450</width>
        <height>35</height>
        <align>right</align>
        <aligny>center</aligny>
        <font>font12</font>
        <textcolor>ffffffff</textcolor>
        <label>$INFO[System.Date] [COLOR=88FFFFFF] |  $INFO[System.Time][/COLOR]</label>
        <animation effect="fade" time="200">WindowOpen</animation>
        <animation effect="fade" time="200">WindowClose</animation>
    </control>
        
    <!-- ============================================= -->
    <!--  N A V     B U T T O N S                      -->          
    <!-- ============================================= -->              
    <control type="grouplist" id="2000">
        <description>Buttons</description>
        <posx>0</posx>
        <posy>122</posy>
        <itemgap>1</itemgap>
        <onup>2000</onup>
        <ondown>2000</ondown>
        <onleft>499</onleft>
        <onright>499</onright>
        
        <!-- Copy of include Window_OpenClose_Left_Panel_Animation -->
        <animation effect="fade" time="200" condition="Skin.HasSetting(Animate_Skin)">WindowOpen</animation>
        <animation effect="fade" time="200" condition="Skin.HasSetting(Animate_Skin)">WindowClose</animation>
        <animation effect="slide" start="-400,0" end="0,0" time="300" tween="quadratic" easing="out" condition="!Skin.HasSetting(Animate_Skin)">WindowOpen</animation>
        <animation effect="slide" end="-400,0" start="0,0" time="300" tween="quadratic" easing="out" condition="!Skin.HasSetting(Animate_Skin)">WindowClose</animation>
        
        <control type="button" id="250" >
            <description>watch recordings</description>
            <label>SCRIPT300</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <enabled>true</enabled>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>
        
        <control type="button" id="251">
            <description>watch tv</description>
            <label>SCRIPT301</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>
        
        <control type="button" id="252">
            <description>tv guide</description>     
            <label>SCRIPT302</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>

        <control type="button" id="253">
            <description>recording schedules</description>
            <label>SCRIPT303</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>

        <control type="button" id="254">
            <description>upcoming recordings</description>
            <label>SCRIPT304</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>32</textoffsetx> <!-- scrolls if > 32 -->
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>

        <control type="button" id="256">
            <description>settings</description>
            <label>SCRIPT305</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>

        <control type="button" id="255">
            <description>refresh</description>
            <label>SCRIPT210</label>
            <width>285</width>
            <align>left</align>
            <textoffsetx>33</textoffsetx>
            <texturefocus>button_focus.png</texturefocus>
            <texturenofocus>button_nofocus.png</texturenofocus>
            <pulseonselect>true</pulseonselect>
            <enable>!substring(Window.Property(busy),true)</enable>
        </control>
         
    </control>
    
    <control type="multiimage">
        <description>Busy throbber</description>
        <posx>722</posx>
        <posy>340</posy>
        <width>100</width>
        <height>100</height>
        <imagepath>busy</imagepath>
        <timeperimage>50</timeperimage>
        <fadetime>0</fadetime>
        <visible>substring(Window.Property(busy),true)</visible>
        <animation effect="fade" time="250">VisibleChange</animation>    
    </control>

    <control type="label">
        <posx>40</posx>
        <posy>30r</posy>
        <width>1200</width>
        <!-- <height>35</height> -->
        <font>font12</font>
        <textcolor>white</textcolor>
        <scroll>true</scroll>
        <align>left</align>
        <aligny>center</aligny>
        <wrapmultiline>false</wrapmultiline>
        <label>$INFO[Window.Property(newsfeed)]</label>
    </control>
        
  </controls>
</window>
