<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">29</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="header_label" value="$VAR[PVRGroupMgrHeader]$INFO[Container(13).NumItems, (,)]" />
				<param name="header_id" value="1" />
			</include>
			<control type="group">
				<left>0</left>
				<top>80</top>
				<control type="label">
					<description>name label</description>
					<left>0</left>
					<top>0</top>
					<width>440</width>
					<height>70</height>
					<label>$LOCALIZE[31089]: [COLOR white]$INFO[Container(13).NumItems][/COLOR]</label>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>darkgrey</textcolor>
				</control>
				<control type="list" id="13">
					<left>20</left>
					<top>75</top>
					<width>400</width>
					<height>785</height>
					<onup>13</onup>
					<ondown>13</ondown>
					<onleft>9000</onleft>
					<onright>73</onright>
					<pagecontrol>73</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout width="400" height="71">
						<control type="label">
							<left>20</left>
							<right>70</right>
							<height>70</height>
							<aligny>center</aligny>
							<font>font27</font>
							<textcolor>darkgrey</textcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="image">
							<width>60</width>
							<height>60</height>
							<right>5</right>
							<top>5</top>
							<texture>$INFO[ListItem.Icon]</texture>
							<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture>
							<bordersize>2</bordersize>
							<aspectratio>keep</aspectratio>
						</control>
					</itemlayout>
					<focusedlayout width="400" height="71">
						<control type="image">
							<left>0</left>
							<top>0</top>
							<right>0</right>
							<bottom>0</bottom>
							<texture colordiffuse="$VAR[FocusColorTheme]">masks/focus.png</texture>
							<!-- <visible>Control.HasFocus(13)</visible> -->
							<animation effect="fade" start="100" end="60" time="0" condition="!Control.HasFocus(13)">conditional</animation>
						</control>
						<control type="label">
							<left>20</left>
							<right>70</right>
							<height>70</height>
							<aligny>center</aligny>
							<font>font27</font>
							<label>$INFO[ListItem.Label]</label>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<scroll>true</scroll>
						</control>
						<control type="image">
							<width>60</width>
							<height>60</height>
							<right>5</right>
							<top>5</top>
							<texture>$INFO[ListItem.Icon]</texture>
							<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture>
							<bordersize>2</bordersize>
							<aspectratio>keep</aspectratio>
						</control>
					</focusedlayout>
				</control>
				<control type="scrollbar" id="73">
					<left>425</left>
					<top>75</top>
					<width>7</width>
					<height>815</height>
					<onleft>13</onleft>
					<onright>11</onright>
					<ondown>73</ondown>
					<onup>73</onup>
					<orientation>vertical</orientation>
				</control>
			</control>
			<control type="group">
				<description>Channels list</description>
				<left>440</left>
				<top>80</top>
				<include content="ChannelManagerList">
					<param name="header_id" value="21" />
					<param name="list_id" value="11" />
					<param name="scrollbar_id" value="71" />
					<param name="onright" value="12" />
					<param name="onleft" value="73" />
				</include>
			</control>
			<control type="group">
				<description>Grouped Channels list</description>
				<left>940</left>
				<top>80</top>
				<include content="ChannelManagerList">
					<param name="header_id" value="22" />
					<param name="list_id" value="12" />
					<param name="scrollbar_id" value="72" />
					<param name="onright" value="9000" />
					<param name="onleft" value="71" />
				</include>
			</control>
			<control type="grouplist" id="9000">
				<left>1450</left>
				<top>70</top>
				<width>370</width>
				<height>715</height>
				<itemgap>-20</itemgap>
				<align>center</align>
				<orientation>vertical</orientation>
				<onleft>12</onleft>
				<onright>13</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<control type="button" id="29">
					<description>OK</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[186]</label>
				</control>
				<control type="button" id="26">
					<description>Add Group</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[31044]</label>
				</control>
				<control type="button" id="27">
					<description>Rename Group</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[31045]</label>
				</control>
				<control type="radiobutton" id="25">
					<description>Hide Group</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[19289]</label>
					<radiowidth>100</radiowidth>
					<radioposy>13</radioposy>
				</control>
				<control type="button" id="28">
					<description>Delete Group</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[31046]</label>
				</control>
				<control type="button" id="35">
					<description>Regenerate Group Thumbnail</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[13315]</label>
				</control>
				<control type="togglebutton" id="34">
					<description>TV/Radio toggle</description>
					<width>370</width>
					<include>SettingsItemCommon</include>
					<font>font25_title</font>
					<label>$LOCALIZE[19174]</label>
					<altlabel>$LOCALIZE[19173]</altlabel>
					<usealttexture>!String.IsEmpty(Window.Property(IsRadio))</usealttexture>
				</control>
			</control>
			<control type="image">
				<left>1450</left>
				<bottom>50</bottom>
				<width>370</width>
				<height>200</height>
				<texture>$INFO[Container(13).ListItem.Icon]</texture>
				<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture>
				<bordersize>2</bordersize>
				<aspectratio>keep</aspectratio>
			</control>
		</control>
		<control type="label" id="20">
			<description>Fake Label used to pass on name label</description>
			<visible>false</visible>
		</control>
	</controls>
</window>
