<?xml version="1.0" encoding="utf-8"?>
<window type="dialog">
    <allowoverlay>no</allowoverlay>
    <defaultcontrol always="false">1000</defaultcontrol>
    <coordinates>
        <system>1</system>
        <posx>0</posx>
        <posy>0</posy>
    </coordinates>

    <controls>
        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>black-back.png</texture>
            <visible>true</visible>
        </control>
        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>white_snow.png</texture>
            <visible>true</visible>
        </control>
        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>background-programlist.png</texture>
            <visible>true</visible>
        </control>

        <control type="videowindow">
            <description>video window</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <visible>true</visible>
        </control>

        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>whitetrans85.png</texture>
            <visible>true</visible>
        </control>

        <control type="label" id="1001">
            <description>Title</description>
            <left>750</left>
            <top>20</top>
            <width>300</width>
            <height>20</height>
            <font>font13_title</font>
            <textcolor>black</textcolor>
            <shadowcolor>none</shadowcolor>
            <align>center</align>
            <aligny>center</aligny>
            <label>Title</label>
            <scroll>true</scroll>
        </control>

        <control type="button" id="1002">
            <description>left</description>
            <left>765</left>
            <top>16</top>
            <width>28</width>
            <height>28</height>
            <texturefocus>buttons/button_arrowleftFO.png</texturefocus>
            <texturenofocus>buttons/button_arrowleft.png</texturenofocus>
            <align>center</align>
            <aligny>center</aligny>
            <label></label>
            <visible>false</visible>
        </control>

        <control type="button" id="1003">
            <description>right</description>
            <left>1010</left>
            <top>16</top>
            <width>28</width>
            <height>28</height>
            <font>font13_title</font>
            <texturefocus>buttons/button_arrowrightFO.png</texturefocus>
            <texturenofocus>buttons/button_arrowright.png</texturenofocus>
            <align>center</align>
            <aligny>center</aligny>
            <label></label>
            <visible>false</visible>
        </control>

        <control type="button">
            <description>back</description>
            <left>20</left>
            <top>16</top>
            <width>28</width>
            <height>28</height>
            <texturefocus>buttons/button_back.png</texturefocus>
            <texturenofocus>buttons/button_backFO.png</texturenofocus>
            <onclick>back</onclick>
            <align>center</align>
            <aligny>center</aligny>
            <label></label>
            <visible>false</visible>
        </control>

        <control type="label">
            <description>Displays todays date</description>
            <posx>5r</posx>
            <posy>0</posy>
            <width>280</width>
            <height>30</height>
            <textcolor>black</textcolor>
            <shadowcolor>none</shadowcolor>
            <font>font13_bold</font>
            <align>right</align>
            <aligny>center</aligny>
            <visible>true</visible>
            <label>$INFO[System.Date(DDD)], $INFO[System.Date(dd)] $INFO[System.Date(MMM)]</label>
        </control>

        <control type="label">
            <description>time label</description>
            <posx>10r</posx>
            <posy>20</posy>
            <width>200</width>
            <height>30</height>
            <align>right</align>
            <aligny>center</aligny>
            <font>font13_bold</font>
            <textcolor>black</textcolor>
            <shadowcolor></shadowcolor>
            <label>$INFO[System.Time(hh:mm)]</label>
        </control>

        <control type="group">
            <description>Program List</description>
            <visible>true</visible>
            <control type="group">
                <left>0</left>
                <top>0</top>
                <control type="label">
                    <description>Channel label</description>
                    <left>150</left>
                    <top>20</top>
                    <width>180</width>
                    <height>20</height>
                    <font>font13_title</font>
                    <textcolor>black</textcolor>
                    <shadowcolor>none</shadowcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>19148</label>
                </control>
                <control type="label">
                    <description>Time label</description>
                    <left>350</left>
                    <top>20</top>
                    <width>200</width>
                    <height>20</height>
                    <font>font13_title</font>
                    <textcolor>black</textcolor>
                    <shadowcolor>none</shadowcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>Start</label>
                </control>
                <control type="label">
                    <description>Length</description>
                    <left>500</left>
                    <top>20</top>
                    <width>100</width>
                    <height>20</height>
                    <font>font13_title</font>
                    <textcolor>black</textcolor>
                    <shadowcolor>none</shadowcolor>
                    <align>right</align>
                    <aligny>center</aligny>
                    <label>Length</label>
                </control>
                <control type="label">
                    <description>Title</description>
                    <left>700</left>
                    <top>20</top>
                    <width>550</width>
                    <height>20</height>
                    <font>font13_title</font>
                    <textcolor>black</textcolor>
                    <shadowcolor>none</shadowcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>369</label>
                </control>
                <control type="image">
                    <description>separator image</description>
                    <left>0</left>
                    <top>50</top>
                    <width>1280</width>
                    <height>1</height>
                    <colordiffuse>88FFFFFF</colordiffuse>
                    <texture>tvg-progress-mid.png</texture>
                </control>
                <control type="list" id="1000">
                    <viewtype label="19030">list</viewtype>
                    <left>0</left>
                    <top>60</top>
                    <width>1280</width>
                    <height>660</height>
                    <onup>1000</onup>
                    <ondown>1000</ondown>
                    <onleft>-</onleft>
                    <onright>-</onright>
                    <pagecontrol>-</pagecontrol>
                    <itemlayout height="44">
                        <control type="image">
                            <left>-20</left>
                            <top>1</top>
                            <width>140</width>
                            <height>38</height>
                            <info>ListItem.Icon</info>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="label">
                            <left>150</left>
                            <top>0</top>
                            <width>200</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>dimgrey</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(ChannelName)</info>
                        </control>
                        <control type="label">
                            <left>350</left>
                            <top>0</top>
                            <width>200</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>grey</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(StartTime)</info>
                        </control>
                        <control type="label">
                            <left>500</left>
                            <top>0</top>
                            <width>100</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>dimgrey</textcolor>
                            <align>right</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(Duration)</info>
                        </control>
                        <control type="progress">
                            <left>610</left>
                            <top>20</top>
                            <width>80</width>
                            <height>4</height>
                            <lefttexture />
                            <righttexture />
                            <texturebg >tvg-progress-bg_grey.png</texturebg>
                            <midtexture >tvg-progress-mid_grey90.png</midtexture>
                            <info>ListItem.Property(Completed)</info>
                            <visible>ListItem.Property(Completed)</visible>
                        </control>
                        <control type="label">
                            <left>610</left>
                            <top>0</top>
                            <width>100</width>
                            <height>40</height>
                            <font>font12</font>
                            <textcolor>grey</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(When)</info>
                        </control>
                        <control type="label">
                            <description>Program Title</description>
                            <left>700</left>
                            <top>0</top>
                            <width>550</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>dimgrey</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Label</info>
                        </control>
                    </itemlayout>
                    <focusedlayout height="144">
                        <control type="image">
                            <left>-20</left>
                            <top>0</top>
                            <width>1280</width>
                            <height>144</height>
                            <texture>now-next-back.png</texture>
                            <visible>true</visible>
                        </control>
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>1280</width>
                            <height>144</height>
                            <texture>black-back.png</texture>
                            <visible>false</visible>
                        </control>
                        <control type="image">
                            <left>-20</left>
                            <top>30</top>
                            <width>140</width>
                            <height>40</height>
                            <info>ListItem.Icon</info>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="label">
                            <left>150</left>
                            <top>0</top>
                            <width>200</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>white</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(ChannelName)</info>
                        </control>
                        <control type="label">
                            <left>350</left>
                            <top>0</top>
                            <width>200</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>white</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(StartTime)</info>
                        </control>
                        <control type="label">
                            <left>500</left>
                            <top>0</top>
                            <width>100</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>white</textcolor>
                            <align>right</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(Duration)</info>
                        </control>
                        <control type="progress">
                            <left>610</left>
                            <top>20</top>
                            <width>80</width>
                            <height>4</height>
                            <lefttexture />
                            <righttexture />
                            <texturebg >tvg-progress-bg_grey.png</texturebg>
                            <midtexture >tvg-progress-mid_white.png</midtexture>
                            <info>ListItem.Property(Completed)</info>
                            <visible>ListItem.Property(Completed)</visible>
                        </control>
                        <control type="label">
                            <left>610</left>
                            <top>0</top>
                            <width>100</width>
                            <height>40</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Property(When)</info>
                        </control>
                        <control type="image">
                            <left>1030</left>
                            <top>22</top>
                            <width>250</width>
                            <height>100</height>
                            <info>ListItem.Property(ProgramImage)</info>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="label">
                            <description>Program Title</description>
                            <left>700</left>
                            <top>0</top>
                            <width>550</width>
                            <height>40</height>
                            <font>font13_bold</font>
                            <textcolor>white</textcolor>
                            <shadowcolor></shadowcolor>
                            <align>left</align>
                            <aligny>center</aligny>
                            <info>ListItem.Label</info>
                        </control>
                        <control type="textbox">
                            <description>Plot Value for TVShow</description>
                            <left>150</left>
                            <top>40</top>
                            <width>860</width>
                            <height>100</height>
                            <font>font13</font>
                            <textcolor>white</textcolor>
                            <align>left</align>
                            <wrapmultiline>true</wrapmultiline>
                            <autoscroll time="3600" delay="6000" repeat="6000">true</autoscroll>
                            <pagecontrol>-</pagecontrol>
                            <info>ListItem.Property(Plot)</info>
                        </control>

                    </focusedlayout>
                </control>
            </control>
        </control>
    </controls>
</window>