<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="129">
	<defaultcontrol always="true">3110</defaultcontrol>
	<backgroundcolor>0</backgroundcolor>
	<controls>
		<include>GlobalBackground</include>
		<control type="group">
			<include>Furniture_NowPlaying</include>
			<include>Furniture_HeaderEmby</include>
			<include>Furniture_EmbyClock</include>
		</control>
		<!--Header -->
		<control type="label" id="1">
			<posx>770</posx>
			<posy>50</posy>
			<width>auto</width>
			<font>Large</font>
			<label>$ADDON[script.skin.helper.service 32011]</label>
			<align>left</align>
		</control>

		<!-- choose color palette -->
		<control type="button" id="3030">
			<width>600</width>
			<height>50</height>
			<right>61</right>
			<posy>85</posy>
			<font>Medium</font>
			<align>right</align>
			<ondown>3110</ondown>
			<label>$ADDON[script.skin.helper.service 32141]: $INFO[Window.Property(palettename)]</label>
			<textoffsetx>10</textoffsetx>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<visible>!IsEmpty(Window.Property(palettename))</visible>
		</control>

		<control type="panel" id="3110">
			<viewtype label="31438">icons</viewtype>
			<left>NewSidePad</left>
			<right>NewSidePad</right>
			<top>TopPad</top>
			<width>1900</width>
			<height>714</height>
			<orientation>vertical</orientation>
			<onleft>3110</onleft>
			<onright>3110</onright>
			<onup>3030</onup>
			<ondown>3010</ondown>
			<preloaditems>4</preloaditems>
			<pagecontrol>60</pagecontrol>
			<itemlayout height="45" width="59.375" condition="!StringCompare(Window.Property(palettename),basic)">
				<control type="image">
					<texture border="5">$INFO[ListItem.Icon]</texture>
				</control>
			</itemlayout>
			<focusedlayout height="45" width="59.375" condition="!StringCompare(Window.Property(palettename),basic)">
				<control type="group">
					<animation effect="zoom" time="00" tween="sine" easing="inout" start="100" end="300" center="auto">Focus</animation>
					<control type="image">
						<texture>$INFO[ListItem.Icon]</texture>
						<bordertexture border="5">common/black-back.png</bordertexture>
					</control>
				</control>
			</focusedlayout>
			<itemlayout height="76" width="126.666667" condition="StringCompare(Window.Property(palettename),basic)">
				<control type="image">
					<texture border="5">$INFO[ListItem.Icon]</texture>
				</control>
			</itemlayout>
			<focusedlayout height="76" width="126.66667" condition="StringCompare(Window.Property(palettename),basic)">
				<control type="group">
					<animation effect="zoom" time="00" tween="sine" easing="inout" start="100" end="164" center="auto">Focus</animation>
					<control type="image">
						<texture border="5">$INFO[ListItem.Icon]</texture>
					</control>
				</control>
			</focusedlayout>
		</control>

		<!--current color name-->
		<!--<control type="label">
            <left>60</left>
            <top>920</top>
            <width>600</width>
            <height>40</height>
            <label>$INFO[Window.Property(colorname)]</label>
            <align>left</align>
            <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
            <shadowcolor>black</shadowcolor>
        </control>-->

		<control type="grouplist">
			<orientation>horizontal</orientation>
			<itemgap>20</itemgap>
			<left>NewSidePad</left>
			<top>910</top>
			<width>1900</width>
			<!-- color preview-->
			<control type="image">
				<width>68</width>
				<height>68</height>
				<aspectratio>stretch</aspectratio>
				<texture border="5">common/box.png</texture>
				<colordiffuse>$INFO[Window.Property(colorstring)]</colordiffuse>
			</control>
			<!-- edit manual -->
			<control type="button" id="3010">
				<onup>3110</onup>
				<align>left</align>
				<ondown>SetFocus(3110)</ondown>
				<onright>3011</onright>
				<label>Color:</label>
				<label2>$INFO[Window.Property(colorstring)]</label2>
				<font>Button</font>
				<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
				<width>290</width>
				<height>68</height>
				<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
				<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
			</control>

			<!-- Save button -->
			<control type="button" id="3012">
				<onup>3110</onup>
				<onleft>3010</onleft>
				<label>190</label>
				<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
				<font>Button</font>
				<width>200</width>
				<height>68</height>
				<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
				<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
			</control>

			<!-- Cancel -->
			<control type="button" id="3090">
				<onup>3110</onup>
				<onleft>3010</onleft>
				<ondown>SetFocus(3110)</ondown>
				<onclick>Close</onclick>
				<label>Cancel</label>
				<font>Button</font>
				<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
				<width>225</width>
				<height>68</height>
				<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
				<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
			</control>

			<!-- None -->
			<control type="button" id="3011">
				<visible>False</visible>
				<onup>3110</onup>
				<onleft>3010</onleft>
				<ondown>SetFocus(3110)</ondown>
				<label>$ADDON[script.skin.helper.service 32013]</label>
				<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
				<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
				<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
			</control>

			<control type="group" id="3020">
				<width>410</width>
				<height>68</height>
				<control type="label" id="3016">
					<!-- label opacity-->
					<font>Button</font>
					<width>130</width>
					<left>0</left>
					<align>left</align>
					<onup>3110</onup>
					<label>$ADDON[script.skin.helper.service 32049]:</label>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
					<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
				</control>
				<control type="slider" id="3015">
					<!-- opacity slider -->
					<top>25</top>
					<left>130</left>
					<onup>3012</onup>
					<ondown>3012</ondown>
					<onclick>3012</onclick>
					<width>200</width>
					<colordiffuse>$VAR[EmbyMenuTextColourHighlight]</colordiffuse>
				</control>

				<control type="label" id="3017">
					<!-- opacity percentage -->
					<font>Button</font>
					<width>80</width>
					<height>68</height>
					<right>0</right>
					<align>right</align>
					<onup>3110</onup>
					<onleft>3010</onleft>
					<label>$INFO[Control.Getlabel(3015)]</label>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<texturefocus colordiffuse="$VAR[ColourHighlight]">common/box.png</texturefocus>
					<texturenofocus colordiffuse="$VAR[DisabledColour]">common/box.png</texturenofocus>
				</control>
			</control>
		</control>
	</controls>
</window>