Advertisement
Guest User

Untitled

a guest
Jan 12th, 2011
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.09 KB | None | 0 0
  1. <window type="buttonMenu" id="111">
  2.     <defaultcontrol always="true">13</defaultcontrol>
  3.     <include>dialogeffect</include>
  4.     <coordinates>
  5.         <system>1</system>
  6.         <posx>0</posx>
  7.         <posy>0</posy>
  8.     </coordinates>
  9.     <controls>
  10.         <control type="image">
  11.             <posx>0</posx>
  12.             <posy>0</posy>
  13.             <width>1280</width>
  14.             <height>720</height>
  15.             <texture>black-back.png</texture>
  16.         </control>
  17.         <control type="image">
  18.             <posx>0</posx>
  19.             <posy>0</posy>
  20.             <width>1280</width>
  21.             <height>720</height>
  22.             <texture>black-back.png</texture>
  23.             <colordiffuse>99FFFFFF</colordiffuse>
  24.         </control>
  25.         <control type="group">
  26.             <posx>305</posx>
  27.             <posy>245</posy>
  28.             <control type="image">
  29.                 <posx>0</posx>
  30.                 <posy>0</posy>
  31.                 <width>670</width>
  32.                 <height>210</height>
  33.                 <texture border="20">OverlayDialogBackground.png</texture>
  34.                 <visible>!System.HasAlarm(shutdowntimer)</visible>
  35.             </control>
  36.             <control type="image">
  37.                 <posx>0</posx>
  38.                 <posy>0</posy>
  39.                 <width>670</width>
  40.                 <height>235</height>
  41.                 <texture border="20">OverlayDialogBackground.png</texture>
  42.                 <visible>System.HasAlarm(shutdowntimer)</visible>
  43.             </control>
  44.             <control type="image">
  45.                 <posx>10</posx>
  46.                 <posy>5</posy>
  47.                 <width>650</width>
  48.                 <height>60</height>
  49.                 <aspectratio>stretch</aspectratio>
  50.                 <texture>GlassTitleBar.png</texture>
  51.             </control>
  52.             <control type="button">
  53.                 <description>Close Window button</description>
  54.                 <posx>570</posx>
  55.                 <posy>5</posy>
  56.                 <width>64</width>
  57.                 <height>32</height>
  58.                 <label>-</label>
  59.                 <font>-</font>
  60.                 <onclick>PreviousMenu</onclick>
  61.                 <texturefocus>DialogCloseButton-focus.png</texturefocus>
  62.                 <texturenofocus>DialogCloseButton.png</texturenofocus>
  63.                 <onleft>13</onleft>
  64.                 <onright>13</onright>
  65.                 <onup>13</onup>
  66.                 <ondown>13</ondown>
  67.                 <visible>system.getbool(input.enablemouse)</visible>
  68.             </control>
  69.             <control type="label" id="3100">
  70.                 <description>Label control</description>
  71.                 <posx>10</posx>
  72.                 <posy>15</posy>
  73.                 <width>650</width>
  74.                 <height>35</height>
  75.                 <label>-</label>
  76.                 <align>center</align>
  77.                 <aligny>center</aligny>
  78.                 <font>font24_title</font>
  79.                 <textcolor>white</textcolor>
  80.                 <shadowcolor>black</shadowcolor>
  81.             </control>
  82.             <control type="image">
  83.                 <posx>10</posx>
  84.                 <posy>60</posy>
  85.                 <width>650</width>
  86.                 <height>100</height>
  87.                 <aspectratio>stretch</aspectratio>
  88.                 <texture>GlassTitleBar.png</texture>
  89.                 <colordiffuse>99FFFFFF</colordiffuse>
  90.             </control>
  91.             <control type="grouplist">
  92.                 <posx>15</posx>
  93.                 <posy>85</posy>
  94.                 <width>640</width>
  95.                 <itemgap>20</itemgap>
  96.                 <align>center</align>
  97.                 <orientation>Horizontal</orientation>
  98.                 <control type="togglebutton" id="9">
  99.                     <description>Master mode button</description>
  100.                     <width>90</width>
  101.                     <height>90</height>
  102.                     <label>20046</label>
  103.                     <altlabel>20045</altlabel>
  104.                     <texturefocus>ButtonMenuMasterFO.png</texturefocus>
  105.                     <texturenofocus>ButtonMenuMasterNF.png</texturenofocus>
  106.                     <usealttexture>!System.IsMaster</usealttexture>
  107.                     <alttexturefocus>ButtonMenuNoMasterFO.png</alttexturefocus>
  108.                     <alttexturenofocus>ButtonMenuNoMasterNF.png</alttexturenofocus>
  109.                     <onclick>xbmc.mastermode</onclick>
  110.                     <pulseonselect>no</pulseonselect>
  111.                     <font>-</font>
  112.                     <visible>System.HasLocks</visible>
  113.                 </control>
  114.                 <control type="button" id="10">
  115.                     <description>LogOff Profile</description>
  116.                     <width>90</width>
  117.                     <height>90</height>
  118.                     <texturefocus>ButtonMenuLogOffFO.png</texturefocus>
  119.                     <texturenofocus>ButtonMenuLogOffNF.png</texturenofocus>
  120.                     <onclick>dialog.close(all,true)</onclick>
  121.                     <onclick>System.LogOff</onclick>
  122.                     <pulseonselect>no</pulseonselect>
  123.                     <font>-</font>
  124.                     <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
  125.                     <visible>System.HasLoginScreen</visible>
  126.                     <visible>System.Loggedon</visible>
  127.                 </control>
  128.                 <control type="button" id="11">
  129.                     <description>Exit xbmc</description>
  130.                     <width>90</width>
  131.                     <height>90</height>
  132.                     <texturefocus>ButtonMenuExitFO.png</texturefocus>
  133.                     <texturenofocus>ButtonMenuExitNF.png</texturenofocus>
  134.                     <onclick>XBMC.Quit()</onclick>
  135.                     <pulseonselect>no</pulseonselect>
  136.                     <font>-</font>
  137.                     <label>$LOCALIZE[13012]</label>
  138.                 </control>
  139.                 <control type="group" id="13">
  140.                     <width>90</width>
  141.                     <defaultcontrol always="true">15</defaultcontrol>
  142.                     <control type="button" id="18">
  143.                         <description>120min Shutdown Timer button</description>
  144.                         <posx>0</posx>
  145.                         <posy>0</posy>
  146.                         <width>90</width>
  147.                         <height>90</height>
  148.                         <texturefocus>-</texturefocus>
  149.                         <texturenofocus>-</texturenofocus>
  150.                         <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown(),120)</onclick>
  151.                         <pulseonselect>no</pulseonselect>
  152.                         <font>-</font>
  153.                         <label>20149</label>
  154.                         <onleft>11</onleft>
  155.                         <onright>12</onright>
  156.                         <onup>17</onup>
  157.                         <ondown>16</ondown>
  158.                     </control>
  159.                     <control type="button" id="17">
  160.                         <description>Cancel Shutdown Timer button</description>
  161.                         <posx>0</posx>
  162.                         <posy>0</posy>
  163.                         <width>90</width>
  164.                         <height>90</height>
  165.                         <texturefocus>-</texturefocus>
  166.                         <texturenofocus>-</texturenofocus>
  167.                         <onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
  168.                         <pulseonselect>no</pulseonselect>
  169.                         <font>-</font>
  170.                         <label>20151</label>
  171.                         <onleft>11</onleft>
  172.                         <onright>12</onright>
  173.                         <onup>15</onup>
  174.                         <ondown>18</ondown>
  175.                         <visible>System.HasAlarm(shutdowntimer)</visible>
  176.                     </control>
  177.                     <control type="button" id="16">
  178.                         <description>Custom Shutdown Timer button</description>
  179.                         <posx>0</posx>
  180.                         <posy>0</posy>
  181.                         <width>90</width>
  182.                         <height>90</height>
  183.                         <texturefocus>-</texturefocus>
  184.                         <texturenofocus>-</texturenofocus>
  185.                         <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
  186.                         <pulseonselect>no</pulseonselect>
  187.                         <font>-</font>
  188.                         <label>20150</label>
  189.                         <onleft>11</onleft>
  190.                         <onright>12</onright>
  191.                         <onup>18</onup>
  192.                         <ondown>15</ondown>
  193.                     </control>
  194.                     <control type="button" id="15">
  195.                         <description>Shutdown button</description>
  196.                         <posx>0</posx>
  197.                         <posy>0</posy>
  198.                         <width>90</width>
  199.                         <height>90</height>
  200.                         <texturefocus>-</texturefocus>
  201.                         <texturenofocus>ButtonMenuShutdownNF.png</texturenofocus>
  202.                         <onclick>XBMC.Shutdown()</onclick>
  203.                         <pulseonselect>no</pulseonselect>
  204.                         <font>-</font>
  205.                         <label>13005</label>
  206.                         <onleft>11</onleft>
  207.                         <onright>12</onright>
  208.                         <onup>16</onup>
  209.                         <ondown>17</ondown>
  210.                     </control>
  211.                     <control type="image">
  212.                         <description>Shutdown focus image</description>
  213.                         <posx>0</posx>
  214.                         <posy>0</posy>
  215.                         <width>90</width>
  216.                         <height>90</height>
  217.                         <texture>ButtonMenuShutdownFO.png</texture>
  218.                         <visible>Control.HasFocus(15) | Control.HasFocus(16) | Control.HasFocus(17)</visible>
  219.                     </control>
  220.                 </control>
  221.                 <control type="button" id="12">
  222.                     <description>Suspend xbmc</description>
  223.                     <width>90</width>
  224.                     <height>90</height>
  225.                     <texturefocus>ButtonMenuSleepFO.png</texturefocus>
  226.                     <texturenofocus>ButtonMenuSleepNF.png</texturenofocus>
  227.                     <onclick>XBMC.Suspend()</onclick>
  228.                     <pulseonselect>no</pulseonselect>
  229.                     <font>-</font>
  230.                     <label>$LOCALIZE[13011]</label>
  231.                 </control>
  232.                 <control type="button" id="14">
  233.                     <description>Reboot button</description>
  234.                     <width>90</width>
  235.                     <height>90</height>
  236.                     <texturefocus>ButtonMenuRestartFO.png</texturefocus>
  237.                     <texturenofocus>ButtonMenuRestartNF.png</texturenofocus>
  238.                     <onclick>XBMC.Reset()</onclick>
  239.                     <pulseonselect>no</pulseonselect>
  240.                     <font>-</font>
  241.                     <label>13013</label>
  242.                 </control>
  243.             </control>
  244.             <control type="group">
  245.                 <posx>270</posx>
  246.                 <posy>70</posy>
  247.                 <visible>ControlGroup(13).HasFocus</visible>
  248.                 <include>VisibleFadeEffect</include>
  249.                 <animation effect="slide" start="0,0" end="55,0" time="0" condition="System.HasLocks">Conditional</animation>
  250.                 <animation effect="slide" start="0,0" end="55,0" time="0" condition="System.HasLoginScreen + System.LoggedOn">Conditional</animation>
  251.                 <control type="image">
  252.                     <description>Shutdown Arrow Up image</description>
  253.                     <posx>0</posx>
  254.                     <posy>0</posy>
  255.                     <width>20</width>
  256.                     <height>15</height>
  257.                     <texture>ArrowUp.png</texture>
  258.                 </control>
  259.                 <control type="image">
  260.                     <description>Shutdown Arrow Down image</description>
  261.                     <posx>0</posx>
  262.                     <posy>107</posy>
  263.                     <width>20</width>
  264.                     <height>15</height>
  265.                     <texture>ArrowDown.png</texture>
  266.                 </control>
  267.             </control>
  268.             <control type="label">
  269.                 <posx>10</posx>
  270.                 <posy>190</posy>
  271.                 <width>650</width>
  272.                 <height>35</height>
  273.                 <font>font12</font>
  274.                 <textcolor>white</textcolor>
  275.                 <shadowcolor>black</shadowcolor>
  276.                 <align>center</align>
  277.                 <aligny>center</aligny>
  278.                 <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
  279.                 <visible>System.HasAlarm(shutdowntimer)</visible>
  280.             </control>
  281.         </control>
  282.     </controls>
  283. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement