Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <window type="buttonMenu">
- <defaultcontrol>9000</defaultcontrol>
- <coordinates>
- <left>0</left>
- <top>0</top>
- </coordinates>
- <controls>
- <include>fadebackground</include>
- <control type="image">
- <!-- Dialog background image -->
- <left>660</left>
- <top>153</top>
- <width>570</width>
- <height>768</height>
- <texture border="14">button-menu-background.png</texture>
- </control>
- <control type="label">
- <!-- Dialog heading -->
- <left>675</left>
- <top>168</top>
- <width>540</width>
- <height>45</height>
- <label>$LOCALIZE[31558]$INFO[Container(9000).NumItems,(,)]</label>
- <font>apptv25</font>
- <align>center</align>
- </control>
- <control type="button">
- <!-- Touch mouse close button -->
- <left>1200</left>
- <top>135</top>
- <width>48</width>
- <height>48</height>
- <texturefocus>touch-close.png</texturefocus>
- <texturenofocus>touch-close.png</texturenofocus>
- <onclick>Close</onclick>
- <visible>$EXP[isEnabledTouch]</visible>
- </control>
- <control type="image">
- <left>675</left>
- <top>222</top>
- <width>540</width>
- <height>6</height>
- <texture>separator.png</texture>
- </control>
- <control type="panel" id="9000">
- <left>675</left>
- <top>231</top>
- <width>540</width>
- <height>675</height>
- <onleft>Close</onleft>
- <onright>Close</onright>
- <onup>Close</onup>
- <ondown>Close</ondown>
- <aligny>top</aligny>
- <itemlayout width="540" height="75">
- <control type="image">
- <left>0</left>
- <top>0</top>
- <width>540</width>
- <height>75</height>
- <texture border="9">button-default.png</texture>
- </control>
- <control type="label">
- <left>23</left>
- <top>20</top>
- <width>495</width>
- <height>36</height>
- <font>apptv22</font>
- <label>$INFO[ListItem.Label]</label>
- </control>
- </itemlayout>
- <focusedlayout width="540" height="75">
- <control type="image">
- <left>0</left>
- <top>0</top>
- <width>540</width>
- <height>75</height>
- <texture border="9">button-default-focus.png</texture>
- </control>
- <control type="label">
- <left>23</left>
- <top>20</top>
- <width>495</width>
- <height>36</height>
- <font>apptv22</font>
- <label>$INFO[ListItem.Label]</label>
- </control>
- </focusedlayout>
- <content>
- <item>
- </item>
- <item>
- <label>$LOCALIZE[13016]</label>
- <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
- <onclick>Powerdown()</onclick>
- <visible>System.CanPowerDown</visible>
- </item>
- <item>
- <label>$LOCALIZE[20150]</label>
- <onclick>AlarmClock(shutdowntimer,ShutDown())</onclick>
- <visible>!System.HasAlarm(shutdowntimer) + [System.CanPowerDown | System.CanSuspend | System.CanHibernate]</visible>
- </item>
- <item>
- <label>$LOCALIZE[20151] $INFO[System.AlarmPos,(,)]</label>
- <onclick>CancelAlarm(shutdowntimer)</onclick>
- <visible>System.HasAlarm(shutdowntimer)</visible>
- </item>
- <item>
- <label>$LOCALIZE[13011]</label>
- <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
- <onclick>Suspend()</onclick>
- <visible>System.CanSuspend</visible>
- </item>
- <item>
- <label>$LOCALIZE[13010]</label>
- <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
- <onclick>Hibernate()</onclick>
- <visible>System.CanHibernate</visible>
- </item>
- <item>
- <label>$LOCALIZE[13013]</label>
- <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
- <onclick>Reset()</onclick>
- <visible>System.CanReboot</visible>
- </item>
- <item>
- <label>$LOCALIZE[31554]</label>
- <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
- <onclick>System.ExecWait("/usr/sbin/rebootfromnand")</onclick>
- <onclick>Reset()</onclick>
- <visible>System.Platform.Linux</visible>
- </item>
- <item>
- <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
- <onclick>Dialog.Close(all,true)</onclick>
- <onclick>System.LogOff</onclick>
- <visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.Loggedon</visible>
- </item>
- <item>
- <label>$VAR[MasterModeLabel]</label>
- <onclick>mastermode</onclick>
- <visible>System.HasLocks</visible>
- </item>
- <item>
- <label>$LOCALIZE[13017]</label>
- <onclick>InhibitIdleShutdown(true)</onclick>
- <visible>System.HasShutdown +!System.IsInhibit</visible>
- </item>
- <item>
- <label>$LOCALIZE[13018]</label>
- <onclick>InhibitIdleShutdown(false)</onclick>
- <visible>System.HasShutdown + System.IsInhibit</visible>
- </item>
- </content>
- </control>
- </controls>
- </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement