<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- xml -->
	<include file="keibertzplus/keibertzplus_poster.xml" />
	<include file="keibertzplus/keibertzplus_square.xml" />
	<include file="keibertzplus/keibertzplus_bluray.xml" />
	<include file="keibertzplus/keibertzplus_wide.xml" />
	<include file="keibertzplus/keibertzplus_slim.xml" />
	<include file="keibertzplus/keibertzplus_3ds.xml" />
	<!-- expressions -->
<!-- 	<expression name="KeibertzPlusBrightIcons">Container.Content(Episodes) + !Skin.HasSetting(Episodes_902_BrightIcons) | [Container.Content(Movies)| Container.Content(sets)] + !Skin.HasSetting(Movies_902_BrightIcons) | [Container.Content(TVShows)| Container.Content(seasons)] + !Skin.HasSetting(TVShows_902_BrightIcons) | $EXP[GameSupport] + !Skin.HasSetting(Games_902_BrightIcons)</expression> -->
	<expression name="KeibertzPlusHideLabels">Container.Content(Episodes) + !Skin.HasSetting(Episodes_902_HideLabels) | [Container.Content(Movies)| Container.Content(sets)] + !Skin.HasSetting(Movies_902_HideLabels) | [Container.Content(TVShows)| Container.Content(seasons)] + !Skin.HasSetting(TVShows_902_HideLabels) | $EXP[GameSupport] + !Skin.HasSetting(Games_902_HideLabels)</expression>
	<expression name="KeibertzPlusHideReflections">Container.Content(Episodes) + !Skin.HasSetting(Episodes_902_HideReflections) | [Container.Content(Movies)| Container.Content(sets)] + !Skin.HasSetting(Movies_902_HideReflections) | [Container.Content(TVShows)| Container.Content(seasons)] + !Skin.HasSetting(TVShows_902_HideReflections) | $EXP[GameSupport] + !Skin.HasSetting(Games_902_HideReflections)</expression>
	<expression name="KeibertzPlusStaticIcons">[Container.Content(TVShows)| Container.Content(seasons)] + !Skin.HasSetting(TVShows_902_StaticIcons) | [Container.Content(Movies)| Container.Content(sets)] + !Skin.HasSetting(Movies_902_StaticIcons) | [Container.Content(TVShows)| Container.Content(seasons)] + !Skin.HasSetting(TVShows_902_StaticIcons) | $EXP[GameSupport] + !Skin.HasSetting(Games_902_StaticIcons)</expression>
	<!-- keibertzplus_label -->
	<include name="KeibertzPlusCommonLabel">
		<definition>
			<control type="label">
				<left>15</left>
				<top>$PARAM[top]</top>
				<width>$PARAM[width]</width>
				<height>40</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font35_title</font>
				<textcolor>TitleTextColor</textcolor>
				<label>$INFO[ListItem.Label]</label>
				<scroll>false</scroll>
				<visible>$EXP[KeibertzPlusHideLabels] + Control.IsVisible(902) + !$EXP[isInfoDialog]</visible>
			</control>
		</definition>
	</include>
	<!-- view -->
	<include name="View_902_KeibertzPlus">
		<control type="group">
			<visible>Control.IsVisible(902) + !$EXP[isInfoDialog]</visible>
			<animation type="Visible" reversible="false">
				<effect type="fade" start="0" end="100" time="300" tween="sine" easing="in" />
				<effect type="zoom" start="150" end="100" time="300" center="auto" tween="quadratic" easing="out" />
			</animation>
			<control type="fixedlist" id="902">
				<left>-200</left>
				<top>100</top>
				<width>2475</width>
				<height>840</height>
				<onleft>902</onleft>
				<onright>902</onright>
				<onup>SetProperty(MediaMenu,True,home)</onup>
				<onup>SetFocus(9050)</onup>
				<orientation>Horizontal</orientation>
				<focusposition>1</focusposition>
				<preloaditems>2</preloaditems>
				<scrolltime tween="sine" easing="out">400</scrolltime>
				<viewtype label="$LOCALIZE[90200]">list</viewtype>
				<include>KeibertzPlus_Square_Includes</include>
<!-- 				<include>KeibertzPlus_Fanart_Includes</include> -->
				<include>KeibertzPlus_Bluray_Includes</include>
				<include>KeibertzPlus_Wide_Includes</include>
				<include>KeibertzPlus_Slim_Includes</include>
				<include>KeibertzPlus_3ds_Includes</include>
				<include>KeibertzPlus_Poster_Includes</include>
			</control>
		</control>
		<control type="group">
			<visible>Control.IsVisible(902) + !$EXP[isInfoDialog]</visible>
			<animation effect="fade" start="0" end="100" delay="600" time="300" reversible="false">Visible</animation>
			<include>KeibertzPlusLayoutDefault</include>
		</control>
	</include>
	<!-- options -->
	<include name="KeibertzOptions">
		<control type="button" id="90210">
			<description>Art Selector</description>
			<label>89000</label>
			<label2>$VAR[ImageLabelVar]</label2>
			<include>ButtonCommonValues</include>
			<onclick>Skin.SelectBool(89000, 20445|, 89003|Movies_902_Landscape)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(Movies)| Container.Content(sets)]</visible>
		</control>
<!-- 		<control type="radiobutton" id="90211"> -->
<!-- 			<description>Bright Icons</description> -->
<!-- 			<label>90945</label> -->
<!-- 			<include>ButtonCommonValues</include> -->
<!-- 			<onclick>Skin.ToggleSetting(Movies_902_BrightIcons)</onclick> -->
<!-- 			<visible>Control.IsVisible(902) + [Container.Content(Movies)| Container.Content(sets)]</visible> -->
<!-- 		</control> -->
		<control type="radiobutton" id="90212">
			<description>Disable Icon Zoom</description>
			<label>90946</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Movies_902_StaticIcons)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(Movies)| Container.Content(sets)]</visible>
		</control>
		<control type="radiobutton" id="90213">
			<description>Hide Reflections</description>
			<label>90960</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Movies_902_HideReflections)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(Movies)| Container.Content(sets)]</visible>
		</control>
		<control type="radiobutton" id="90214">
			<description>Hide Labels</description>
			<label>90950</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Movies_902_HideLabels)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(Movies)| Container.Content(sets)]</visible>
		</control>
		<control type="button" id="90220">
			<description>Art Selector</description>
			<label>89000</label>
			<label2>$VAR[ImageLabelVar]</label2>
			<include>ButtonCommonValues</include>
			<onclick>Skin.SelectBool(89000, 20445|, 89003|TVShows_902_Landscape)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(TVShows)| Container.Content(seasons)]</visible>
		</control>
<!-- 		<control type="radiobutton" id="90221"> -->
<!-- 			<description>Bright Icons</description> -->
<!-- 			<label>90945</label> -->
<!-- 			<include>ButtonCommonValues</include> -->
<!-- 			<onclick>Skin.ToggleSetting(TVShows_902_BrightIcons)</onclick> -->
<!-- 			<visible>Control.IsVisible(902) + [Container.Content(TVShows)| Container.Content(seasons)]</visible> -->
<!-- 		</control> -->
		<control type="radiobutton" id="90222">
			<description>Disable Icon Zoom</description>
			<label>90946</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(TVShows_902_StaticIcons)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(TVShows)| Container.Content(seasons)]</visible>
		</control>
		<control type="radiobutton" id="90223">
			<description>Hide Reflections</description>
			<label>90960</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(TVShows_902_HideReflections)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(TVShows)| Container.Content(seasons)]</visible>
		</control>
		<control type="radiobutton" id="90224">
			<description>Hide Labels</description>
			<label>90950</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(TVShows_902_HideLabels)</onclick>
			<visible>Control.IsVisible(902) + [Container.Content(TVShows)| Container.Content(seasons)]</visible>
		</control>
		<control type="button" id="90231">
			<description>Art Selector</description>
			<label>89000</label>
			<label2>$VAR[ImageLabelVar]</label2>
			<include>ButtonCommonValues</include>
			<onclick>Skin.SelectBool(89000, 20445|, 89001|KeibertzPlusSnaps, 89002|KeibertzPlusTitles)</onclick>
			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible>
		</control>
<!-- 		<control type="radiobutton" id="90232"> -->
<!-- 			<description>Bright Icons</description> -->
<!-- 			<label>90945</label> -->
<!-- 			<include>ButtonCommonValues</include> -->
<!-- 			<onclick>Skin.ToggleSetting(Games_902_BrightIcons)</onclick> -->
<!-- 			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible> -->
<!-- 		</control> -->
		<control type="radiobutton" id="90233">
			<description>Disable Icon Zoom</description>
			<label>90946</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Games_902_StaticIcons)</onclick>
			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible>
		</control>
		<control type="radiobutton" id="90234">
			<description>Hide Reflections</description>
			<label>90960</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Games_902_HideReflections)</onclick>
			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible>
		</control>
		<control type="radiobutton" id="90235">
			<description>Hide Labels</description>
			<label>90950</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(Games_902_HideLabels)</onclick>
			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible>
		</control>
		<control type="radiobutton" id="90236">
			<description>Autoplay Trailers</description>
			<label>90949</label>
			<include>ButtonCommonValues</include>
			<onclick>Skin.ToggleSetting(KeibertzPlusTrailers)</onclick>
			<onclick condition="Player.HasVideo">PlayerControl(stop)</onclick>
			<visible>Control.IsVisible(902) + $EXP[GameSupport]</visible>
		</control>
	</include>
	<!-- layout_includes -->
	<include name="KeibertzPlusLayoutDefault">
		<control type="label">
            <left>100</left>
            <top>720</top>
            <width>1000</width>
            <height>60</height>
            <align>left</align>
            <aligny>center</aligny>
            <font>font35_title</font>
            <label>$INFO[ListItem.Label]</label>			
            <textcolor>TitleTextColor</textcolor>
            <shadowcolor>shadow</shadowcolor>
            <scroll>true</scroll>
        </control>
		<control type="label">
			<left>100</left>
			<top>800</top>
			<width max="555">auto</width>
			<height>40</height>
			<align>left</align>
			<aligny>center</aligny>
			<font>font15</font>
			<label>[UPPERCASE]$INFO[ListItem.Year]  [COLOR=TitleTextColor]•[/COLOR]  $INFO[ListItem.Genre][/UPPERCASE]</label>
			<textcolor>AltTextColor</textcolor>
			<shadowcolor>shadow</shadowcolor>
			<scroll>false</scroll>
		</control>
		<control type="textbox">
            <left>100</left>
            <top>890</top>
            <width>1126</width>
            <height>125</height>
            <align>justify</align>
            <font>font13</font>
            <label>$INFO[ListItem.Plot]</label>			
            <textcolor>NormalTextColor</textcolor>
            <shadowcolor>shadow</shadowcolor>
            <autoscroll time="2000" delay="3000" repeat="5000">!Skin.HasSetting(Disable.AutoScroll) + Control.HasFocus(902)</autoscroll>
        </control>
        <control type="image">
            <left>606r</left>
            <top>720</top>
            <width>526</width>
            <height>300</height>
            <texture>black.png</texture>
            <aspectratio>stretch</aspectratio>
			<bordertexture border="5" colordiffuse="BorderDiffuse">listselect_fo.png</bordertexture>
			<bordersize>5</bordersize>	
        </control>
		<control type="videowindow">
			<left>601r</left>
			<top>725</top>
			<width>516</width>
			<height>290</height>
			<visible>$EXP[GameSupport]</visible>
		</control>
        <control type="image">
            <left>606r</left>
            <top>720</top>
            <width>526</width>
            <height>300</height>
			<fadetime>400</fadetime>
            <texture background="true">$VAR[MainFanartWindowVar]</texture>
            <aspectratio align="center" aligny="center">keep</aspectratio>
			<bordersize>5</bordersize>
			<animation type="Conditional" condition="Player.HasVideo" reversible="false">
				<effect type="fade" start="100" end="0" time="400" />
			</animation>			
        </control>
	</include>
</includes>