Advertisement
Guest User

DialogSelect.XML

a guest
Oct 19th, 2014
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 18.55 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window type="dialog">
  3.     <zorder>1</zorder>
  4.     <defaultcontrol always="true">3</defaultcontrol>
  5.     <coordinates>
  6.         <system>1</system>
  7.         <left>215</left>
  8.         <top>35</top>
  9.     </coordinates>
  10.     <include>dialogeffect</include>
  11.     <controls>
  12.         <control type="group">
  13.             <animation effect="slide" start="0,0" end="0,60" time="0" condition="!Control.IsVisible(5) + !IntegerGreaterThan(Container(3).NumItems,4)">Conditional</animation>
  14.             <animation effect="slide" start="0,0" end="0,60" time="0" condition="!Control.IsVisible(5) + !IntegerGreaterThan(Container(3).NumItems,6)">Conditional</animation>
  15.             <animation effect="slide" start="0,0" end="0,60" time="0" condition="!Control.IsVisible(5) + !IntegerGreaterThan(Container(3).NumItems,8)">Conditional</animation>
  16.             <control type="group">
  17.                 <visible>Control.IsVisible(5)</visible>
  18.                 <control type="image">
  19.                     <description>background image</description>
  20.                     <left>0</left>
  21.                     <top>0</top>
  22.                     <width>850</width>
  23.                     <height>630</height>
  24.                     <texture border="40">$VAR[SelectBack]</texture>
  25.                 </control>
  26.                 <control type="image">
  27.                     <description>Dialog Header image</description>
  28.                     <left>40</left>
  29.                     <top>16</top>
  30.                     <width>770</width>
  31.                     <height>40</height>
  32.                     <texture>dialogheader.png</texture>
  33.                 </control>
  34.                 <control type="label" id="1">
  35.                     <description>header label</description>
  36.                     <left>40</left>
  37.                     <top>20</top>
  38.                     <width>770</width>
  39.                     <height>30</height>
  40.                     <font>font13_title</font>
  41.                     <label>$LOCALIZE[13406]</label>
  42.                     <align>center</align>
  43.                     <aligny>center</aligny>
  44.                     <textcolor>selected</textcolor>
  45.                     <shadowcolor>black</shadowcolor>
  46.                 </control>
  47.             </control>
  48.             <control type="group">
  49.                 <left>120</left>
  50.                 <visible>!Control.IsVisible(5)</visible>
  51.                 <control type="image">
  52.                     <description>background image</description>
  53.                     <left>0</left>
  54.                     <top>0</top>
  55.                     <width>610</width>
  56.                     <height>630</height>
  57.                     <texture border="40">$VAR[SelectBack]</texture>
  58.                     <visible>IntegerGreaterThan(Container(3).NumItems,8)</visible>
  59.                 </control>
  60.                 <control type="image">
  61.                     <description>background image</description>
  62.                     <left>0</left>
  63.                     <top>0</top>
  64.                     <width>610</width>
  65.                     <height>550</height>
  66.                     <texture border="40">$VAR[SelectBack]</texture>
  67.                     <visible>IntegerGreaterThan(Container(3).NumItems,6) + !IntegerGreaterThan(Container(3).NumItems,8)</visible>
  68.                 </control>
  69.                 <control type="image">
  70.                     <description>background image</description>
  71.                     <left>0</left>
  72.                     <top>0</top>
  73.                     <width>610</width>
  74.                     <height>370</height>
  75.                     <texture border="40">$VAR[SelectBack]</texture>
  76.                     <visible>IntegerGreaterThan(Container(3).NumItems,4) + !IntegerGreaterThan(Container(3).NumItems,6)</visible>
  77.                 </control>
  78.                 <control type="image">
  79.                     <description>background image</description>
  80.                     <left>0</left>
  81.                     <top>0</top>
  82.                     <width>610</width>
  83.                     <height>280</height>
  84.                     <texture border="40">$VAR[SelectBack]</texture>
  85.                     <visible>!IntegerGreaterThan(Container(3).NumItems,4)</visible>
  86.                 </control>
  87.                 <control type="image">
  88.                     <description>Dialog Header image</description>
  89.                     <left>40</left>
  90.                     <top>16</top>
  91.                     <width>530</width>
  92.                     <height>40</height>
  93.                     <texture>dialogheader.png</texture>
  94.                 </control>
  95.                 <control type="label" id="1">
  96.                     <description>header label</description>
  97.                     <left>40</left>
  98.                     <top>20</top>
  99.                     <width>530</width>
  100.                     <height>30</height>
  101.                     <font>font13_title</font>
  102.                     <label>$LOCALIZE[13406]</label>
  103.                     <align>center</align>
  104.                     <aligny>center</aligny>
  105.                     <textcolor>selected</textcolor>
  106.                     <shadowcolor>black</shadowcolor>
  107.                 </control>
  108.             </control>
  109.             <control type="button">
  110.                 <description>Close Window button</description>
  111.                 <left>760</left>
  112.                 <top>15</top>
  113.                 <width>64</width>
  114.                 <height>32</height>
  115.                 <label>-</label>
  116.                 <font>-</font>
  117.                 <onclick>PreviousMenu</onclick>
  118.                 <texturefocus>DialogCloseButton-focus.png</texturefocus>
  119.                 <texturenofocus>DialogCloseButton.png</texturenofocus>
  120.                 <onleft>10</onleft>
  121.                 <onright>10</onright>
  122.                 <onup>10</onup>
  123.                 <ondown>10</ondown>
  124.                 <animation effect="slide" end="-120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  125.                 <visible>system.getbool(input.enablemouse)</visible>
  126.             </control>
  127.             <control type="list" id="3">
  128.                 <left>20</left>
  129.                 <top>67</top>
  130.                 <width>550</width>
  131.                 <height>506</height>
  132.                 <onup>3</onup>
  133.                 <ondown>3</ondown>
  134.                 <onleft>5</onleft>
  135.                 <onright>61</onright>
  136.                 <pagecontrol>61</pagecontrol>
  137.                 <scrolltime>200</scrolltime>
  138.                 <animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(61)">Conditional</animation>
  139.                 <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  140.                 <itemlayout height="46" width="550">
  141.                     <control type="image">
  142.                         <left>0</left>
  143.                         <top>0</top>
  144.                         <width>550</width>
  145.                         <height>40</height>
  146.                         <texture border="5">button-nofocus.png</texture>
  147.                     </control>
  148.                     <control type="label">
  149.                         <left>20</left>
  150.                         <top>0</top>
  151.                         <width>510</width>
  152.                         <height>40</height>
  153.                         <font>font13</font>
  154.                         <textcolor>grey2</textcolor>
  155.                         <selectedcolor>selected</selectedcolor>
  156.                         <align>left</align>
  157.                         <aligny>center</aligny>
  158.                         <label>$INFO[ListItem.Label]</label>
  159.                     </control>
  160.                 </itemlayout>
  161.                 <focusedlayout height="46" width="550">
  162.                     <control type="image">
  163.                         <left>0</left>
  164.                         <top>0</top>
  165.                         <width>550</width>
  166.                         <height>40</height>
  167.                         <texture border="5">button-nofocus.png</texture>
  168.                         <visible>!Control.HasFocus(3)</visible>
  169.                         <include>VisibleFadeEffect</include>
  170.                     </control>
  171.                     <control type="image">
  172.                         <left>0</left>
  173.                         <top>0</top>
  174.                         <width>550</width>
  175.                         <height>40</height>
  176.                         <texture border="5">button-focus2.png</texture>
  177.                         <visible>Control.HasFocus(3)</visible>
  178.                         <include>VisibleFadeEffect</include>
  179.                     </control>
  180.                     <control type="label">
  181.                         <left>20</left>
  182.                         <top>0</top>
  183.                         <width>510</width>
  184.                         <height>40</height>
  185.                         <font>font13</font>
  186.                         <textcolor>white</textcolor>
  187.                         <selectedcolor>selected</selectedcolor>
  188.                         <align>left</align>
  189.                         <aligny>center</aligny>
  190.                         <label>$INFO[ListItem.Label]</label>
  191.                     </control>
  192.                 </focusedlayout>
  193.             </control>
  194.             <control type="list" id="6">
  195.                 <left>20</left>
  196.                 <top>65</top>
  197.                 <width>550</width>
  198.                 <height>510</height>
  199.                 <onup>6</onup>
  200.                 <ondown>6</ondown>
  201.                 <onleft>5</onleft>
  202.                 <onright>61</onright>
  203.                 <pagecontrol>61</pagecontrol>
  204.                 <scrolltime>200</scrolltime>
  205.                 <animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(61)">Conditional</animation>
  206.                 <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  207.                 <itemlayout height="85" width="550">
  208.                     <control type="image">
  209.                         <left>0</left>
  210.                         <top>0</top>
  211.                         <width>550</width>
  212.                         <height>80</height>
  213.                         <texture border="5">button-nofocus.png</texture>
  214.                     </control>
  215.                     <control type="image">
  216.                         <left>2</left>
  217.                         <top>2</top>
  218.                         <width>80</width>
  219.                         <height>76</height>
  220.                         <texture>$INFO[Listitem.Icon]</texture>
  221.                         <aspectratio>keep</aspectratio>
  222.                         <bordertexture border="3">black-back2.png</bordertexture>
  223.                         <bordersize>2</bordersize>
  224.                     </control>
  225.                     <control type="label">
  226.                         <left>90</left>
  227.                         <top>0</top>
  228.                         <width>450</width>
  229.                         <height>30</height>
  230.                         <font>font13</font>
  231.                         <textcolor>grey</textcolor>
  232.                         <selectedcolor>selected</selectedcolor>
  233.                         <align>left</align>
  234.                         <aligny>center</aligny>
  235.                         <label>[B]$INFO[ListItem.Label][/B]</label>
  236.                     </control>
  237.                     <control type="textbox">
  238.                         <left>90</left>
  239.                         <top>30</top>
  240.                         <width>450</width>
  241.                         <height>50</height>
  242.                         <font>font12</font>
  243.                         <textcolor>grey</textcolor>
  244.                         <selectedcolor>selected</selectedcolor>
  245.                         <align>left</align>
  246.                         <label>$INFO[ListItem.Property(Addon.Summary)]</label>
  247.                     </control>
  248.                 </itemlayout>
  249.                 <focusedlayout height="85" width="550">
  250.                     <control type="image">
  251.                         <left>0</left>
  252.                         <top>0</top>
  253.                         <width>550</width>
  254.                         <height>80</height>
  255.                         <texture border="5">button-nofocus.png</texture>
  256.                         <visible>!Control.HasFocus(6)</visible>
  257.                         <include>VisibleFadeEffect</include>
  258.                     </control>
  259.                     <control type="image">
  260.                         <left>0</left>
  261.                         <top>0</top>
  262.                         <width>550</width>
  263.                         <height>80</height>
  264.                         <texture border="5">button-focus2.png</texture>
  265.                         <visible>Control.HasFocus(6)</visible>
  266.                         <include>VisibleFadeEffect</include>
  267.                     </control>
  268.                     <control type="image">
  269.                         <left>2</left>
  270.                         <top>2</top>
  271.                         <width>80</width>
  272.                         <height>76</height>
  273.                         <texture>$INFO[Listitem.Icon]</texture>
  274.                         <aspectratio>keep</aspectratio>
  275.                         <bordertexture border="3">black-back2.png</bordertexture>
  276.                         <bordersize>2</bordersize>
  277.                     </control>
  278.                     <control type="label">
  279.                         <left>90</left>
  280.                         <top>0</top>
  281.                         <width>450</width>
  282.                         <height>30</height>
  283.                         <font>font13</font>
  284.                         <textcolor>white</textcolor>
  285.                         <selectedcolor>selected</selectedcolor>
  286.                         <align>left</align>
  287.                         <aligny>center</aligny>
  288.                         <label>[B]$INFO[ListItem.Label][/B]</label>
  289.                     </control>
  290.                     <control type="textbox">
  291.                         <left>90</left>
  292.                         <top>30</top>
  293.                         <width>450</width>
  294.                         <height>50</height>
  295.                         <font>font12</font>
  296.                         <textcolor>grey</textcolor>
  297.                         <selectedcolor>selected</selectedcolor>
  298.                         <align>left</align>
  299.                         <label>$INFO[ListItem.Property(Addon.Summary)]</label>
  300.                     </control>
  301.                 </focusedlayout>
  302.             </control>
  303.             <control type="scrollbar" id="61">
  304.                 <left>570</left>
  305.                 <top>65</top>
  306.                 <width>25</width>
  307.                 <height>510</height>
  308.                 <texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
  309.                 <texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
  310.                 <texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
  311.                 <textureslidernib>ScrollBarNib.png</textureslidernib>
  312.                 <textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
  313.                 <onleft>3</onleft>
  314.                 <onright>5</onright>
  315.                 <ondown>61</ondown>
  316.                 <onup>61</onup>
  317.                 <showonepage>false</showonepage>
  318.                 <orientation>vertical</orientation>
  319.                 <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  320.             </control>
  321.             <control type="label">
  322.                 <description>number of files/pages in list text label</description>
  323.                 <left>275</left>
  324.                 <top>572</top>
  325.                 <width>550</width>
  326.                 <height>35</height>
  327.                 <font>font12</font>
  328.                 <align>right</align>
  329.                 <aligny>center</aligny>
  330.                 <scroll>true</scroll>
  331.                 <textcolor>grey</textcolor>
  332.                 <label>([COLOR=blue]$INFO[Container(3).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(3).CurrentPage]/$INFO[Container(3).NumPages][/COLOR])</label>
  333.                 <animation effect="slide" end="-120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  334.                 <visible>Control.IsVisible(3)</visible>
  335.                 <visible>IntegerGreaterThan(Container(3).NumItems,8)</visible>
  336.             </control>
  337.             <control type="label">
  338.                 <description>number of files/pages in list text label</description>
  339.                 <left>275</left>
  340.                 <top>572</top>
  341.                 <width>550</width>
  342.                 <height>35</height>
  343.                 <font>font12</font>
  344.                 <align>right</align>
  345.                 <aligny>center</aligny>
  346.                 <scroll>true</scroll>
  347.                 <textcolor>grey</textcolor>
  348.                 <label>([COLOR=blue]$INFO[Container(6).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(6).CurrentPage]/$INFO[Container(6).NumPages][/COLOR])</label>
  349.                 <wrapmultiline>true</wrapmultiline>
  350.                 <animation effect="slide" end="-120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
  351.                 <visible>Control.IsVisible(6)</visible>
  352.                 <visible>IntegerGreaterThan(Container(6).NumItems,8)</visible>
  353.             </control>
  354.             <control type="button" id="5">
  355.                 <description>Manual button</description>
  356.                 <left>615</left>
  357.                 <top>107</top>
  358.                 <width>200</width>
  359.                 <height>40</height>
  360.                 <label>186</label>
  361.                 <font>font12_title</font>
  362.                 <textcolor>white</textcolor>
  363.                 <focusedcolor>white</focusedcolor>
  364.                 <align>center</align>
  365.                 <onleft>3</onleft>
  366.                 <onright>3</onright>
  367.             </control>
  368.             <control type="group">
  369.                 <left>610</left>
  370.                 <top>320</top>
  371.                 <visible>Control.IsVisible(6) + Control.IsVisible(5)</visible>
  372.                 <control type="image">
  373.                     <left>0</left>
  374.                     <top>0</top>
  375.                     <width>210</width>
  376.                     <height>210</height>
  377.                     <texture border="5">button-nofocus.png</texture>
  378.                 </control>
  379.                 <control type="image">
  380.                     <left>5</left>
  381.                     <top>5</top>
  382.                     <width>200</width>
  383.                     <height>200</height>
  384.                     <aspectratio>keep</aspectratio>
  385.                     <texture background="true">$INFO[Container(6).ListItem.Icon]</texture>
  386.                 </control>
  387.             </control>
  388.         </control>
  389.     </controls>
  390. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement