<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1119">
 <defaultcontrol always="true">5000</defaultcontrol>
 <controls>
	<control type="group">
	  <include>CommonDialogsAnimation</include>
		<visible>!Window.IsActive(DialogSelect.xml) + !Window.IsActive(VirtualKeyboard) + !Window.IsActive(FileBrowser) + !Window.IsActive(ProgressDialog)</visible>
		<include content="DialogsPanel">
			<param name="group_left" value="308"/>
			<param name="group_top" value="225"/>
			<param name="group_width" value="658"/>
			<param name="body_width" value="658"/>
			<param name="body_height" value="239"/>
			<param name="header_line_width" value="654"/>
			<param name="header_label" value="$LOCALIZE[31377]"/>
			<param name="header_width" value="620"/>
			<param name="countitems_visible" value="false"/>
		</include>
		<control type="image">
			<description>background image</description>
			<include>FullscreenDimensions</include>
			<texture background="true">dialogs/other/bg_customitems.png</texture>
		</control>

    <!-- Custom Items -->
  	<control type="group" id="10010">
  		<control type="grouplist" id="5000">
  			<left>328</left>
  			<top>297</top>
  			<width>170</width>
  			<height>149</height>
  			<itemgap>4</itemgap>
  			<onleft>10000</onleft>
  			<onright>6000</onright>
  			<onup>5000</onup>
  			<ondown>5000</ondown>
  			<control type="button" id="5001">
  				<description>Custom Item 1</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 1</label>
  				<onfocus>SetProperty(EditCustomItems,customitem1,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5002">
  				<description>Custom Item 2</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 2</label>
  				<onfocus>SetProperty(EditCustomItems,customitem2,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5003">
  				<description>Custom Item 3</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 3</label>
  				<onfocus>SetProperty(EditCustomItems,customitem3,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5004">
  				<description>Custom Item 4</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 4</label>
  				<onfocus>SetProperty(EditCustomItems,customitem4,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5005">
  				<description>Custom Item 5</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 5</label>
  				<onfocus>SetProperty(EditCustomItems,customitem5,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5006">
  				<description>Custom Item 6</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 6</label>
  				<onfocus>SetProperty(EditCustomItems,customitem6,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5007">
  				<description>Custom Item 7</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 7</label>
  				<onfocus>SetProperty(EditCustomItems,customitem7,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5008">
  				<description>Custom Item 8</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 8</label>
  				<onfocus>SetProperty(EditCustomItems,customitem8,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5009">
  				<description>Custom Item 9</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 9</label>
  				<onfocus>SetProperty(EditCustomItems,customitem9,SkinSettings)</onfocus>
  			</control>
  			<control type="button" id="5010">
  				<description>Custom Item 10</description>
  			  <width>170</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[31378] 10</label>
  				<onfocus>SetProperty(EditCustomItems,customitem10,SkinSettings)</onfocus>
  			</control>
  		</control>
  
  		<control type="grouplist" id="6000">
  			<left>502</left>
  			<top>297</top>
  			<width>450</width>
  			<height>149</height>
  			<itemgap>4</itemgap>
  			<onleft>5000</onleft>
  			<onright>10000</onright>
  			<onup>6000</onup>
  			<ondown>6000</ondown>
  			<scrolltime>250</scrolltime>
  			<control type="button" id="4101">
  				<description>Select Item</description>
  			  <width>450</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[573] $VAR[CustomItemNumber]</label>
  				<label2>[COLOR=$VAR[Text.GlobalColor]]$VAR[CustomItemPath][/COLOR]</label2>
  				<onclick>RunScript(script.skinshortcuts,type=shortcuts&amp;skinLabel=CustomItem.$VAR[CustomItemNumber].Label&amp;skinAction=CustomItem.$VAR[CustomItemNumber].Path&amp;skinThumbnail=CustomItem.$VAR[CustomItemNumber].Thumb&amp;showNone=True)</onclick>
  			</control>
  			<control type="button" id="4102">
  				<description>edit Thumb</description>
  			  <width>450</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[21371] $VAR[CustomItemNumber]</label>
  				<onclick>Skin.SetImage(CustomItem.$VAR[CustomItemNumber].Thumb)</onclick>
  			</control>
  			<control type="button" id="4103">
  				<description>edit Label</description>
  			  <width>450</width>
          <include>DialogsButton</include>
  				<label>$LOCALIZE[21899] $VAR[CustomItemNumber]</label>
  				<label2>[COLOR=$VAR[Text.GlobalColor]]$VAR[CustomItemLabel][/COLOR]</label2>
  				<onclick>Skin.SetString(CustomItem.$VAR[CustomItemNumber].Label)</onclick>
  			</control>
  		</control>
  		<control type="image">
  			<left>901</left>
  			<top>344</top>
  			<width>55</width>
  			<height>55</height>
  			<aspectratio align="center" aligny="center">scale</aspectratio>
  			<texture background="true" fallback="DefaultShortcut.png">$VAR[CustomItemThumb]</texture>
  			<bordertexture border="6">thumbs/thumb_border.png</bordertexture>
  			<bordersize>6</bordersize>
  		</control>
		</control>

    <!-- Control Buttons -->
	  <control type="group"  id="10000">
			<left>974</left>
			<top>415</top>
  		<control type="button" id="10">
				<description>Save</description>
	      <include>DialogsButtonsText</include>
    		<texturefocus border="49,0,49,0">dialogs/buttons/add_focus.png</texturefocus>
    		<texturenofocus border="49,0,49,0">dialogs/buttons/add_nofocus.png</texturenofocus>
  			<onleft>10010</onleft>
  			<onright>10010</onright>
  			<onup>10</onup>
  			<ondown>10</ondown>
				<label>$LOCALIZE[20177]</label>
				<onclick>Close</onclick>
  		</control>
	  </control>
	</control>
 </controls>
</window>


