<?xml version="1.0" encoding="utf-8"?>
<window type="dialog">
	<allowoverlay>no</allowoverlay>
	<defaultcontrol always="true">4002</defaultcontrol>
	<coordinates>
		<system>1</system>
		<posx>0</posx>
		<posy>0</posy>
		<width>1280</width>
		<height>720</height>
	</coordinates>
	<controls>
		<control type="group" id="5000">
   		    <posx>-2000</posx><!-- Off screen -->
			<posy>-2000</posy>
			<!-- ------------------------ EPG ELEMENTS ------------------------ -->
			<!--EPG LOGO+NUMBER-->
			<control type="group" id="6000">
				<posx>40</posx>
				<posy>600</posy>
		        <control type="image">
		    		<description>Channel Background</description>		
	                <posx>0</posx>
	                <posy>5</posy>
		            <width>192</width>
		            <height>100</height>
		            <texture>glasspane.png</texture>
	                <colordiffuse>ff000000</colordiffuse>
		        </control> 	
				<control type="label">
	            	<description>Channel Number</description>
					<label>$INFO[Window(10000).Property(OTT_CH_NUMBER)]</label>
	                <posx>5</posx>
	                <posy>10</posy>
		            <width>50</width>
		            <height>20</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
		            <font>font13</font>
		            <aligny>center</aligny> 
		            <align>left</align> 
		        </control>			
		        <control type="label">
					<description>Channel Title</description>
					<label>$INFO[Window(10000).Property(OTT_CH_TITLE)]</label>
	                <posx>5</posx>
	                <posy>55</posy>
		            <width>150</width>
		            <height>20</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
		            <font>font13</font>
		            <aligny>center</aligny> 
		            <align>left</align> 
		        </control>			
		        <control type="image">
		            <description>Channel Logo</description>
					<texture>$INFO[Window(10000).Property(OTT_CH_LOGO)]</texture>				
	                <posx>5</posx>
	                <posy>40</posy>
		            <width>182</width>
		            <height>57</height>
		            <align>left</align> 
				</control>
			</control>
			<!--EPG METADATA-->
	        <control type="group" id="6001">
				<posx>0</posx>
				<posy>0</posy>	
	            <control type="image">
	                <description>MetaData Background</description>
	                <posx>80</posx>
	                <posy>100</posy>
	                <width>900</width>
	                <height>300</height>
	                <texture>ontapp-program.png</texture>
	            </control>
	            <control type="textbox">
	                <description>MetaData Info</description>
	                <label>Visible in EPG only. All metadata type stuff will go in this window</label>
	                <posx>90</posx>
	                <posy>110</posy>
	                <width>890</width>
	                <height>280</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font12</font>
	                <scroll>true</scroll>
	                <aligny>top</aligny>
	                <align>left</align>
	            </control>
	        </control>

			<!-- ------------------------ OSD ELEMENTS ------------------------ -->
	        <!-- NOW/NEXT VIEW-->
	        <control type="group" id="7000">
	    		<posx>205</posx>
	    		<posy>410</posy>
	                <control type="image">
	                <description>Glass Logo</description>
	                <posx>0</posx>
	                <posy>0</posy>
	                <width>242</width>
	                <height>152</height>
	                <texture>glasspane-light.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>

	            <control type="image">
	                <description>Glass Top</description>
	                <posx>240</posx>
	                <posy>0</posy>
	                <width>630</width>
	                <height>52</height>
	                <texture>glasspane-light.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>

                    <control type="group" id="7100">
	            <control type="image">
	                <description>Glass Middle - Dark</description>
	                <posx>240</posx>
	                <posy>50</posy>
	                <width>630</width>
	                <height>52</height>
	                <texture>glasspane-dark.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>
	            </control>

                    <control type="group" id="7101">
                    <control type="image">
	                <description>Glass Middle - Light</description>
	                <posx>240</posx>
	                <posy>50</posy>
	                <width>630</width>
	                <height>52</height>
	                <texture>glasspane-light.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>
                    </control>

                    <control type="group" id="7102">
		    <control type="image">
	                <description>Glass Bottom - Dark</description>
	                <posx>240</posx>
	                <posy>100</posy>
	                <width>630</width>
	                <height>52</height>
	                <texture>glasspane-dark.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>
                    </control>

                    <control type="group" id="7103">
	            <control type="image">
	                <description>Glass Bottom - Light</description>
	                <posx>240</posx>
	                <posy>100</posy>
	                <width>630</width>
	                <height>52</height>
	                <texture>glasspane-light.png</texture>
			<bordertexture>border.png</bordertexture>
			<bordersize>2</bordersize>
	            </control>
                    </control>

	            <control type="image">
	                <description>OTTV Logo under Channel</description>
	                <texture>OTTV3-Logo.png</texture>
	                <posx>49</posx>
	                <posy>50</posy>
	                <width>148</width>
	                <height>38</height>
	                <align>left</align>
	            </control>
	            <control type="image">
	                <description>Channel Logo</description>
	                <texture>$INFO[Window(10000).Property(OTT_CH_LOGO)]</texture>
	                <posx>26</posx>
	                <posy>45</posy>
	                <width>193</width>
	                <height>60</height>
	                <align>left</align>
	            </control>

	            <control type="label">
	                <description>Channel No/Title</description>
	                <label>$INFO[Window(10000).Property(OTT_CH_NUMBER)]  $INFO[Window(10000).Property(OTT_CH_TITLE)]</label>
	                <posx>260</posx>
	                <posy>8</posy>
	                <width>560</width>
	                <height>35</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font14</font>
	                <aligny>center</aligny>
	                <align>left</align>
	            </control>
	            <control type="image">
	                <description>OK Watch Now</description>
	                <texture>OK.png</texture>
	                <posx>750</posx>
	                <posy>17</posy>
	                <width>99</width>
	                <height>21</height>
	                <align>left</align>
	            </control>
				

	            <control type="label">
	                <description>NOW Label</description>
	                <posx>260</posx>
	                <posy>58</posy>
	                <width>60</width>
	                <height>35</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font14</font>
	                <aligny>center</aligny>
	                <align>left</align>
	                <label>NOW</label>
	            </control>
	            <control type="label">
	                <description>NOW Details</description>
	                <posx>350</posx>
	                <posy>58</posy>
	                <width>520</width>
	                <height>35</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font16</font>
	                <aligny>center</aligny>
	                <align>left</align>
	                <label>$INFO[Window(10000).Property(OTT_NOW_TIME)]   $INFO[Window(10000).Property(OTT_NOW_TITLE)]</label>
	            </control>

	            <control type="label">
	                <description>NEXT Label</description>
	                <posx>260</posx>
	                <posy>108</posy>
	                <width>70</width>
	                <height>35</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font14</font>
	                <aligny>center</aligny>
	                <align>left</align>
	                <label>$INFO[Window(10000).Property(OTT_NEXT_TEXT)]</label>
	            </control>
	            <control type="label">
	                <description>NEXT Details</description>
	                <posx>350</posx>
	                <posy>108</posy>
	                <width>520</width>
	                <height>35</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font14</font>
	                <aligny>center</aligny>
	                <align>left</align>
	                <label>$INFO[Window(10000).Property(OTT_NEXT_TIME)]   $INFO[Window(10000).Property(OTT_NEXT_TITLE)]</label>
	            </control>
	        </control>
			
			<!-- TITLE BAR -->
	        <control type="group" id="7001">
	            <posx>205</posx>
	            <posy>645</posy>
	            <control type="image">
	                <posx>0</posx>
	                <posy>0</posy>
	                <description>Title Bar</description>
	                <width>870</width>
	                <height>67</height>
	                <texture>bottom_border_shadow1.png</texture>
	            </control>
				<control type="group">
	                <posx>25</posx>
	                <posy>23</posy>
		            <control type="image">
		                <description>OTTV Main Logo</description>
		                <texture>OTTV3-Logo.png</texture>
		                <posx>0</posx>
		                <posy>-2</posy>
		                <width>128</width>
		                <height>33</height>
		        		<aligny>top</aligny>
		                <align>left</align>
		            </control>
		        	<control type="label">
		        		<description>| Label</description>
		        		<posx>143</posx>
		        		<posy>-2</posy>
		        		<width>5</width>
		        		<height>25</height>
		        		<font>font14</font>
		        		<aligny>top</aligny>
		        		<align>left</align>
		        		<textcolor>ffffffff</textcolor>
		        		<shadowcolor>ff000000</shadowcolor>				
		        		<label>|</label>
		        	</control>
		        	<control type="label">
		        		<description>Mini-Guide Label</description>
		        		<posx>162</posx>
		        		<posy>0</posy>
		        		<width>130</width>
		        		<height>25</height>
		        		<font>font14</font>
		        		<aligny>top</aligny>
		        		<align>left</align>
		        		<textcolor>ffffffff</textcolor>
		        		<shadowcolor>ff000000</shadowcolor>				
		        		<label>Mini-Guide</label>
		        	</control>
				</control>
	            <control type="label">
	                <description>Date</description>
	                <posx>720</posx>
	                <posy>24</posy>
	                <width>300</width>
	                <height>35</height>
	                <font>font13</font>
	                <aligny>top</aligny>
	                <align>right</align>
	                <textcolor>ffffffff</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <label>$INFO[System.Date(DDD dd MMM yyyy)]</label>
	            </control>
	            <control type="label">
	                <description>Time</description>
	                <posx>840</posx>
	                <posy>24</posy>
	                <width>90</width>
	                <height>35</height>
	                <font>font13</font>
	                <aligny>top</aligny>
	                <align>right</align>
	                <textcolor>ffffffff</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <label>$INFO[System.Time]</label>
	            </control>
	        </control>
			
	        <!-- PROGRAM DESCRIPTION-->
	        <control type="group" id="7002">
	            <posx>205</posx>
	            <posy>560</posy>
	            <control type="image">
	                <posx>0</posx>
	                <posy>0</posy>
	                <description>Program Info Background</description>
	                <width>870</width>
	                <height>104</height>
	                <texture>glasspane-dark.png</texture>
					<bordertexture>border.png</bordertexture>
					<bordersize>2</bordersize>
	            </control>
	            <control type="textbox">
	                <description>Program Info</description>
	                <label>$INFO[Window(10000).Property(OTT_PROG_DESC)]</label>
	                <posx>15</posx>
	                <posy>5</posy>
	                <width>845</width>
	                <height>90</height>
	                <textcolor>FFFFFFFF</textcolor>
	                <shadowcolor>ff000000</shadowcolor>
	                <font>font13</font>
	                <autoscroll time="3600" delay="6000" repeat="6000">true</autoscroll>
	                <aligny>top</aligny>
	                <align>left</align>
	            </control>
	        </control>
		</control>
	</controls>
</window>
