Advertisement
SamHill

IncludeMainMenu

Mar 9th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <includes>
  3.  
  4. <include name="IncludeMainMenu">
  5.  
  6.  
  7.  
  8. <control type="wraplist" id="300">
  9. <description>Home Wraplist</description>
  10. <posx>0</posx>
  11. <posy>-10</posy>
  12. <width>1020</width>
  13. <height>50</height>
  14. <onup>300</onup>
  15. <ondown>300</ondown>
  16. <onleft>300</onleft>
  17. <onright>300</onright>
  18. <focusposition>0</focusposition>
  19. <itemgap>0</itemgap>
  20. <orientation>horizontal</orientation>
  21. <scrolltime>200</scrolltime>
  22.  
  23. <!-- START Main Menu Unselected -->
  24. <itemlayout width="210" height="50">
  25.  
  26. <control type="label">
  27. <posx>90</posx>
  28. <height>50</height>
  29. <width>250</width>
  30. <font>MainMenu</font>
  31. <info>ListItem.Label</info>
  32. <align>center</align>
  33. </control>
  34.  
  35. </itemlayout>
  36. <!-- END Main Menu Unselected -->
  37. <!-- START Main Menu Selected -->
  38. <focusedlayout width="210" height="50">
  39.  
  40. <control type="label">
  41. <posx>100</posx>
  42. <width>250</width>
  43. <height>50</height>
  44. <info>ListItem.Label</info>
  45. <font>MainMenu</font>
  46. <textcolor>white</textcolor>
  47. <align>center</align>
  48. </control>
  49.  
  50.  
  51.  
  52. </focusedlayout>
  53.  
  54.  
  55. <!-- END Main Menu Selected -->
  56. <content>
  57.  
  58. <item id="5">
  59. <description>Movies</description>
  60. <label>31006</label>
  61. <onclick>ActivateWindow(Video,movietitles)</onclick>
  62. <visible>Library.HasContent(Movies)</visible>
  63. </item>
  64.  
  65. <item id="6">
  66. <description>TV Shows</description>
  67. <label>31007</label>
  68. <onclick>ActivateWindow(Video,tvshowtitles)</onclick>
  69. <visible>Library.HasContent(TVShows)</visible>
  70. </item>
  71.  
  72. <item id="3">
  73. <description>Music</description>
  74. <label>31004</label>
  75. <onclick>ActivateWindow(Music)</onclick>
  76. </item>
  77.  
  78. <item id="9">
  79. <description>Weather</description>
  80. <label>31010</label>
  81. <onclick>ActivateWindow(weather)</onclick>
  82. </item>
  83.  
  84. <item id="11">
  85. <description>Settings</description>
  86. <label>31012</label>
  87. <onclick>ActivateWindow(settings)</onclick>
  88. </item>
  89.  
  90. <item id="1">
  91. <description>Programs</description>
  92. <label>31002</label>
  93. <onclick>ActivateWindow(Programs,Addons)</onclick>
  94. </item>
  95.  
  96. <item id="2">
  97. <description>Videos</description>
  98. <label>31003</label>
  99. <onclick>ActivateWindow(Video,Files)</onclick>
  100. </item>
  101.  
  102. <item id="4">
  103. <description>Pictures</description>
  104. <label>31005</label>
  105. <onclick>ActivateWindow(Pictures)</onclick>
  106. </item>
  107.  
  108. <item id="7">
  109. <description>Favourites</description>
  110. <label>31008</label>
  111. <onclick>ActivateWindow(Favourites)</onclick>
  112. </item>
  113.  
  114. <item id="8">
  115. <description>Profiles</description>
  116. <label>31009</label>
  117. <onclick>ActivateWindow(Profiles)</onclick>
  118. </item>
  119.  
  120. <item id="10">
  121. <description>File manager</description>
  122. <label>31011</label>
  123. <onclick>ActivateWindow(filemanager)</onclick>
  124. </item>
  125.  
  126. <item id="12">
  127. <description>Shutdown</description>
  128. <label>31013</label>
  129. <onclick>ActivateWindow(shutdownmenu)</onclick>
  130. </item>
  131.  
  132. <item id="13">
  133. <description>Play Disc</description>
  134. <label>31014</label>
  135. <onclick>PlayDVD</onclick>
  136. <visible>System.HasMediadvd</visible>
  137. </item>
  138.  
  139. </content>
  140.  
  141. </control>
  142.  
  143. </includes>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement