<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">3010</defaultcontrol>
	<include>dialogeffect</include>
	<controls>
		<control type="group">
			<control type="image">
				<left>30</left>
				<top>60</top>
				<width>1860</width>
				<height>960</height>
				<texture border="40">dialogs/default/bg.png</texture>
				<animation effect="fade" reversible="false" end="95" time="0" condition="true">Conditional</animation>
			</control>
			<control type="label" id="1">
				<left>61</left>
				<top>60</top>
				<width min="80" max="1400">auto</width>
				<height>100</height>
				<font>font35_title</font>
				<label>$ADDON[script.skin.helper.service 32011]</label>
				<align>left</align>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="panel" id="3110">
				<viewtype label="536">icons</viewtype>
				<top>100</top>
				<left>60</left>
				<width>1798</width>
				<height>765</height>
				<orientation>vertical</orientation>
				<onleft>3110</onleft>
				<onright>3110</onright>
				<onup>3010</onup>
				<ondown>3010</ondown>
				<preloaditems>4</preloaditems>
				<itemlayout height="76" width="128" condition="StringCompare(Window.Property(palettename),basic)">
					<control type="image">
						<width>123</width>
						<height>71</height>
						<texture diffuse="diffuse_color_picker.png">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout height="76" width="128" condition="StringCompare(Window.Property(palettename),basic)">
					<control type="group">
						<animation effect="zoom" time="300" tween="sine" easing="inout" start="100" end="180" center="70,40">Focus</animation>
						<control type="image">
							<width>123</width>
							<height>71</height>
							<texture border="10">color_picker_shadow.png</texture>
						</control>
						<control type="image">
							<posx>4</posx>
							<posy>4</posy>
							<width>123</width>
							<height>71</height>
							<texture diffuse="diffuse_color_picker.png">$INFO[ListItem.Icon]</texture>
						</control>
					</control>
				</focusedlayout>
				<itemlayout height="45" width="58" condition="!StringCompare(Window.Property(palettename),basic) + !StringCompare(Window.Property(palettename),material-design)">
					<control type="image">
						<width>53</width>
						<height>40</height>
						<texture diffuse="diffuse_color_picker.png">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout height="60" width="90" condition="!StringCompare(Window.Property(palettename),basic) + !StringCompare(Window.Property(palettename),material-design)">
					<control type="group">
						<animation effect="zoom" time="300" tween="sine" easing="inout" start="100" end="180" center="70,40">Focus</animation>
						<control type="image">
							<width>90</width>
							<height>60</height>
							<texture border="10">color_picker_shadow.png</texture>
						</control>
						<control type="image">
							<posx>4</posx>
							<posy>4</posy>
							<width>82</width>
							<height>52</height>
							<texture diffuse="diffuse_color_picker.png">$INFO[ListItem.Icon]</texture>
						</control>
					</control>
				</focusedlayout>
				<itemlayout height="40" width="125" condition="StringCompare(Window.Property(palettename),material-design)">
					<control type="image">
						<width>120</width>
						<height>35</height>
						<texture border="5">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout height="40" width="125" condition="StringCompare(Window.Property(palettename),material-design)">
					<control type="group">
						<animation effect="zoom" time="300" tween="sine" easing="inout" start="100" end="180" center="70,40">Focus</animation>
						<control type="image">
							<width>120</width>
							<height>35</height>
							<texture border="10">color_picker_shadow.png</texture>
						</control>
						<control type="image">
							<width>120</width>
							<height>35</height>
							<texture border="5">$INFO[ListItem.Icon]</texture>
						</control>
					</control>
				</focusedlayout>
			</control>
			<!-- Color Swatch -->
			<control type="image">
				<top>870</top>
				<left>61</left>
				<width>140</width>
				<height>140</height>
				<texture border="5" diffuse="diffuse_color_picker.png">panel.png</texture>
				<colordiffuse>$INFO[Window.Property(colorstring)]</colordiffuse>
			</control>
			<control type="grouplist">
				<orientation>horizontal</orientation>
				<itemgap>10</itemgap>
				<left>205</left>
				<top>945</top>
				<width>1800</width>
				<control type="button" id="3030">
					<top>870</top>
					<left>60</left>
					<width>auto</width>
					<align>left</align>
					<onup>3110</onup>
					<ondown>3110</ondown>
					<label>$ADDON[script.skin.helper.service 32141]: $INFO[Window.Property(palettename)]</label>
					<visible>!IsEmpty(Window.Property(palettename))</visible>
				</control>
				<!-- Edit Button -->
				<control type="button" id="3010">
					<width>400</width>
					<height>60</height>
					<onup>3110</onup>
					<ondown>3110</ondown>
					<align>left</align>
					<label>$ADDON[script.skin.helper.service 32012]</label>
					<label2>[UPPERCASE]$INFO[Window.Property(colorstring)][/UPPERCASE]</label2>
				</control>
				<!-- Save Button -->
				<control type="button" id="3012">
					<width>auto</width>
					<height>60</height>
					<onup>3110</onup>
					<ondown>3110</ondown>
					<label>190</label>
				</control>
				<!-- None Button -->
				<control type="button" id="3011">
					<width>auto</width>
					<height>60</height>
					<onup>3110</onup>
					<ondown>3110</ondown>
					<onright>3020</onright>
					<label>$ADDON[script.skin.helper.service 32013]</label>
				</control>
				<control type="group" id="3020">
					<width>510</width>
					<!-- Opacity label + Slider -->
					<control type="label" id="3016">
						<width>130</width>
						<height>60</height>
						<label>$ADDON[script.skin.helper.service 32049]:</label>
						<textcolor>white</textcolor>
					</control>
					<control type="slider" id="3015">
						<left>130</left>
						<top>10</top>
						<onup>3011</onup>
						<ondown>3011</ondown>
						<width>200</width>
						<height>30</height>
						<aligny>center</aligny>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<texturesliderbar>osd_slider_bg_2.png</texturesliderbar>
						<textureslidernib>osd_slider_nibNF.png</textureslidernib>
						<textureslidernibfocus>osd_slider_nib.png</textureslidernibfocus>
					</control>
					<control type="label" id="3017">
						<left>380</left>
						<height>60</height>
						<label>$INFO[Control.Getlabel(3015)]</label>
						<textcolor>white</textcolor>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>