player-normal-sui.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <!-- SUI:Component:Browser -->
  2. <!-- <groupdef id="wdh.browser">
  3. <Winamp:Browser x="0" y="1" h="-1" w="0" relatw="1" relath="1" id="sui.component.browser"/>
  4. </groupdef> -->
  5. <!-- SUI:Component:MediaLibrary -->
  6. <groupdef id="wdh.ml">
  7. <windowholder id="wdh" x="3" y="4" w="-5" h="-4" relath="1" relatw="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{6B0EDF80-C9A5-11D3-9F26-00C04F39FFC6}"/>
  8. </groupdef>
  9. <!-- SUI:Component:Video -->
  10. <groupdef id="wdh.video.resizable">
  11. <rect id="bg" color="0,0,0" fitparent="1" filled="1" rectrgn="1"/>
  12. <rect id="wdh.outer" x="4" y="4" w="-8" relatw="1" h="-8" relath="1" color="80,80,80"/>
  13. <rect id="wdh.drag" x="-5" y="-5" relatx="1" relaty="1" h="5" w="5" filled="1" color="100,100,100" cursor="IDC_SIZENWSE"/>
  14. <windowholder id="wdh" x="5" y="5" w="-10" relatw="1" h="-10" relath="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{F0816D7B-FFFC-4343-80F2-E8199AA15CC3}"/>
  15. <script file="scripts/videoresize.maki"/>
  16. </groupdef>
  17. <groupdef id="wdh.video">
  18. <layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
  19. <layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
  20. <group id="wdh.video.resizable" x="1" y="5" w="-2" relatw="1" h="-29" relath="1" />
  21. <Button action="VID_FS"
  22. x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  23. image="video.button.fullscreen.normal"
  24. hoverImage="video.button.fullscreen.hover"
  25. downImage="video.button.fullscreen.down"
  26. tooltip="Fullscreen"
  27. />
  28. <Button action="VID_1X"
  29. x="29" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  30. image="video.button.1x.normal"
  31. hoverImage="video.button.1x.hover"
  32. downImage="video.button.1x.down"
  33. tooltip="Normal Size"
  34. />
  35. <Button action="VID_2X"
  36. x="54" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  37. image="video.button.2x.normal"
  38. hoverImage="video.button.2x.hover"
  39. downImage="video.button.2x.down"
  40. tooltip="Double Size"
  41. />
  42. <!--<Button action="VID_TV"
  43. x="80" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  44. image="video.button.itv.normal"
  45. hoverImage="video.button.itv.hover"
  46. downImage="video.button.itv.down"
  47. tooltip="Internet TV"
  48. />-->
  49. <NStatesButton nstates="2"
  50. x="-53" relatx="1" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  51. image="video.button.pin.normal"
  52. hoverImage="video.button.pin.hover"
  53. downImage="video.button.pin.down"
  54. tooltip="Enable Video in Window resizing"
  55. cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Enable Video in Window resizing"
  56. />
  57. <Button action="VID_Misc"
  58. x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  59. image="video.button.cfg.normal"
  60. hoverImage="video.button.cfg.hover"
  61. downImage="video.button.cfg.down"
  62. tooltip="Video Options"
  63. />
  64. <text id="info" display="VID_Info" ticker="1"
  65. x="105" y="-18" relaty="1" h="13" w="-161" relatw="1"
  66. align="center" color="color.window.txt"
  67. />
  68. </groupdef>
  69. <groupdef id="wdh.pl">
  70. <layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
  71. <layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
  72. <group id="playlistpro" y="1" h="-23" x="2" w="-3" relath="1" relatw="1"/>
  73. <Wasabi:Button action="PE_Add"
  74. x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  75. image="pledit.tab.button.add"
  76. center_image="1"
  77. tooltip="Add Files to Playlist"
  78. />
  79. <Wasabi:Button action="PE_Rem"
  80. x="29" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  81. image="pledit.tab.button.rem"
  82. center_image="1"
  83. tooltip="Remove Files from Playlist"
  84. />
  85. <Wasabi:Button action="PE_Sel"
  86. x="54" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  87. image="pledit.tab.button.sel"
  88. center_image="1"
  89. tooltip="Select Files in Playlist"
  90. />
  91. <Wasabi:Button action="PE_Misc"
  92. x="79" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  93. image="pledit.tab.button.misc"
  94. center_image="1"
  95. tooltip="Misc Actions"
  96. />
  97. <Wasabi:Button action="PE_List"
  98. x="104" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  99. image="pledit.tab.button.manage"
  100. center_image="1"
  101. tooltip="Manage Playlist"
  102. />
  103. <Wasabi:Button id="pe.move.top"
  104. x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  105. image="pledit.tab.button.up"
  106. center_image="1"
  107. tooltip="Restore original Playlist position"
  108. />
  109. <text id="info" display="PE_Info" ticker="1"
  110. x="131" y="-18" relaty="1" h="13" w="-161" relatw="1"
  111. align="center" color="color.window.txt"
  112. />
  113. </groupdef>
  114. <!-- SUI:Component:Visualization -->
  115. <groupdef id="wdh.vis">
  116. <layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
  117. <layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
  118. <rect id="bg" color="0,0,0" x="1" y="5" w="-2" relatw="1" h="-29" relath="1" filled="1" rectrgn="1"/>
  119. <windowholder id="wdh.vis.object" x="1" y="5" w="-2" relatw="1" h="-29" relath="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{0000000A-000C-0010-FF7B-01014263450C}"/>
  120. <Button action="VIS_FS"
  121. x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  122. image="video.button.fullscreen.normal"
  123. hoverImage="video.button.fullscreen.hover"
  124. downImage="video.button.fullscreen.down"
  125. tooltip="Fullscreen"
  126. />
  127. <Button action="VIS_Prev"
  128. x="29" y="-21" h="21" w="21" relaty="1" rectrgn="1"
  129. image="vis.button.prev.normal"
  130. hoverImage="vis.button.prev.hover"
  131. downImage="vis.button.prev.down"
  132. tooltip="Previous Visualization Preset"
  133. />
  134. <Button action="VIS_Next"
  135. x="51" y="-21" h="21" w="21" relaty="1" rectrgn="1"
  136. image="vis.button.next.normal"
  137. hoverImage="vis.button.next.hover"
  138. downImage="vis.button.next.down"
  139. tooltip="Next Visualization Preset"
  140. />
  141. <ToggleButton id="vis.random"
  142. x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  143. image="vis.button.random.normal"
  144. hoverImage="vis.button.random.hover"
  145. downImage="vis.button.random.down"
  146. tooltip="Randomly change Visualization Presets"
  147. cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
  148. />
  149. <ToggleButton id="vis.random.active"
  150. x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  151. ActiveImage="vis.button.random.active"
  152. ghost="1"
  153. cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
  154. />
  155. <script file="scripts/syncbutton.maki" param="vis.random;vis.random.active" />
  156. <Button action="VIS_Menu"
  157. x="-52" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  158. image="vis.button.presets.normal"
  159. hoverImage="vis.button.presets.hover"
  160. downImage="vis.button.presets.down"
  161. tooltip="Presets"
  162. />
  163. <Button action="VIS_Cfg"
  164. x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  165. image="video.button.cfg.normal"
  166. hoverImage="video.button.cfg.hover"
  167. downImage="video.button.cfg.down"
  168. tooltip="Preset Editor / Options"
  169. />
  170. </groupdef>
  171. <groupdef id="sui.components">
  172. <group id="wdh.ml" fitparent="1" visible="0" />
  173. <group id="wdh.pl" fitparent="1" visible="0" />
  174. <group id="wdh.vis" fitparent="1" visible="0" />
  175. <group id="wdh.video" fitparent="1" visible="0" />
  176. <!-- <group id="wdh.browser" fitparent="1" visible="0" /> -->
  177. </groupdef>
  178. <!--
  179. Params for <Bento:TabButton/>
  180. text="sometext"
  181. the object itself is a button.
  182. -->
  183. <groupdef id="bento.tabbutton" xuitag="Bento:TabButton" embed_xui="bento.tabbutton.mousetrap">
  184. <grid id="bento.tabbutton.normal"
  185. fitparent="1" y="0" h="-1" relath="1" visible="1"
  186. left="sui.button.inactive.normal.left"
  187. middle="sui.button.inactive.normal.center"
  188. right="sui.button.inactive.normal.right"
  189. />
  190. <text id="bento.tabbutton.normal.text" x="8" y="4" w="-17" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="14" antialias="0" visible="1" color="color.tabbutton.text.inactive" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
  191. <grid id="bento.tabbutton.hover"
  192. fitparent="1" y="0" h="-1" relath="1" visible="0"
  193. left="sui.button.inactive.hover.left"
  194. middle="sui.button.inactive.hover.center"
  195. right="sui.button.inactive.hover.right"
  196. />
  197. <text id="bento.tabbutton.hover.text" x="8" y="4" w="-17" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="14" antialias="0" visible="0" color="color.tabbutton.text.inactive.hover" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
  198. <grid id="bento.tabbutton.active"
  199. fitparent="1" y="0" h="-1" relath="1" visible="0"
  200. left="sui.button.active.normal.left"
  201. middle="sui.button.active.normal.center"
  202. right="sui.button.active.normal.right"
  203. />
  204. <text id="bento.tabbutton.active.text" x="8" y="4" w="-17" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="14" antialias="0" visible="0" color="color.tabbutton.text.active" shadow="1" shadowcolor="color.tabbutton.text.active.shadow" shadowx="0" shadowy="1"/>
  205. <grid id="bento.tabbutton.footer"
  206. x="0" y="-1" h="1" w="0" relatw="1" relaty="1" visible="0"
  207. left="sui.button.active.footer.left"
  208. middle="sui.button.active.footer.center"
  209. right="sui.button.active.footer.right"
  210. />
  211. <button id="bento.tabbutton.mousetrap" fitparent="1" y="1" h="-1" relath="1" rectrgn="1"/>
  212. <script file="scripts/tabbutton.maki" />
  213. </groupdef>
  214. <groupdef id="sui.content" >
  215. <grid fitparent="1" move="1"
  216. topleft="sui.background.topleft"
  217. top="sui.background.top"
  218. topright="sui.background.topright"
  219. left="sui.background.left"
  220. middle="sui.background.center"
  221. right="sui.background.right"
  222. bottomleft="sui.background.bottomleft"
  223. bottom="sui.background.bottom"
  224. bottomright="sui.background.bottomright"
  225. />
  226. <grid x="1" y="29" h="-30" w="-2" relath="1" relatw="1"
  227. topleft="sui.component.topleft"
  228. top="sui.component.top"
  229. topright="sui.component.topright"
  230. left="sui.component.left"
  231. middle="sui.component.center"
  232. right="sui.component.right"
  233. bottomleft="sui.component.bottomleft"
  234. bottom="sui.component.bottom"
  235. bottomright="sui.component.bottomright"
  236. />
  237. <Bento:TabButton id="switch.ml" x="4" h="23" w="112" y="7" tabtext="Media Library"/>
  238. <Bento:TabButton id="switch.pl" x="117" h="23" w="62" y="7" tabtext="Playlist"/>
  239. <Bento:TabButton id="switch.video" x="117" h="23" w="62" y="7" tabtext="Video"/>
  240. <Bento:TabButton id="switch.vis" x="180" h="23" w="109" y="7" tabtext="Visualization"/>
  241. <!-- <Bento:TabButton id="switch.browser" x="290" h="23" w="83" y="7" tabtext="Browser"/> -->
  242. <script file="scripts/tabcontrol.maki" param="@HAVE_LIBRARY@"/>
  243. <group id="sui.components" x="1" y="29" h="-32" w="-2" relatw="1" relath="1"/>
  244. </groupdef>