Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <window type="buttonMenu">
- <defaultcontrol>9001</defaultcontrol>
- <include>dialogeffect</include>
- <coordinates>
- <system>1</system>
- <posx>0</posx>
- <posy>0</posy>
- </coordinates>
- <controls>
- <control type="button" id="9001">
- <description>Make sure we hit the first button in the group list and not the close window button</description>
- <posx>-16</posx>
- <posy>-16</posy>
- <width>4</width>
- <height>4</height>
- <label>-</label>
- <font>-</font>
- <onfocus>down</onfocus>
- <texturefocus>-</texturefocus>
- <texturenofocus>-</texturenofocus>
- <onleft>9000</onleft>
- <onright>9000</onright>
- <onup>9000</onup>
- <ondown>2</ondown>
- </control>
- <control type="image">
- <posx>0</posx>
- <posy>0</posy>
- <width>1280</width>
- <height>720</height>
- <texture>black-back.png</texture>
- </control>
- <control type="grouplist" id="9000">
- <posx>470</posx>
- <posy>0</posy>
- <width>340</width>
- <height>720</height>
- <onleft>9000</onleft>
- <onright>9000</onright>
- <onup>9000</onup>
- <ondown>9000</ondown>
- <itemgap>0</itemgap>
- <align>center</align>
- <control type="group" id="1">
- <width>340</width>
- <height>30</height>
- <control type="image">
- <description>background top image</description>
- <posx>0</posx>
- <posy>0</posy>
- <width>340</width>
- <height>30</height>
- <texture border="20,19,20,0">DialogContextTop.png</texture>
- </control>
- <control type="button" id="20">
- <description>Close Window button</description>
- <posx>260</posx>
- <posy>5</posy>
- <width>64</width>
- <height>32</height>
- <label>-</label>
- <font>-</font>
- <onclick>PreviousMenu</onclick>
- <texturefocus>DialogCloseButton-focus.png</texturefocus>
- <texturenofocus>DialogCloseButton.png</texturenofocus>
- <onleft>2</onleft>
- <onright>13</onright>
- <onup>13</onup>
- <ondown>2</ondown>
- <visible>system.getbool(input.enablemouse)</visible>
- </control>
- </control>
- <control type="button" id="2">
- <description>Shutdown button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.Powerdown()</onclick>
- <visible>System.CanPowerDown</visible>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13016</label>
- </control>
- <control type="button" id="3">
- <description>Exit button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.Quit()</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13012</label>
- <visible>System.ShowExitButton</visible>
- </control>
- <control type="button" id="4">
- <description>Custom Shutdown Timer</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>20150</label>
- <visible>!System.HasAlarm(shutdowntimer)</visible>
- <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
- </control>
- <control type="button" id="5">
- <description>Cancel Shutdown Timer</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>20151</label>
- <visible>System.HasAlarm(shutdowntimer)</visible>
- </control>
- <control type="button" id="6">
- <description>Suspend button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.Suspend()</onclick>
- <visible>System.CanSuspend</visible>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13011</label>
- </control>
- <control type="button" id="7">
- <description>Hibernate button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.Hibernate()</onclick>
- <visible>System.CanHibernate</visible>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13010</label>
- </control>
- <control type="button" id="8">
- <description>Reboot button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.Reset()</onclick>
- <visible>System.CanReboot</visible>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13013</label>
- </control>
- <control type="button" id="9">
- <description>Logoff button</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>dialog.close(all,true)</onclick>
- <onclick>System.LogOff</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
- <visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
- <visible>System.Loggedon</visible>
- </control>
- <control type="togglebutton" id="10">
- <description>Master mode button</description>
- <width>340</width>
- <height>40</height>
- <label>20046</label>
- <altlabel>20045</altlabel>
- <align>center</align>
- <aligny>center</aligny>
- <textwidth>290</textwidth>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <usealttexture>!System.IsMaster</usealttexture>
- <alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
- <alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
- <onclick>xbmc.mastermode</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <visible>System.HasLocks</visible>
- </control>
- <control type="group" id="11">
- <width>340</width>
- <height>70</height>
- <visible>System.HasAlarm(shutdowntimer)</visible>
- <control type="image">
- <description>background top image</description>
- <posx>0</posx>
- <posy>0</posy>
- <width>340</width>
- <height>70</height>
- <texture border="25,5,25,5">DialogContextMiddle.png</texture>
- </control>
- <control type="textbox">
- <posx>25</posx>
- <posy>20</posy>
- <width>290</width>
- <height>50</height>
- <font>font12</font>
- <textcolor>white</textcolor>
- <shadowcolor>black</shadowcolor>
- <align>center</align>
- <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
- </control>
- </control>
- <control type="button" id="12">
- <description>Inhibit idle shutdown</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.InhibitIdleShutdown(true)</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13017</label>
- <visible>System.HasShutdown +!System.IsInhibit</visible>
- </control>
- <control type="button" id="13">
- <description>Allow idle shutdown</description>
- <width>340</width>
- <height>40</height>
- <textcolor>grey2</textcolor>
- <focusedcolor>white</focusedcolor>
- <align>center</align>
- <textwidth>290</textwidth>
- <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
- <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
- <onclick>XBMC.InhibitIdleShutdown(false)</onclick>
- <pulseonselect>no</pulseonselect>
- <font>font13</font>
- <label>13018</label>
- <visible>System.HasShutdown + System.IsInhibit</visible>
- </control>
- <control type="image" id="14">
- <description>background bottom image</description>
- <posx>0</posx>
- <width>340</width>
- <height>25</height>
- <texture border="20,0,19,20">DialogContextBottom.png</texture>
- </control>
- </control>
- </controls>
- </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement