Advertisement
Guest User

DialogButtonMenu - Modded.xml

a guest
Oct 21st, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.00 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window type="buttonMenu">
  3.     <defaultcontrol>9001</defaultcontrol>
  4.     <include>dialogeffect</include>
  5.     <coordinates>
  6.         <left>0</left>
  7.         <top>0</top>
  8.     </coordinates>
  9.     <controls>
  10.         <control type="button" id="9001">
  11.             <description>Make sure we hit the first button in the group list and not the close window button</description>
  12.             <left>-16</left>
  13.             <top>-16</top>
  14.             <width>4</width>
  15.             <height>4</height>
  16.             <label>-</label>
  17.             <font>-</font>
  18.             <onfocus>down</onfocus>
  19.             <texturefocus>-</texturefocus>
  20.             <texturenofocus>-</texturenofocus>
  21.             <onleft>9000</onleft>
  22.             <onright>9000</onright>
  23.             <onup>9000</onup>
  24.             <ondown>2</ondown>
  25.         </control>
  26.         <control type="image">
  27.             <left>0</left>
  28.             <top>0</top>
  29.             <width>1280</width>
  30.             <height>720</height>
  31.             <texture>black-back.png</texture>
  32.         </control>
  33.         <control type="grouplist" id="9000">
  34.             <left>470</left>
  35.             <top>0</top>
  36.             <width>340</width>
  37.             <height>720</height>
  38.             <onleft>9000</onleft>
  39.             <onright>9000</onright>
  40.             <onup>9000</onup>
  41.             <ondown>9000</ondown>
  42.             <itemgap>0</itemgap>
  43.             <align>center</align>
  44.             <control type="group" id="1">
  45.                 <width>340</width>
  46.                 <height>30</height>
  47.                 <control type="image">
  48.                     <description>background top image</description>
  49.                     <left>0</left>
  50.                     <top>0</top>
  51.                     <width>340</width>
  52.                     <height>30</height>
  53.                     <texture border="20,19,20,0">DialogContextTop.png</texture>
  54.                 </control>
  55.                 <control type="button" id="20">
  56.                     <description>Close Window button</description>
  57.                     <left>260</left>
  58.                     <top>5</top>
  59.                     <width>64</width>
  60.                     <height>32</height>
  61.                     <label>-</label>
  62.                     <font>-</font>
  63.                     <onclick>PreviousMenu</onclick>
  64.                     <texturefocus>DialogCloseButton-focus.png</texturefocus>
  65.                     <texturenofocus>DialogCloseButton.png</texturenofocus>
  66.                     <onleft>2</onleft>
  67.                     <onright>14</onright>
  68.                     <onup>14</onup>
  69.                     <ondown>2</ondown>
  70.                     <visible>system.getbool(input.enablemouse)</visible>
  71.                 </control>
  72.             </control>
  73.             <control type="button" id="2">
  74.                 <description>Exit button</description>
  75.                 <width>340</width>
  76.                 <height>40</height>
  77.                 <textcolor>grey2</textcolor>
  78.                 <focusedcolor>white</focusedcolor>
  79.                 <align>center</align>
  80.                 <textwidth>290</textwidth>
  81.                 <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  82.                 <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  83.                 <onclick condition="!Skin.HasSetting(MinimizeOnExit)">Quit()</onclick>
  84.                 <onclick condition="Skin.HasSetting(MinimizeOnExit)">Minimize</onclick>
  85.                 <pulseonselect>no</pulseonselect>
  86.                 <font>font13</font>
  87.                 <label>13012</label>
  88.                 <visible>System.ShowExitButton</visible>
  89.             </control>
  90.             <control type="image" id="15">
  91.                 <description>background bottom image</description>
  92.                 <left>0</left>
  93.                 <width>340</width>
  94.                 <height>25</height>
  95.                 <texture border="20,0,19,20">DialogContextBottom.png</texture>
  96.             </control>
  97.         </control>
  98.     </controls>
  99. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement