Advertisement
Guest User

Untitled

a guest
Sep 17th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.31 KB | None | 0 0
  1. <window id="0">
  2. <defaultcontrol always="true">9000</defaultcontrol>
  3. <allowoverlay>no</allowoverlay>
  4. <onunload condition="Container(9000).Hasfocus(10) | Container(9000).Hasfocus(11) | ControlGroup(9010).HasFocus | ControlGroup(9016).HasFocus | ControlGroup(9017).HasFocus">SetProperty(VideosDirectLink,True)</onunload>
  5. <onunload condition="Control.HasFocus(9000) + Container(9000).Hasfocus(2)">ClearProperty(VideosDirectLink)</onunload>
  6. <controls>
  7.  
  8. <control type="image">
  9. <posx>0</posx>
  10. <posy>90r</posy>
  11. <width>1280</width>
  12. <height>90</height>
  13. <texture>floor.png</texture>
  14. <animation effect="fade" time="250" condition="Window.Previous(Home)">WindowOpen</animation>
  15. <animation effect="fade" time="250" condition="Window.Next(Home)">WindowClose</animation>
  16. </control>
  17. <control type="image">
  18. <description>LOGO</description>
  19. <posx>0</posx>
  20. <posy>5</posy>
  21. <width>170</width>
  22. <height>100</height>
  23. <aspectratio aligny="top" align="left">keep</aspectratio>
  24. <texture>xbmc-logo.png</texture>
  25. <include>VisibleFadeEffect</include>
  26. <include>Window_OpenClose_Animation</include>
  27. <visible>!Skin.HasSetting(homepageWeatherinfo)</visible>
  28. </control>
  29. <!-- Music Info -->
  30. <control type="group">
  31. <posx>0</posx>
  32. <posy>60</posy>
  33. <visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>
  34. <include>VisibleFadeEffect</include>
  35. <include>Window_OpenClose_Animation</include>
  36. <control type="image">
  37. <description>Cover image</description>
  38. <posx>20</posx>
  39. <posy>45</posy>
  40. <width>130</width>
  41. <height>295</height>
  42. <aspectratio aligny="bottom">keep</aspectratio>
  43. <texture>$INFO[MusicPlayer.Cover]</texture>
  44. <bordertexture border="8">ThumbBorder.png</bordertexture>
  45. <bordersize>5</bordersize>
  46. </control>
  47. <control type="label">
  48. <description>Album Label</description>
  49. <posx>170</posx>
  50. <posy>265</posy>
  51. <height>25</height>
  52. <width>1000</width>
  53. <label>$INFO[MusicPlayer.Artist,, - ]$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
  54. <align>left</align>
  55. <aligny>center</aligny>
  56. <font>font12</font>
  57. <textcolor>white</textcolor>
  58. <shadowcolor>black</shadowcolor>
  59. </control>
  60. <control type="label">
  61. <description>Title label</description>
  62. <posx>170</posx>
  63. <posy>285</posy>
  64. <height>30</height>
  65. <width>1000</width>
  66. <label>$INFO[MusicPlayer.Title]</label>
  67. <align>left</align>
  68. <aligny>center</aligny>
  69. <font>font13_title</font>
  70. <textcolor>white</textcolor>
  71. <shadowcolor>black</shadowcolor>
  72. </control>
  73. <control type="label">
  74. <description>Time Label</description>
  75. <posx>170</posx>
  76. <posy>310</posy>
  77. <height>30</height>
  78. <width>300</width>
  79. <label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
  80. <align>left</align>
  81. <aligny>center</aligny>
  82. <font>font12</font>
  83. <textcolor>white</textcolor>
  84. <shadowcolor>black</shadowcolor>
  85. </control>
  86. </control>
  87. <!-- Video Info -->
  88. <control type="group">
  89. <posx>0</posx>
  90. <posy>50</posy>
  91. <visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo)</visible>
  92. <include>VisibleFadeEffect</include>
  93. <include>Window_OpenClose_Animation</include>
  94. <control type="group">
  95. <visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes)</visible>
  96. <control type="image">
  97. <description>Cover image</description>
  98. <posx>20</posx>
  99. <posy>45</posy>
  100. <width>120</width>
  101. <height>300</height>
  102. <aspectratio aligny="bottom">keep</aspectratio>
  103. <texture>$INFO[VideoPlayer.Cover]</texture>
  104. <bordertexture border="8">ThumbBorder.png</bordertexture>
  105. <bordersize>5</bordersize>
  106. </control>
  107. <control type="label">
  108. <description>Title label</description>
  109. <posx>160</posx>
  110. <posy>285</posy>
  111. <height>30</height>
  112. <width>1000</width>
  113. <label>$INFO[VideoPlayer.Title]</label>
  114. <align>left</align>
  115. <aligny>center</aligny>
  116. <font>font13_title</font>
  117. <textcolor>white</textcolor>
  118. <shadowcolor>black</shadowcolor>
  119. </control>
  120. <control type="label">
  121. <description>Time Label</description>
  122. <posx>160</posx>
  123. <posy>310</posy>
  124. <height>30</height>
  125. <width>300</width>
  126. <label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
  127. <align>left</align>
  128. <aligny>center</aligny>
  129. <font>font12</font>
  130. <textcolor>white</textcolor>
  131. <shadowcolor>black</shadowcolor>
  132. </control>
  133. </control>
  134. <control type="group">
  135. <visible>VideoPlayer.Content(Movies)</visible>
  136. <control type="image">
  137. <description>Cover image</description>
  138. <posx>20</posx>
  139. <posy>45</posy>
  140. <width>120</width>
  141. <height>300</height>
  142. <aspectratio aligny="bottom">keep</aspectratio>
  143. <texture>$INFO[VideoPlayer.Cover]</texture>
  144. <bordertexture border="8">ThumbBorder.png</bordertexture>
  145. <bordersize>5</bordersize>
  146. </control>
  147. <control type="label">
  148. <description>Studio label</description>
  149. <posx>160</posx>
  150. <posy>265</posy>
  151. <height>25</height>
  152. <width>1000</width>
  153. <label>$INFO[VideoPlayer.Studio]</label>
  154. <align>left</align>
  155. <aligny>center</aligny>
  156. <font>font12</font>
  157. <textcolor>white</textcolor>
  158. <shadowcolor>black</shadowcolor>
  159. </control>
  160. <control type="label">
  161. <description>Title label</description>
  162. <posx>160</posx>
  163. <posy>285</posy>
  164. <height>30</height>
  165. <width>1000</width>
  166. <label>$INFO[VideoPlayer.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
  167. <align>left</align>
  168. <aligny>center</aligny>
  169. <font>font13_title</font>
  170. <textcolor>white</textcolor>
  171. <shadowcolor>black</shadowcolor>
  172. </control>
  173. <control type="label">
  174. <description>Time Label</description>
  175. <posx>160</posx>
  176. <posy>310</posy>
  177. <height>30</height>
  178. <width>300</width>
  179. <label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
  180. <align>left</align>
  181. <aligny>center</aligny>
  182. <font>font12</font>
  183. <textcolor>white</textcolor>
  184. <shadowcolor>black</shadowcolor>
  185. </control>
  186. </control>
  187. <control type="group">
  188. <visible>VideoPlayer.Content(Episodes)</visible>
  189. <control type="image">
  190. <description>Cover image</description>
  191. <posx>20</posx>
  192. <posy>225</posy>
  193. <width>180</width>
  194. <height>120</height>
  195. <aspectratio>scale</aspectratio>
  196. <texture>$INFO[VideoPlayer.Cover]</texture>
  197. <bordertexture border="8">ThumbBorder.png</bordertexture>
  198. <bordersize>5</bordersize>
  199. </control>
  200. <control type="label">
  201. <description>TV Show Season Ep Label</description>
  202. <posx>210</posx>
  203. <posy>265</posy>
  204. <height>25</height>
  205. <width>1000</width>
  206. <label>$INFO[VideoPlayer.TVShowTitle] ($LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode])</label>
  207. <align>left</align>
  208. <aligny>center</aligny>
  209. <font>font12</font>
  210. <textcolor>white</textcolor>
  211. <shadowcolor>black</shadowcolor>
  212. </control>
  213. <control type="label">
  214. <description>Title label</description>
  215. <posx>210</posx>
  216. <posy>285</posy>
  217. <height>30</height>
  218. <width>1000</width>
  219. <label>$INFO[VideoPlayer.Title]</label>
  220. <align>left</align>
  221. <aligny>center</aligny>
  222. <font>font13_title</font>
  223. <textcolor>white</textcolor>
  224. <shadowcolor>black</shadowcolor>
  225. </control>
  226. <control type="label">
  227. <description>Time Label</description>
  228. <posx>210</posx>
  229. <posy>310</posy>
  230. <height>30</height>
  231. <width>300</width>
  232. <label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
  233. <align>left</align>
  234. <aligny>center</aligny>
  235. <font>font12</font>
  236. <textcolor>white</textcolor>
  237. <shadowcolor>black</shadowcolor>
  238. </control>
  239. </control>
  240. </control>
  241. <include condition="!Skin.HasSetting(HomepageHideRecentlyAddedVideo) | !Skin.HasSetting(HomepageHideRecentlyAddedAlbums)">HomeRecentlyAddedInfo</include>
  242. <control type="button" id="9003">
  243. <description>Hidden Button to pass through navigation when recently added is disabled</description>
  244. <posx>-20</posx>
  245. <posy>-20</posy>
  246. <width>1</width>
  247. <height>1</height>
  248. <label>-</label>
  249. <font>-</font>
  250. <texturefocus>-</texturefocus>
  251. <texturenofocus>-</texturenofocus>
  252. <onleft>9000</onleft>
  253. <onright>9000</onright>
  254. <onup>20</onup>
  255. <ondown>608</ondown>
  256. <visible>false</visible>
  257. </control>
  258.  
  259. <!--Currently Playing Controls-->
  260. <control type="group">
  261. <description>Controls for currently playing media</description>
  262. <posx>545r</posx>
  263. <posy>650</posy>
  264. <animation effect="slide" start="0,0" end="365,0" time="300" condition="!Player.HasMedia">conditional</animation>
  265. <animation type="WindowOpen" reversible="false">
  266. <effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
  267. <effect type="fade" start="0" end="100" time="300" />
  268. </animation>
  269. <animation type="WindowClose" reversible="false">
  270. <effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
  271. <effect type="fade" start="100" end="0" time="300" />
  272. </animation>
  273.  
  274. <control type="radiobutton" id="608">
  275. <colordiffuse>CCFFFFFF</colordiffuse>
  276. <description>Global Search</description>
  277. <posx>35</posx>
  278. <posy>0</posy>
  279. <height>35</height>
  280. <width>145</width>
  281. <textwidth>150</textwidth>
  282. <textoffsetx>10</textoffsetx>
  283. <align>left</align>
  284. <aligny>center</aligny>
  285. <font>font12</font>
  286. <textcolor>grey2</textcolor>
  287. <focusedcolor>white</focusedcolor>
  288. <texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
  289. <texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
  290. <pulseonselect>false</pulseonselect>
  291. <label>137</label>
  292. <onclick>RunScript(script.globalsearch)</onclick>
  293. <textureradiofocus>icon_search.png</textureradiofocus>
  294. <textureradionofocus>icon_search.png</textureradionofocus>
  295. <onleft>607</onleft>
  296. <onright>601</onright>
  297. <onup>9003</onup>
  298. <ondown>9000</ondown>
  299. <visible>System.HasAddon(script.globalsearch)</visible>
  300. </control>
  301. <control type="group" id="600">
  302. <posx>180</posx>
  303. <onup>9003</onup>
  304. <ondown>9000</ondown>
  305. <defaultcontrol>-</defaultcontrol>
  306. <enable>Player.HasMedia</enable>
  307. <control type="image">
  308. <description>Background image</description>
  309. <posx>0</posx>
  310. <posy>0</posy>
  311. <width>205</width>
  312. <height>35</height>
  313. <texture flipy="true" border="0,5,0,0">HomeSubNF.png</texture>
  314. <colordiffuse>CCFFFFFF</colordiffuse>
  315. </control>
  316. <control type="button" id="601">
  317. <posx>10</posx>
  318. <posy>2</posy>
  319. <width>30</width>
  320. <height>30</height>
  321. <label>-</label>
  322. <texturefocus>OSDPrevTrackFO.png</texturefocus>
  323. <texturenofocus>OSDPrevTrackNF.png</texturenofocus>
  324. <onleft>608</onleft>
  325. <onright>602</onright>
  326. <onup>9003</onup>
  327. <ondown>9000</ondown>
  328. <onclick>XBMC.PlayerControl(Previous)</onclick>
  329. </control>
  330. <control type="button" id="602">
  331. <posx>40</posx>
  332. <posy>2</posy>
  333. <width>30</width>
  334. <height>30</height>
  335. <label>-</label>
  336. <texturefocus>OSDRewindFO.png</texturefocus>
  337. <texturenofocus>OSDRewindNF.png</texturenofocus>
  338. <onleft>601</onleft>
  339. <onright>603</onright>
  340. <onup>9003</onup>
  341. <ondown>9000</ondown>
  342. <onclick>XBMC.PlayerControl(Rewind)</onclick>
  343. </control>
  344. <control type="togglebutton" id="603">
  345. <posx>70</posx>
  346. <posy>2</posy>
  347. <width>30</width>
  348. <height>30</height>
  349. <label>-</label>
  350. <texturefocus>OSDPauseFO.png</texturefocus>
  351. <texturenofocus>OSDPauseNF.png</texturenofocus>
  352. <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
  353. <alttexturefocus>OSDPlayFO.png</alttexturefocus>
  354. <alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
  355. <onleft>602</onleft>
  356. <onright>604</onright>
  357. <onup>9003</onup>
  358. <ondown>9000</ondown>
  359. <onclick>XBMC.PlayerControl(Play)</onclick>
  360. </control>
  361. <control type="button" id="604">
  362. <posx>100</posx>
  363. <posy>2</posy>
  364. <width>30</width>
  365. <height>30</height>
  366. <label>-</label>
  367. <texturefocus>OSDStopFO.png</texturefocus>
  368. <texturenofocus>OSDStopNF.png</texturenofocus>
  369. <onleft>603</onleft>
  370. <onright>605</onright>
  371. <onup>9003</onup>
  372. <ondown>9000</ondown>
  373. <onclick>down</onclick>
  374. <onclick>XBMC.PlayerControl(Stop)</onclick>
  375. </control>
  376. <control type="button" id="605">
  377. <posx>130</posx>
  378. <posy>2</posy>
  379. <width>30</width>
  380. <height>30</height>
  381. <label>-</label>
  382. <texturefocus>OSDForwardFO.png</texturefocus>
  383. <texturenofocus>OSDForwardNF.png</texturenofocus>
  384. <onleft>604</onleft>
  385. <onright>606</onright>
  386. <onup>9003</onup>
  387. <ondown>9000</ondown>
  388. <onclick>XBMC.PlayerControl(Forward)</onclick>
  389. </control>
  390. <control type="button" id="606">
  391. <posx>160</posx>
  392. <posy>2</posy>
  393. <width>30</width>
  394. <height>30</height>
  395. <label>-</label>
  396. <texturefocus>OSDNextTrackFO.png</texturefocus>
  397. <texturenofocus>OSDNextTrackNF.png</texturenofocus>
  398. <onleft>605</onleft>
  399. <onright>607</onright>
  400. <onup>9003</onup>
  401. <ondown>9000</ondown>
  402. <onclick>XBMC.PlayerControl(Next)</onclick>
  403. </control>
  404. </control>
  405. <control type="radiobutton" id="607">
  406. <colordiffuse>CCFFFFFF</colordiffuse>
  407. <description>Go to fullscreen Playback</description>
  408. <posx>385</posx>
  409. <posy>0</posy>
  410. <height>35</height>
  411. <width>160</width>
  412. <textwidth>150</textwidth>
  413. <textoffsetx>10</textoffsetx>
  414. <align>left</align>
  415. <aligny>center</aligny>
  416. <font>font12</font>
  417. <textcolor>grey2</textcolor>
  418. <focusedcolor>white</focusedcolor>
  419. <texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
  420. <texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
  421. <pulseonselect>false</pulseonselect>
  422. <label>31008</label>
  423. <onclick>fullscreen</onclick>
  424. <textureradiofocus>GoFullscreen.png</textureradiofocus>
  425. <textureradionofocus>GoFullscreen.png</textureradionofocus>
  426. <onleft>606</onleft>
  427. <onright>608</onright>
  428. <onup>9003</onup>
  429. <ondown>9000</ondown>
  430. <enable>Player.HasMedia</enable>
  431. </control>
  432. </control>
  433.  
  434. <!--Sub Menus-->
  435. <control type="group">
  436. <posy>10</posy>
  437. <animation type="WindowOpen" reversible="false">
  438. <effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
  439. <effect type="fade" start="0" end="100" time="300" />
  440. </animation>
  441. <animation type="WindowClose" reversible="false">
  442. <effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
  443. <effect type="fade" start="100" end="0" time="300" />
  444. </animation>
  445. <control type="group" id="9001">
  446. <posx>0</posx>
  447. <posy>50</posy>
  448. <onup>9000</onup>
  449. <ondown>9002</ondown>
  450. <!--Movies Sub Menu-->
  451. <control type="grouplist" id="9016">
  452. <posx>-255</posx>
  453. <posy>45</posy>
  454. <include>HomeSubMenuCommonValues</include>
  455. <onleft>9016</onleft>
  456. <onright>9016</onright>
  457. <visible>Container(9000).HasFocus(10)</visible>
  458. <include>HomeSubMenuMovies</include> <!-- Buttons for the grouplist -->
  459. </control>
  460. <!--TV Shows Sub Menu-->
  461. <control type="grouplist" id="9017">
  462. <posx>-165</posx>
  463. <posy>115</posy>
  464. <include>HomeSubMenuCommonValues</include>
  465. <onleft>9017</onleft>
  466. <onright>9017</onright>
  467. <visible>Container(9000).HasFocus(11)</visible>
  468. <include>HomeSubMenuTVShows</include> <!-- Buttons for the grouplist -->
  469. </control>
  470. <!--Music Sub Menu-->
  471. <control type="grouplist" id="9011">
  472. <posx>-75</posx>
  473. <posy>185</posy>
  474. <include>HomeSubMenuCommonValues</include>
  475. <onleft>9011</onleft>
  476. <onright>9011</onright>
  477. <visible>Container(9000).HasFocus(3)</visible>
  478. <include>HomeSubMenuMusic</include> <!-- Buttons for the grouplist -->
  479. </control>
  480. <!--Picutres Sub Menu-->
  481. <control type="grouplist" id="9014">
  482. <posx>-525</posx>
  483. <posy>255</posy>
  484. <include>HomeSubMenuCommonValues</include>
  485. <onleft>9013</onleft>
  486. <onright>9013</onright>
  487. <visible>Container(9000).HasFocus(4)</visible>
  488. <include>HomeSubMenuPictures</include> <!-- Buttons for the grouplist -->
  489. </control>
  490. <!--Video Sub Menu-->
  491. <control type="grouplist" id="9010">
  492. <posx>-345</posx>
  493. <posy>325</posy>
  494. <include>HomeSubMenuCommonValues</include>
  495. <onleft>9010</onleft>
  496. <onright>9010</onright>
  497. <visible>Container(9000).HasFocus(2)</visible>
  498. <include>HomeSubMenuVideos</include> <!-- Buttons for the grouplist -->
  499. </control>
  500. <!--System Sub Menu-->
  501. <control type="grouplist" id="9012">
  502. <posx>-255</posx>
  503. <posy>535</posy>
  504. <include>HomeSubMenuCommonValues</include>
  505. <onleft>9012</onleft>
  506. <onright>9012</onright>
  507. <visible>Container(9000).HasFocus(5)</visible>
  508. <include>HomeSubMenuSystem</include> <!-- Buttons for the grouplist -->
  509. </control>
  510. <!--Play Disk-->
  511. <control type="grouplist" id="9013">
  512. <include>HomeSubMenuCommonValues</include>
  513. <onleft>9013</onleft>
  514. <onright>9013</onright>
  515. <visible>Container(9000).HasFocus(6)</visible>
  516. <include>HomeSubMenuPlayDisc</include> <!-- Buttons for the grouplist -->
  517. </control>
  518. </control>
  519.  
  520. <!--Home List-->
  521. <control type="list" id="9000">
  522. <posy>70</posy>
  523. <posx>500</posx>
  524. <width>300</width>
  525. <height>700</height>
  526. <onup>9000</onup>
  527. <ondown>9000</ondown>
  528. <onright>9001</onright>
  529. <onleft>9001</onleft>
  530. <orientation>vertical</orientation>
  531. <scrolltime tween="Cubic" easing="Out">68</scrolltime>
  532. <visible>true</visible>
  533.  
  534. <itemlayout width="300" height="50">
  535. <!--THIS IS HOW YOUR ITEMS LOOK WHEN NOT HIGHLIGHTED (color+size)-->
  536. <control type="label">
  537. <posx>40</posx><!----THIS 40 IS TO MAKE SOME SPACE ON THE LEFT FOR THE IMAGE--->
  538. <posy>0</posy>
  539. <width>300</width>
  540. <height>50</height>
  541. <align>left</align>
  542. <label>$INFO[ListItem.Label]</label>
  543. <textcolor>ff808080</textcolor>
  544. <font>font30</font>
  545. </control>
  546. </itemlayout>
  547.  
  548. <focusedlayout width="300" height="50">
  549. <!--THIS IS THE SAME TEXT COLOR AS WHEN NOT FOCUSED-->
  550. <!--THIS IS TO MAKE SURE THE ITEM DOES NOT LOOK EMPTY FOR A SPLIT SECOND BETWEEN FOCUS AND NO FOCUS (mostly for fade animations)-->
  551. <!--THE IMAGE LIES ON TOP OF THIS BECAUSE THE CONTROL OF THE IMAGE IS BELOW THIS ONE-->
  552. <control type="label">
  553. <posx>40</posx><!----THIS 40 IS TO MAKE SOME SPACE ON THE LEFT FOR THE IMAGE--->
  554. <posy>0</posy>
  555. <width>300</width>
  556. <height>50</height>
  557. <align>left</align>
  558. <label>$INFO[ListItem.Label]</label>
  559. <textcolor>ff808080</textcolor>
  560. <font>font30</font>
  561. </control>
  562.  
  563. <!---THIS IMAGE FOLLOWS THE FOCUSED ITEM--->
  564. <!---BUT WILL NOT BE VISIBLE ON ITEM 2 IN THE LIST--->
  565. <control type="image">
  566. <posx>0</posx>
  567. <posy>15</posy>
  568. <width>30</width>
  569. <height>30</height>
  570. <aspectratio>keep</aspectratio>
  571. <texture>OSDPlay.png</texture>
  572. <visible>!Container(9000).HasFocus(2)</visible>
  573. </control>
  574. <!---THIS IMAGE FOLLOWS THE FOCUSED ITEM--->
  575. <!---BUT WILL ONLY BE VISIBLE ON ITEM 2 IN THE LIST--->
  576. <control type="image">
  577. <posx>0</posx>
  578. <posy>15</posy>
  579. <width>30</width>
  580. <height>30</height>
  581. <aspectratio>keep</aspectratio>
  582. <texture>OSDPause.png</texture>
  583. <visible>Container(9000).HasFocus(2)</visible>
  584. </control>
  585.  
  586. <!---THIS IS HOW YOUR ITEMS LOOK WHEN FOCUSED (text color+size)--->
  587. <control type="label">
  588. <posx>40</posx><!----THIS 40 IS TO MAKE SOME SPACE ON THE LEFT FOR THE IMAGE--->
  589. <posy>0</posy>
  590. <width>300</width>
  591. <height>50</height>
  592. <align>left</align>
  593. <textcolor>ffffffff</textcolor>
  594. <label>$INFO[ListItem.Label]</label>
  595. <font>font30</font>
  596. </control>
  597.  
  598. </focusedlayout>
  599. <content>
  600. <!--THESE ITEMS WILL BE LOADED IN YOUR LIST-->
  601. <!--videos-->
  602. <item id="1">
  603. <label>videos</label>
  604. <onclick>ActivateWindow(Videos,Files)</onclick>
  605. <visible>true</visible>
  606. </item>
  607. <!--movies-->
  608. <item id="2">
  609. <label>movies</label>
  610. <onclick>ActivateWindow(MyVideoLibrary,movietitles,return)</onclick>
  611. <visible>true</visible>
  612. </item>
  613. <!--tv shows-->
  614. <item id="3">
  615. <label>tv shows</label>
  616. <onclick>ActivateWindow(MyVideoLibrary,tvshowtitles,return)</onclick>
  617. <visible>true</visible>
  618. </item>
  619. <!--live tv-->
  620. <item id="4">
  621. <label>live tv</label>
  622. <onclick>ActivateWindow(600)</onclick>
  623. <visible>false</visible>
  624. </item>
  625. <!--youtube set to visible if youtube addon is installed-->
  626. <item id="5">
  627. <label>Youtube</label>
  628. <onclick>ActivateWindow(VideoLibrary,plugin://plugin.video.youtube,return)</onclick>
  629. <visible>system.hasaddon(plugin.video.youtube)</visible>
  630. </item>
  631. <!--music-->
  632. <item id="6">
  633. <label>music</label>
  634. <onclick>ActivateWindow(MyMusicLibrary)</onclick>
  635. <visible>true</visible>
  636. </item>
  637. <!--PICTURES IS SET TO NOT VISIBLE HERE-->
  638. <!--PICTURES WILL NOT SHOW UP IN THE LIST (the list wont leave an empty spot)-->
  639. <item id="7">
  640. <label>pictures</label>
  641. <onclick>ActivateWindow(2)</onclick>
  642. <visible>false</visible>
  643. </item>
  644. <!--addons-->
  645. <item id="8">
  646. <label>addons</label>
  647. <onclick>ActivateWindow(addonbrowser,addons://all/)</onclick>
  648. <visible>true</visible>
  649. </item>
  650. <!--system-->
  651. <item id="9">
  652. <label>system</label>
  653. <onclick>ActivateWindow(settings)</onclick>
  654. <visible>true</visible>
  655. </item>
  656.  
  657. </content>
  658. </control><!--END OF CONTROL 9000-->
  659.  
  660.  
  661.  
  662.  
  663.  
  664. <control type="image">
  665. <posx>0</posx>
  666. <posy>6</posy>
  667. <width>128</width>
  668. <height>50</height>
  669. <texture>SideFade.png</texture>
  670. </control>
  671.  
  672. <control type="image">
  673. <posx>128r</posx>
  674. <posy>6</posy>
  675. <width>128</width>
  676. <height>60</height>
  677. <texture flipx="true">SideFade.png</texture>
  678. </control>
  679. </control>
  680.  
  681.  
  682. <control type="group" id="9002">
  683. <onup>9001</onup>
  684. <ondown>20</ondown>
  685. <control type="fixedlist" id="700">
  686. <animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(700).NumItems,2) | StringCompare(Container(700).NumItems,4)">conditional</animation>
  687. <visible>Container(9000).HasFocus(2) | Container(9000).HasFocus(10) | Container(9000).HasFocus(11)</visible>
  688. <onleft>700</onleft>
  689. <onright>700</onright>
  690. <onup>9001</onup>
  691. <ondown>20</ondown>
  692. <include>HomeAddonsCommonLayout</include>
  693. <content>
  694. <include>HomeAddonItemsVideos</include>
  695. </content>
  696. </control>
  697. <control type="fixedlist" id="703">
  698. <animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(703).NumItems,2) | StringCompare(Container(703).NumItems,4)">conditional</animation>
  699. <visible>Container(9000).HasFocus(3)</visible>
  700. <onleft>703</onleft>
  701. <onright>703</onright>
  702. <onup>9001</onup>
  703. <ondown>20</ondown>
  704. <include>HomeAddonsCommonLayout</include>
  705. <content>
  706. <include>HomeAddonItemsMusic</include>
  707. </content>
  708. </control>
  709. <control type="fixedlist" id="704">
  710. <animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(704).NumItems,2) | StringCompare(Container(704).NumItems,4)">conditional</animation>
  711. <visible>Container(9000).HasFocus(4)</visible>
  712. <onleft>704</onleft>
  713. <onright>704</onright>
  714. <onup>9001</onup>
  715. <ondown>20</ondown>
  716. <include>HomeAddonsCommonLayout</include>
  717. <content>
  718. <include>HomeAddonItemsPictures</include>
  719. </content>
  720. </control>
  721. <control type="fixedlist" id="705">
  722. <animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(705).NumItems,2) | StringCompare(Container(705).NumItems,4)">conditional</animation>
  723. <visible>Container(9000).HasFocus(1)</visible>
  724. <onleft>705</onleft>
  725. <onright>705</onright>
  726. <onup>9001</onup>
  727. <ondown>20</ondown>
  728. <include>HomeAddonsCommonLayout</include>
  729. <content>
  730. <include>HomeAddonItemsPrograms</include>
  731. </content>
  732. </control>
  733. </control>
  734. <control type="group">
  735. <posx>0</posx>
  736. <posy>33r</posy>
  737. <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
  738. <include>Window_OpenClose_Animation</include>
  739. <control type="rss">
  740. <description>RSS feed</description>
  741. <posx>100</posx>
  742. <posy>0</posy>
  743. <height>30</height>
  744. <width>1145</width>
  745. <font>font12</font>
  746. <urlset>1</urlset>
  747. <textcolor>blue</textcolor>
  748. <titlecolor>blue</titlecolor>
  749. <headlinecolor>white</headlinecolor>
  750. </control>
  751. <control type="image">
  752. <description>RSS background</description>
  753. <posx>1250</posx>
  754. <posy>2</posy>
  755. <width>24</width>
  756. <height>24</height>
  757. <texture>icon-rss.png</texture>
  758. </control>
  759. </control>
  760. <control type="group" id="10">
  761. <posx>20</posx>
  762. <posy>55r</posy>
  763. <include>Window_OpenClose_Animation</include>
  764. <control type="button" id="20">
  765. <description>Power push button</description>
  766. <posx>55</posx>
  767. <posy>0</posy>
  768. <width>45</width>
  769. <height>45</height>
  770. <label>31003</label>
  771. <font>-</font>
  772. <aligny>-</aligny>
  773. <onclick>ActivateWindow(ShutdownMenu)</onclick>
  774. <texturefocus border="5">floor_buttonFO.png</texturefocus>
  775. <texturenofocus border="5">floor_button.png</texturenofocus>
  776. <onleft>21</onleft>
  777. <onright>21</onright>
  778. <onup>9002</onup>
  779. <ondown>9003</ondown>
  780. </control>
  781. <control type="image">
  782. <description>Power Icon</description>
  783. <posx>60</posx>
  784. <posy>5</posy>
  785. <width>35</width>
  786. <height>35</height>
  787. <aspectratio>keep</aspectratio>
  788. <texture>icon_power.png</texture>
  789. </control>
  790. <control type="button" id="21">
  791. <description>Favourites push button</description>
  792. <posx>0</posx>
  793. <posy>0</posy>
  794. <width>45</width>
  795. <height>45</height>
  796. <label>1036</label>
  797. <font>-</font>
  798. <aligny>-</aligny>
  799. <onclick>ActivateWindow(Favourites)</onclick>
  800. <texturefocus border="5">floor_buttonFO.png</texturefocus>
  801. <texturenofocus border="5">floor_button.png</texturenofocus>
  802. <onleft>20</onleft>
  803. <onright>20</onright>
  804. <onup>9002</onup>
  805. <ondown>9003</ondown>
  806. </control>
  807. <control type="image">
  808. <description>Favourites Icon</description>
  809. <posx>5</posx>
  810. <posy>5</posy>
  811. <width>35</width>
  812. <height>35</height>
  813. <aspectratio>keep</aspectratio>
  814. <texture>icon_favourites.png</texture>
  815. </control>
  816. </control>
  817. <control type="group">
  818. <posx>20</posx>
  819. <posy>0</posy>
  820. <visible>Skin.HasSetting(homepageWeatherinfo) + !IsEmpty(Weather.Plugin)</visible>
  821. <include>Window_OpenClose_Animation</include>
  822. <control type="image">
  823. <description>Weather image</description>
  824. <posx>0</posx>
  825. <posy>0</posy>
  826. <width>60</width>
  827. <height>60</height>
  828. <aspectratio>keep</aspectratio>
  829. <texture>$INFO[Weather.Conditions]</texture>
  830. </control>
  831. <control type="label">
  832. <description>Location label</description>
  833. <posx>65</posx>
  834. <posy>5</posy>
  835. <width>500</width>
  836. <height>15</height>
  837. <align>left</align>
  838. <aligny>center</aligny>
  839. <font>font10</font>
  840. <textcolor>white</textcolor>
  841. <shadowcolor>black</shadowcolor>
  842. <label>$INFO[Window(Weather).Property(Location)]</label>
  843. </control>
  844. <control type="grouplist">
  845. <posx>65</posx>
  846. <posy>20</posy>
  847. <width>1000</width>
  848. <height>30</height>
  849. <orientation>horizontal</orientation>
  850. <align>left</align>
  851. <itemgap>0</itemgap>
  852. <control type="label">
  853. <description>Temp label</description>
  854. <width min="0" max="300">auto</width>
  855. <height>30</height>
  856. <align>left</align>
  857. <aligny>center</aligny>
  858. <font>font28_title</font>
  859. <textcolor>white</textcolor>
  860. <shadowcolor>black</shadowcolor>
  861. <label>[B]$INFO[Window(Weather).Property(Current.Temperature)][/B]</label>
  862. </control>
  863. <control type="label">
  864. <description>Temp Units</description>
  865. <width min="0" max="100">auto</width>
  866. <height>22</height>
  867. <font>font10</font>
  868. <aligny>center</aligny>
  869. <label>$INFO[System.TemperatureUnits]</label>
  870. <textcolor>white</textcolor>
  871. <shadowcolor>black</shadowcolor>
  872. <visible>!IsEmpty(Window(Weather).Property(Current.Temperature))</visible>
  873. </control>
  874. <control type="label">
  875. <description>Conditions Label</description>
  876. <width>500</width>
  877. <height>22</height>
  878. <font>font10</font>
  879. <aligny>center</aligny>
  880. <label>$INFO[Window(Weather).Property(Current.Condition), ]</label>
  881. <textcolor>grey2</textcolor>
  882. <shadowcolor>black</shadowcolor>
  883. </control>
  884. </control>
  885. </control>
  886. <include>Clock</include>
  887. <control type="label">
  888. <description>Date label</description>
  889. <posx>20r</posx>
  890. <posy>35</posy>
  891. <width>200</width>
  892. <height>15</height>
  893. <align>right</align>
  894. <aligny>center</aligny>
  895. <font>font10</font>
  896. <textcolor>white</textcolor>
  897. <shadowcolor>black</shadowcolor>
  898. <label>$INFO[System.Date]</label>
  899. <include>Window_OpenClose_Animation</include>
  900. <animation effect="slide" start="0,0" end="-40,0" time="100" condition="Window.IsVisible(Mutebug)">conditional</animation>
  901. </control>
  902. </controls>
  903. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement