Advertisement
Guest User

XBMC DialogueButtonMenu.xml.backup

a guest
Jan 12th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.29 KB | None | 0 0
  1. <window type="buttonMenu">
  2. <defaultcontrol>9001</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="button" id="9001">
  11. <description>Make sure we hit the first button in the group list and not the close window button</description>
  12. <posx>-16</posx>
  13. <posy>-16</posy>
  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. <posx>0</posx>
  28. <posy>0</posy>
  29. <width>1280</width>
  30. <height>720</height>
  31. <texture>black-back.png</texture>
  32. </control>
  33. <control type="grouplist" id="9000">
  34. <posx>470</posx>
  35. <posy>0</posy>
  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. <posx>0</posx>
  50. <posy>0</posy>
  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. <posx>260</posx>
  58. <posy>5</posy>
  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>13</onright>
  68. <onup>13</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>XBMC.Quit()</onclick>
  84. <pulseonselect>no</pulseonselect>
  85. <font>font13</font>
  86. <label>13012</label>
  87. <visible>System.ShowExitButton</visible>
  88. </control>
  89. <control type="button" id="3">
  90. <description>Shutdown button</description>
  91. <width>340</width>
  92. <height>40</height>
  93. <textcolor>grey2</textcolor>
  94. <focusedcolor>white</focusedcolor>
  95. <align>center</align>
  96. <textwidth>290</textwidth>
  97. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  98. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  99. <onclick>XBMC.Powerdown()</onclick>
  100. <visible>System.CanPowerDown</visible>
  101. <pulseonselect>no</pulseonselect>
  102. <font>font13</font>
  103. <label>13016</label>
  104. </control>
  105. <control type="button" id="4">
  106. <description>Custom Shutdown Timer</description>
  107. <width>340</width>
  108. <height>40</height>
  109. <textcolor>grey2</textcolor>
  110. <focusedcolor>white</focusedcolor>
  111. <align>center</align>
  112. <textwidth>290</textwidth>
  113. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  114. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  115. <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
  116. <pulseonselect>no</pulseonselect>
  117. <font>font13</font>
  118. <label>20150</label>
  119. <visible>!System.HasAlarm(shutdowntimer)</visible>
  120. <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
  121. </control>
  122. <control type="button" id="5">
  123. <description>Cancel Shutdown Timer</description>
  124. <width>340</width>
  125. <height>40</height>
  126. <textcolor>grey2</textcolor>
  127. <focusedcolor>white</focusedcolor>
  128. <align>center</align>
  129. <textwidth>290</textwidth>
  130. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  131. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  132. <onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
  133. <pulseonselect>no</pulseonselect>
  134. <font>font13</font>
  135. <label>20151</label>
  136. <visible>System.HasAlarm(shutdowntimer)</visible>
  137. </control>
  138. <control type="button" id="6">
  139. <description>Suspend button</description>
  140. <width>340</width>
  141. <height>40</height>
  142. <textcolor>grey2</textcolor>
  143. <focusedcolor>white</focusedcolor>
  144. <align>center</align>
  145. <textwidth>290</textwidth>
  146. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  147. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  148. <onclick>XBMC.Suspend()</onclick>
  149. <visible>System.CanSuspend</visible>
  150. <pulseonselect>no</pulseonselect>
  151. <font>font13</font>
  152. <label>13011</label>
  153. </control>
  154. <control type="button" id="7">
  155. <description>Hibernate button</description>
  156. <width>340</width>
  157. <height>40</height>
  158. <textcolor>grey2</textcolor>
  159. <focusedcolor>white</focusedcolor>
  160. <align>center</align>
  161. <textwidth>290</textwidth>
  162. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  163. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  164. <onclick>XBMC.Hibernate()</onclick>
  165. <visible>System.CanHibernate</visible>
  166. <pulseonselect>no</pulseonselect>
  167. <font>font13</font>
  168. <label>13010</label>
  169. </control>
  170. <control type="button" id="8">
  171. <description>Reboot button</description>
  172. <width>340</width>
  173. <height>40</height>
  174. <textcolor>grey2</textcolor>
  175. <focusedcolor>white</focusedcolor>
  176. <align>center</align>
  177. <textwidth>290</textwidth>
  178. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  179. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  180. <onclick>XBMC.Reset()</onclick>
  181. <visible>System.CanReboot</visible>
  182. <pulseonselect>no</pulseonselect>
  183. <font>font13</font>
  184. <label>13013</label>
  185. </control>
  186. <control type="button" id="9">
  187. <description>Logoff button</description>
  188. <width>340</width>
  189. <height>40</height>
  190. <textcolor>grey2</textcolor>
  191. <focusedcolor>white</focusedcolor>
  192. <align>center</align>
  193. <textwidth>290</textwidth>
  194. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  195. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  196. <onclick>dialog.close(all,true)</onclick>
  197. <onclick>System.LogOff</onclick>
  198. <pulseonselect>no</pulseonselect>
  199. <font>font13</font>
  200. <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
  201. <visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
  202. <visible>System.Loggedon</visible>
  203. </control>
  204. <control type="togglebutton" id="10">
  205. <description>Master mode button</description>
  206. <width>340</width>
  207. <height>40</height>
  208. <label>20046</label>
  209. <altlabel>20045</altlabel>
  210. <align>center</align>
  211. <aligny>center</aligny>
  212. <textwidth>290</textwidth>
  213. <textcolor>grey2</textcolor>
  214. <focusedcolor>white</focusedcolor>
  215. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  216. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  217. <usealttexture>!System.IsMaster</usealttexture>
  218. <alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
  219. <alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
  220. <onclick>xbmc.mastermode</onclick>
  221. <pulseonselect>no</pulseonselect>
  222. <font>font13</font>
  223. <visible>System.HasLocks</visible>
  224. </control>
  225. <control type="group" id="11">
  226. <width>340</width>
  227. <height>70</height>
  228. <visible>System.HasAlarm(shutdowntimer)</visible>
  229. <control type="image">
  230. <description>background top image</description>
  231. <posx>0</posx>
  232. <posy>0</posy>
  233. <width>340</width>
  234. <height>70</height>
  235. <texture border="25,5,25,5">DialogContextMiddle.png</texture>
  236. </control>
  237. <control type="textbox">
  238. <posx>25</posx>
  239. <posy>20</posy>
  240. <width>290</width>
  241. <height>50</height>
  242. <font>font12</font>
  243. <textcolor>white</textcolor>
  244. <shadowcolor>black</shadowcolor>
  245. <align>center</align>
  246. <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
  247. </control>
  248. </control>
  249. <control type="button" id="12">
  250. <description>Inhibit idle shutdown</description>
  251. <width>340</width>
  252. <height>40</height>
  253. <textcolor>grey2</textcolor>
  254. <focusedcolor>white</focusedcolor>
  255. <align>center</align>
  256. <textwidth>290</textwidth>
  257. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  258. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  259. <onclick>XBMC.InhibitIdleShutdown(true)</onclick>
  260. <pulseonselect>no</pulseonselect>
  261. <font>font13</font>
  262. <label>13017</label>
  263. <visible>System.HasShutdown +!System.IsInhibit</visible>
  264. </control>
  265. <control type="button" id="13">
  266. <description>Allow idle shutdown</description>
  267. <width>340</width>
  268. <height>40</height>
  269. <textcolor>grey2</textcolor>
  270. <focusedcolor>white</focusedcolor>
  271. <align>center</align>
  272. <textwidth>290</textwidth>
  273. <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
  274. <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
  275. <onclick>XBMC.InhibitIdleShutdown(false)</onclick>
  276. <pulseonselect>no</pulseonselect>
  277. <font>font13</font>
  278. <label>13018</label>
  279. <visible>System.HasShutdown + System.IsInhibit</visible>
  280. </control>
  281. <control type="image" id="14">
  282. <description>background bottom image</description>
  283. <posx>0</posx>
  284. <width>340</width>
  285. <height>25</height>
  286. <texture border="20,0,19,20">DialogContextBottom.png</texture>
  287. </control>
  288. </control>
  289. </controls>
  290. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement