Advertisement
Guest User

home.xml

a guest
Jul 23rd, 2011
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. <window id="0">
  2. <defaultcontrol always="true">300</defaultcontrol>
  3. <allowoverlay>yes</allowoverlay>
  4. <!-- <backgroundcolor>0x0000FF66</backgroundcolor> -->
  5.  
  6. <controls>
  7. <control type="label">
  8. <include>WindowID</include>
  9. <label>Home.xml</label>
  10. </control>
  11. <!-- Backgrounds -->
  12. <control type="image">
  13. <posx>0</posx>
  14. <posy>0</posy>
  15. <width>1920</width>
  16. <height>1080</height>
  17. <texture background="true" fallback="backgrounds/programs-1080.jpg">$INFO[Container(1).ListItem.Thumb]</texture>
  18. <fadetime>600</fadetime>
  19. <visible allowhiddenfocus="true">Control.HasFocus(1)</visible>
  20. </control>
  21. <control type="image">
  22. <posx>0</posx>
  23. <posy>0</posy>
  24. <width>1920</width>
  25. <height>1080</height>
  26. <texture background="true" fallback="backgrounds/videos-1080.jpg">$INFO[Container(2).ListItem.Thumb]</texture>
  27. <fadetime>600</fadetime>
  28. <visible>Control.HasFocus(2)</visible>
  29. </control>
  30. <control type="image">
  31. <posx>0</posx>
  32. <posy>0</posy>
  33. <width>1920</width>
  34. <height>1080</height>
  35. <texture background="true" fallback="backgrounds/music-1080.jpg">$INFO[Container(3).ListItem.Thumb]</texture>
  36. <fadetime>600</fadetime>
  37. <visible>Control.HasFocus(3)</visible>
  38. </control>
  39. <control type="image">
  40. <posx>0</posx>
  41. <posy>0</posy>
  42. <width>1920</width>
  43. <height>1080</height>
  44. <texture background="true" fallback="backgrounds/pictures-1080.jpg">$INFO[Container(4).ListItem.Thumb]</texture>
  45. <fadetime>600</fadetime>
  46. <visible>Control.HasFocus(4)</visible>
  47. </control>
  48. <control type="image">
  49. <posx>0</posx>
  50. <posy>0</posy>
  51. <width>1920</width>
  52. <height>1080</height>
  53. <texture background="true" fallback="backgrounds/films-1080.jpg">$INFO[Container(5).ListItem.Thumb]</texture>
  54. <fadetime>600</fadetime>
  55. <visible>Control.HasFocus(5)</visible>
  56. </control>
  57.  
  58.  
  59. <!-- List -->
  60. <control type="group">
  61. <control type="image">
  62. <visible>true</visible>
  63. <posx>0</posx>
  64. <posy>680</posy>
  65. <width>1920</width>
  66. <height>161</height>
  67. <texture>main-bg.png</texture>
  68. </control>
  69. <control type="wraplist" id="300">
  70. <posx>10</posx>
  71. <posy>700</posy>
  72. <height>125</height>
  73. <width>1900</width>
  74. <orientation>horizontal</orientation>
  75. <focusposition>2</focusposition>
  76. <scrolltime>200</scrolltime>
  77. <itemlayout width="380" height="100">
  78. <control type="label">
  79. <posx>0</posx>
  80. <posy>0</posy>
  81. <height>100</height>
  82. <width>380</width>
  83. <font>Title</font>
  84. <info>ListItem.Label</info>
  85. <align>center</align>
  86. </control>
  87. </itemlayout>
  88. <focusedlayout width="380" height="100">
  89. <control type="label">
  90. <posx>0</posx>
  91. <width>380</width>
  92. <height>100</height>
  93. <info>ListItem.Label</info>
  94. <font>TitleFocus</font>
  95. <textcolor>blue</textcolor>
  96. <align>center</align>
  97. </control>
  98. </focusedlayout>
  99.  
  100. <content>
  101.  
  102. <item id="1">
  103. <description>Programs</description>
  104. <label>31002</label>
  105. <onclick>ActivateWindow(Programs,Addons)</onclick>
  106. </item>
  107.  
  108. <item id="2">
  109. <description>Videos</description>
  110. <label>31003</label>
  111. <onclick>ActivateWindow(VideoFiles)</onclick>
  112. </item>
  113.  
  114. <item id="3">
  115. <description>Music</description>
  116. <label>31004</label>
  117. <onclick>ActivateWindow(Music)</onclick>
  118. </item>
  119.  
  120. <item id="4">
  121. <description>Pictures</description>
  122. <label>31005</label>
  123. <onclick>ActivateWindow(Pictures)</onclick>
  124. </item>
  125.  
  126. <item id="5">
  127. <description>Movies</description>
  128. <label>31006</label>
  129. <onclick>ActivateWindow(MyVideoLibrary,movietitles)</onclick>
  130. <visible>Library.HasContent(Movies)</visible>
  131. </item>
  132.  
  133. <item id="6">
  134. <description>TV Shows</description>
  135. <label>31007</label>
  136. <onclick>ActivateWindow(MyVideoLibrary,tvshowtitles)</onclick>
  137. <visible>Library.HasContent(TVShows)</visible>
  138. </item>
  139.  
  140. <item id="7">
  141. <description>Favourites</description>
  142. <label>31008</label>
  143. <onclick>ActivateWindow(Favourites)</onclick>
  144. </item>
  145.  
  146. <item id="8">
  147. <description>Profiles</description>
  148. <label>31009</label>
  149. <onclick>ActivateWindow(Profiles)</onclick>
  150. </item>
  151.  
  152. <item id="9">
  153. <description>Weather</description>
  154. <label>31010</label>
  155. <onclick>ActivateWindow(weather)</onclick>
  156. </item>
  157.  
  158. <item id="10">
  159. <description>File manager</description>
  160. <label>31011</label>
  161. <onclick>ActivateWindow(filemanager)</onclick>
  162. </item>
  163.  
  164. <item id="11">
  165. <description>Settings</description>
  166. <label>31012</label>
  167. <onclick>ActivateWindow(settings)</onclick>
  168. </item>
  169.  
  170. <item id="12">
  171. <description>Shutdown</description>
  172. <label>31013</label>
  173. <onclick>ActivateWindow(shutdownmenu)</onclick>
  174. </item>
  175.  
  176. <item id="13">
  177. <description>Play Disc</description>
  178. <label>31014</label>
  179. <onclick>PlayDVD</onclick>
  180. <visible>System.HasMediadvd</visible>
  181. </item>
  182.  
  183. </content>
  184.  
  185. </control>
  186. </control>
  187. <control type="group">
  188. <control type="image">
  189. <posx>0</posx>
  190. <width>1920</width>
  191. <height>48</height>
  192. <visible>true</visible>
  193. <texture>rss-bg.png</texture>
  194. </control>
  195. <control type="rss">
  196. <description>RSS Feed</description>
  197. <posx>0</posx>
  198. <posy>1035</posy>
  199. <width>1920</width>
  200. <height>21</height>
  201. <font>Small</font>
  202. <urlset>1</urlset>
  203. <titlecolor>Red</titlecolor>
  204. <headlinecolor>White</headlinecolor>
  205. <textcolor>Black</textcolor>
  206. <animation effect="slide" end="360,-66" condition="Window.IsActive(musicoverlay) | Window.IsActive(videooverlay)">Conditional</animation>
  207. </control>
  208. </control>
  209. <include>Debug_Grid</include>
  210.  
  211. </controls>
  212.  
  213. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement