<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">155</defaultcontrol>
	<zorder>0</zorder>
	<include>dialogeffect</include>
	<controls>
		<control type="image">
			<description>Background fade</description>
			<width>100%</width>
			<height>100%</height>
			<texture>emby-bg-fade.png</texture>
		</control>
		
		<control type="group">
			<width>715</width>
			<left>32%</left>
			<top>20%</top>
			<control type="image">
				<description>Background box</description>
				<texture border="6" colordiffuse="ff111111">white.png</texture>
				<width>100%</width>
				<height>525</height>
			</control>

			<control type="image">
				<description>Emby logo</description>
				<texture>logo-white.png</texture>
				<aspectratio>keep</aspectratio>
				<width>120</width>
				<height>49</height>
				<top>30</top>
				<left>25</left>
			</control>

			<control type="label">
				<description>Please sign in</description>
				<label>$ADDON[plugin.video.emby 30612]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<aligny>top</aligny>
				<align>center</align>
				<top>80</top>
				<width>100%</width>
			</control>

			<control type="group">
				<top>100</top>
				<width>620</width>
				<height>245</height>
				<left>50</left>
				<control type="list" id="155">
					<description>Select User</description>
					<focusposition>0</focusposition>
					<width>100%</width>
					<top>40</top>
					<onleft>155</onleft>
					<onright>155</onright>
					<ondown>200</ondown>
					<pagecontrol>60</pagecontrol>
					<orientation>horizontal</orientation>
					<scrolltime tween="sine" easing="out">250</scrolltime>
					<itemlayout width="155">
						<control type="group">
							<width>150</width>
							<control type="image">
								<description>User image</description>
								<colordiffuse>ff888888</colordiffuse>
								<info>ListItem.Icon</info>
								<aspectratio>keep</aspectratio>
								<width>100%</width>
								<height>150</height>
							</control>

							<control type="image">
								<description>Background label</description>
								<texture colordiffuse="ff222222">white.png</texture>
								<width>100%</width>
								<height>50</height>
								<top>150</top>
							</control>

							<control type="label">
								<width>100%</width>
								<align>center</align>
								<height>50</height>
								<top>150</top>
								<font>font10</font>
								<textcolor>white</textcolor>
								<info>ListItem.Label</info>
							</control>
						</control>
					</itemlayout>
					<focusedlayout width="155">
						<control type="group">
							<width>150</width>
							<control type="image">
								<description>User image</description>
								<info>ListItem.Icon</info>
								<aspectratio>keep</aspectratio>
								<width>100%</width>
								<height>150</height>
								<visible>Control.HasFocus(155)</visible>
							</control>
							<control type="image">
								<description>User image</description>
								<colordiffuse>ff888888</colordiffuse>
								<info>ListItem.Icon</info>
								<aspectratio>keep</aspectratio>
								<width>100%</width>
								<height>150</height>
								<visible>!Control.HasFocus(155)</visible>
							</control>

							<control type="image">
								<description>Background label</description>
								<texture colordiffuse="ff333333">white.png</texture>
								<width>100%</width>
								<height>50</height>
								<top>150</top>
								<visible>Control.HasFocus(155)</visible>
							</control>
							<control type="image">
								<description>Background label</description>
								<texture colordiffuse="ff222222">white.png</texture>
								<width>100%</width>
								<height>50</height>
								<top>150</top>
								<visible>!Control.HasFocus(155)</visible>
							</control>

							<control type="label">
								<width>100%</width>
								<align>center</align>
								<height>50</height>
								<top>150</top>
								<font>font10</font>
								<textcolor>white</textcolor>
								<info>ListItem.Label</info>
							</control>
						</control>
					</focusedlayout>
				</control>

				<control type="scrollbar" id="60">
					<top>100%</top>
					<width>615</width>
					<height>5</height>
					<onleft>155</onleft>
					<onleft>60</onleft>
					<onright>60</onright>
					<texturesliderbackground colordiffuse="ff000000" border="4">box.png</texturesliderbackground>
					<texturesliderbar colordiffuse="ff222222" border="4">box.png</texturesliderbar>
					<texturesliderbarfocus colordiffuse="ff222222" border="4">box.png</texturesliderbarfocus>
					<showonepage>false</showonepage>
					<orientation>horizontal</orientation>
				</control>

				<control type="group">
					<width>615</width>
					<height>325</height>
					<top>100%</top>
					<control type="group">
						<control type="button" id="200">
							<description>Manual Login button</description>
							<texturenofocus border="5" colordiffuse="ff464646">box.png</texturenofocus>
							<texturefocus border="5" colordiffuse="ff585858">box.png</texturefocus>
							<label>[UPPERCASE][B]$ADDON[plugin.video.emby 30540][/B][/UPPERCASE]</label>
							<align>center</align>
							<width>100%</width>
							<height>50</height>
							<top>35</top>
							<font>font10</font>
							<textcolor>ffa6a6a6</textcolor>
							<focusedcolor>white</focusedcolor>
							<ondown>201</ondown>
							<onup>155</onup>
						</control>

						<control type="button" id="201">
							<description>Cancel</description>
							<texturenofocus border="5" colordiffuse="ff464646">box.png</texturenofocus>
							<texturefocus border="5" colordiffuse="ff585858">box.png</texturefocus>
							<label>[UPPERCASE][B]$ADDON[plugin.video.emby 30606][/B][/UPPERCASE]</label>
							<font>font10</font>
							<textcolor>ffa6a6a6</textcolor>
							<focusedcolor>white</focusedcolor>
							<align>center</align>
							<width>100%</width>
							<height>50</height>
							<top>90</top>
							<onup>200</onup>
						</control>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>