Advertisement
Guest User

Untitled

a guest
Jan 31st, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <window type="buttonMenu">
  3. <defaultcontrol>9000</defaultcontrol>
  4. <coordinates>
  5. <left>0</left>
  6. <top>0</top>
  7. </coordinates>
  8. <controls>
  9. <include>fadebackground</include>
  10. <control type="image">
  11. <!-- Dialog background image -->
  12. <left>660</left>
  13. <top>153</top>
  14. <width>570</width>
  15. <height>768</height>
  16. <texture border="14">button-menu-background.png</texture>
  17. </control>
  18. <control type="label">
  19. <!-- Dialog heading -->
  20. <left>675</left>
  21. <top>168</top>
  22. <width>540</width>
  23. <height>45</height>
  24. <label>$LOCALIZE[31558]$INFO[Container(9000).NumItems,(,)]</label>
  25. <font>apptv25</font>
  26. <align>center</align>
  27. </control>
  28. <control type="button">
  29. <!-- Touch mouse close button -->
  30. <left>1200</left>
  31. <top>135</top>
  32. <width>48</width>
  33. <height>48</height>
  34. <texturefocus>touch-close.png</texturefocus>
  35. <texturenofocus>touch-close.png</texturenofocus>
  36. <onclick>Close</onclick>
  37. <visible>$EXP[isEnabledTouch]</visible>
  38. </control>
  39. <control type="image">
  40. <left>675</left>
  41. <top>222</top>
  42. <width>540</width>
  43. <height>6</height>
  44. <texture>separator.png</texture>
  45. </control>
  46. <control type="panel" id="9000">
  47. <left>675</left>
  48. <top>231</top>
  49. <width>540</width>
  50. <height>675</height>
  51. <onleft>Close</onleft>
  52. <onright>Close</onright>
  53. <onup>Close</onup>
  54. <ondown>Close</ondown>
  55. <aligny>top</aligny>
  56. <itemlayout width="540" height="75">
  57. <control type="image">
  58. <left>0</left>
  59. <top>0</top>
  60. <width>540</width>
  61. <height>75</height>
  62. <texture border="9">button-default.png</texture>
  63. </control>
  64. <control type="label">
  65. <left>23</left>
  66. <top>20</top>
  67. <width>495</width>
  68. <height>36</height>
  69. <font>apptv22</font>
  70. <label>$INFO[ListItem.Label]</label>
  71. </control>
  72. </itemlayout>
  73. <focusedlayout width="540" height="75">
  74. <control type="image">
  75. <left>0</left>
  76. <top>0</top>
  77. <width>540</width>
  78. <height>75</height>
  79. <texture border="9">button-default-focus.png</texture>
  80. </control>
  81. <control type="label">
  82. <left>23</left>
  83. <top>20</top>
  84. <width>495</width>
  85. <height>36</height>
  86. <font>apptv22</font>
  87. <label>$INFO[ListItem.Label]</label>
  88. </control>
  89. </focusedlayout>
  90. <content>
  91. <item>
  92.  
  93. </item>
  94. <item>
  95. <label>$LOCALIZE[13016]</label>
  96. <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
  97. <onclick>Powerdown()</onclick>
  98. <visible>System.CanPowerDown</visible>
  99. </item>
  100. <item>
  101. <label>$LOCALIZE[20150]</label>
  102. <onclick>AlarmClock(shutdowntimer,ShutDown())</onclick>
  103. <visible>!System.HasAlarm(shutdowntimer) + [System.CanPowerDown | System.CanSuspend | System.CanHibernate]</visible>
  104. </item>
  105. <item>
  106. <label>$LOCALIZE[20151] $INFO[System.AlarmPos,(,)]</label>
  107. <onclick>CancelAlarm(shutdowntimer)</onclick>
  108. <visible>System.HasAlarm(shutdowntimer)</visible>
  109. </item>
  110. <item>
  111. <label>$LOCALIZE[13011]</label>
  112. <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
  113. <onclick>Suspend()</onclick>
  114. <visible>System.CanSuspend</visible>
  115. </item>
  116. <item>
  117. <label>$LOCALIZE[13010]</label>
  118. <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
  119. <onclick>Hibernate()</onclick>
  120. <visible>System.CanHibernate</visible>
  121. </item>
  122. <item>
  123. <label>$LOCALIZE[13013]</label>
  124. <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
  125. <onclick>Reset()</onclick>
  126. <visible>System.CanReboot</visible>
  127. </item>
  128. <item>
  129. <label>$LOCALIZE[31554]</label>
  130. <onclick>SetProperty(ShutdownKodi,true,home)</onclick>
  131. <onclick>System.ExecWait("/usr/sbin/rebootfromnand")</onclick>
  132. <onclick>Reset()</onclick>
  133. <visible>System.Platform.Linux</visible>
  134. </item>
  135. <item>
  136. <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
  137. <onclick>Dialog.Close(all,true)</onclick>
  138. <onclick>System.LogOff</onclick>
  139. <visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.Loggedon</visible>
  140. </item>
  141. <item>
  142. <label>$VAR[MasterModeLabel]</label>
  143. <onclick>mastermode</onclick>
  144. <visible>System.HasLocks</visible>
  145. </item>
  146. <item>
  147. <label>$LOCALIZE[13017]</label>
  148. <onclick>InhibitIdleShutdown(true)</onclick>
  149. <visible>System.HasShutdown +!System.IsInhibit</visible>
  150. </item>
  151. <item>
  152. <label>$LOCALIZE[13018]</label>
  153. <onclick>InhibitIdleShutdown(false)</onclick>
  154. <visible>System.HasShutdown + System.IsInhibit</visible>
  155. </item>
  156. </content>
  157. </control>
  158. </controls>
  159. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement