<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">4</defaultcontrol>
	<include>Animation_DialogPopupOpenClose</include>
	<controls>
		<control type="group">
			<centertop>50%</centertop>
			<height>995</height>
			<centerleft>50%</centerleft>
			<width>1820</width>
			<include content="DialogBackgroundCommons">
				<param name="width" value="1820" />
				<param name="height" value="995" />
				<param name="header_label" value="$VAR[PVRChannelMgrHeader]$INFO[Container(20).NumItems, (,)]" />
				<param name="header_id" value="2" />
			</include>
			<control type="group">
				<left>10</left>
				<top>70</top>
				<control type="scrollbar" id="60">
					<left>660</left>
					<top>30</top>
					<width>12</width>
					<height>870</height>
					<onleft>20</onleft>
					<onright condition="Integer.IsGreater(Container(20).NumItems, 0)">9002</onright>
					<onright condition="Integer.IsEqual(Container(20).NumItems, 0)">9003</onright>
					<orientation>vertical</orientation>
				</control>
				<control type="image">
					<left>0</left>
					<top>10</top>
					<width>672</width>
					<height>910</height>
					<texture border="40">buttons/dialogbutton-nofo.png</texture>
				</control>
				<control type="list" id="20">
					<left>20</left>
					<top>30</top>
					<width>630</width>
					<height>870</height>
					<onup>20</onup>
					<ondown>20</ondown>
					<onleft>9000</onleft>
					<onright>60</onright>
					<pagecontrol>60</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout height="70" width="630">
						<control type="group">
							<animation effect="fade" start="100" end="50" time="0" condition="!ListItem.Property(ActiveChannel)">Conditional</animation>
							<control type="image">
								<left>0</left>
								<right>0</right>
								<bottom>0</bottom>
								<texture colordiffuse="selected">colors/white.png</texture>
								<animation effect="fade" end="20" time="0" condition="true">Conditional</animation>
								<visible>ListItem.Property(Changed)</visible>
							</control>
							<control type="image">
								<left>15</left>
								<top>10</top>
								<width>50</width>
								<height>50</height>
								<texture>$INFO[ListItem.Property(icon)]</texture>
								<aspectratio>keep</aspectratio>
							</control>
							<control type="image">
								<right>0</right>
								<top>10</top>
								<width>50</width>
								<height>50</height>
								<texture>OverlayLocked.png</texture>
								<aspectratio>keep</aspectratio>
								<visible>ListItem.Property(ParentalLocked)</visible>
							</control>
							<control type="label">
								<left>85</left>
								<right>40</right>
								<bottom>0</bottom>
								<aligny>center</aligny>
								<label>$INFO[ListItem.Property(Number),[B],[/B] - ]$INFO[ListItem.Property(Name)]</label>
							</control>
						</control>
					</itemlayout>
					<focusedlayout height="70" width="630">
						<control type="image">
							<left>0</left>
							<right>0</right>
							<bottom>0</bottom>
							<texture colordiffuse="selected">colors/white.png</texture>
							<animation effect="fade" end="20" time="0" condition="true">Conditional</animation>
							<visible>ListItem.Property(Changed)</visible>
						</control>
						<control type="image">
							<left>0</left>
							<right>0</right>
							<bottom>0</bottom>
							<texture colordiffuse="button_focus">lists/focus.png</texture>
							<animation effect="fade" start="100" end="30" time="0" condition="!Control.HasFocus(20)">conditional</animation>
						</control>
						<control type="image">
							<left>15</left>
							<top>10</top>
							<width>50</width>
							<height>50</height>
							<texture>$INFO[ListItem.Property(icon)]</texture>
							<aspectratio>keep</aspectratio>
						</control>
						<control type="image">
							<right>0</right>
							<top>10</top>
							<width>50</width>
							<height>50</height>
							<texture>OverlayLocked.png</texture>
							<aspectratio>keep</aspectratio>
							<visible>ListItem.Property(ParentalLocked)</visible>
						</control>
						<control type="label">
							<left>45</left>
							<top>-15</top>
							<right>40</right>
							<height>70</height>
							<textoffsetx>40</textoffsetx>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Property(Number),[B],[/B] - ]$INFO[ListItem.Property(Name)]</label>
						</control>
						<control type="label">
							<left>85</left>
							<top>35</top>
							<right>40</right>
							<height>30</height>
							<font>font12</font>
							<aligny>center</aligny>
							<label>$LOCALIZE[19210]: $INFO[ListItem.Property(ClientName)]</label>
						</control>
					</focusedlayout>
				</control>
			</control>
			<control type="group">
				<left>700</left>
				<control type="grouplist" id="9002">
					<top>80</top>
					<onleft>60</onleft>
					<onright>9000</onright>
					<onup>34</onup>
					<ondown>35</ondown>
					<itemgap>-22</itemgap>
					<control type="label" id="9001">
						<description>channel options Header</description>
						<width>700</width>
						<height>60</height>
						<textoffsetx>30</textoffsetx>
						<font>font12</font>
						<label>$LOCALIZE[31097]</label>
						<aligny>center</aligny>
						<textcolor>button_focus</textcolor>
						<shadowcolor>black</shadowcolor>
					</control>
					<control type="radiobutton" id="7">
						<description>Channel activated</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19074]</label>
					</control>
					<control type="edit" id="8">
						<description>Channel name</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19201]</label>
					</control>
					<control type="button" id="9">
						<description>Channel logo Button</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19202]</label>
					</control>
					<control type="radiobutton" id="12">
						<description>EPG activated</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19206]</label>
					</control>
					<control type="spincontrolex" id="13">
						<description>EPG source</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19200]</label>
					</control>
					<control type="radiobutton" id="14">
						<description>Parental locked</description>
						<width>700</width>
						<include>SettingsItemCommon</include>
						<label>$LOCALIZE[19267]</label>
					</control>
				</control>
				<control type="image">
					<left>600</left>
					<top>299</top>
					<width>70</width>
					<height>50</height>
					<aspectratio>keep</aspectratio>
					<texture background="true">$INFO[Container(20).ListItem.Property(icon)]</texture>
				</control>
				<control type="grouplist" id="9003">
					<top>590</top>
					<itemgap>-18</itemgap>
					<onleft>60</onleft>
					<onright>9000</onright>
					<onup>14</onup>
					<ondown>7</ondown>
					<control type="label">
						<description>misc options Header</description>
						<width>700</width>
						<height>52</height>
						<textoffsetx>30</textoffsetx>
						<font>font12</font>
						<label>$LOCALIZE[31021]</label>
						<aligny>center</aligny>
						<textcolor>button_focus</textcolor>
						<shadowcolor>black</shadowcolor>
					</control>
					<control type="button" id="35">
						<description>Refresh channel logos Button</description>
						<width>700</width>
						<height>100</height>
						<textoffsetx>40</textoffsetx>
						<align>center</align>
						<label>$LOCALIZE[19041]</label>
					</control>
					<control type="button" id="31">
						<description>New channel Button</description>
						<width>700</width>
						<height>100</height>
						<textoffsetx>40</textoffsetx>
						<align>center</align>
						<label>$LOCALIZE[19204]</label>
					</control>
					<control type="button" id="30">
						<description>Group Manager Button</description>
						<width>700</width>
						<height>100</height>
						<textoffsetx>40</textoffsetx>
						<align>center</align>
						<label>$LOCALIZE[19205]</label>
					</control>
					<control type="togglebutton" id="34">
						<description>TV/Radio toggle</description>
						<width>700</width>
						<height>100</height>
						<textoffsetx>40</textoffsetx>
						<align>center</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[19024]</label>
						<altlabel>$LOCALIZE[19023]</altlabel>
						<usealttexture>!String.IsEmpty(Window.Property(IsRadio))</usealttexture>
					</control>
				</control>
			</control>
			<control type="grouplist" id="9000">
				<right>20</right>
				<top>90</top>
				<onleft condition="Integer.IsGreater(Container(20).NumItems, 0)">9002</onleft>
				<onleft condition="Integer.IsEqual(Container(20).NumItems, 0)">9003</onleft>
				<onright>20</onright>
				<itemgap>dialogbuttons_itemgap</itemgap>
				<width>400</width>
				<include content="DefaultDialogButton">
					<param name="width" value="400" />
					<param name="id" value="4" />
					<param name="label" value="$LOCALIZE[186]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="400" />
					<param name="id" value="5" />
					<param name="label" value="$LOCALIZE[14070]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="400" />
					<param name="id" value="6" />
					<param name="label" value="$LOCALIZE[222]" />
				</include>
			</control>
		</control>
	</controls>
</window>
