1
0

player-normal-sui.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. <!-- SUI:Component:Browser -->
  2. <!-- <groupdef id="wdh.browser">
  3. <Winamp:Browser fitparent="1" id="sui.component.browser" />
  4. </groupdef> -->
  5. <!-- SUI:Component:MediaLibrary -->
  6. <groupdef id="wdh.ml">
  7. <windowholder 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 color="0,0,0" fitparent="1" filled="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="../Big Bento/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="3" h="-25" x="2" w="-4" 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. <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}"/>
  119. <Button action="VIS_FS"
  120. x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  121. image="video.button.fullscreen.normal"
  122. hoverImage="video.button.fullscreen.hover"
  123. downImage="video.button.fullscreen.down"
  124. tooltip="Fullscreen"
  125. />
  126. <Button action="VIS_Prev"
  127. x="29" y="-21" h="21" w="21" relaty="1" rectrgn="1"
  128. image="vis.button.prev.normal"
  129. hoverImage="vis.button.prev.hover"
  130. downImage="vis.button.prev.down"
  131. tooltip="Previous Visualization Preset"
  132. />
  133. <Button action="VIS_Next"
  134. x="51" y="-21" h="21" w="21" relaty="1" rectrgn="1"
  135. image="vis.button.next.normal"
  136. hoverImage="vis.button.next.hover"
  137. downImage="vis.button.next.down"
  138. tooltip="Next Visualization Preset"
  139. />
  140. <ToggleButton id="vis.random"
  141. x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  142. image="vis.button.random.normal"
  143. hoverImage="vis.button.random.hover"
  144. downImage="vis.button.random.down"
  145. tooltip="Randomly change Visualization Presets"
  146. cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
  147. />
  148. <ToggleButton id="vis.random.active"
  149. x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
  150. ActiveImage="vis.button.random.active"
  151. ghost="1"
  152. cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
  153. />
  154. <script file="../Big Bento/scripts/syncbutton.maki" param="vis.random;vis.random.active" />
  155. <Button action="VIS_Menu"
  156. x="-52" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  157. image="vis.button.presets.normal"
  158. hoverImage="vis.button.presets.hover"
  159. downImage="vis.button.presets.down"
  160. tooltip="Presets"
  161. />
  162. <Button action="VIS_Cfg"
  163. x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
  164. image="video.button.cfg.normal"
  165. hoverImage="video.button.cfg.hover"
  166. downImage="video.button.cfg.down"
  167. tooltip="Preset Editor / Options"
  168. />
  169. </groupdef>
  170. <groupdef id="sui.components">
  171. <group id="wdh.ml" fitparent="1" visible="0" />
  172. <group id="wdh.pl" fitparent="1" visible="0" />
  173. <group id="wdh.vis" fitparent="1" visible="0" />
  174. <group id="wdh.video" fitparent="1" visible="0" />
  175. <!-- <group id="wdh.browser" fitparent="1" visible="0" /> -->
  176. </groupdef>
  177. <!--
  178. Params for <Bento:TabButton/>
  179. text="sometext"
  180. the object itself is a button.
  181. -->
  182. <groupdef id="bento.tabbutton" xuitag="Bento:TabButton" embed_xui="bento.tabbutton.mousetrap">
  183. <grid id="bento.tabbutton.normal"
  184. fitparent="1" y="1" h="-2" relath="1" visible="1"
  185. left="sui.button.inactive.normal.left"
  186. middle="sui.button.inactive.normal.center"
  187. right="sui.button.inactive.normal.right"
  188. />
  189. <text id="bento.tabbutton.normal.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="1" color="color.tabbutton.text.inactive" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
  190. <grid id="bento.tabbutton.hover"
  191. fitparent="1" y="1" h="-2" relath="1" visible="0"
  192. left="sui.button.inactive.hover.left"
  193. middle="sui.button.inactive.hover.center"
  194. right="sui.button.inactive.hover.right"
  195. />
  196. <text id="bento.tabbutton.hover.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="0" color="color.tabbutton.text.inactive.hover" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
  197. <grid id="bento.tabbutton.active"
  198. fitparent="1" y="0" h="-1" relath="1" visible="0"
  199. left="sui.button.active.normal.left"
  200. middle="sui.button.active.normal.center"
  201. right="sui.button.active.normal.right"
  202. />
  203. <text id="bento.tabbutton.active.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="0" color="color.tabbutton.text.active" shadow="1" shadowcolor="color.tabbutton.text.active.shadow" shadowx="0" shadowy="1"/>
  204. <grid id="bento.tabbutton.footer"
  205. x="0" y="-1" h="1" w="0" relatw="1" relaty="1" visible="0"
  206. left="sui.button.active.footer.left"
  207. middle="sui.button.active.footer.center"
  208. right="sui.button.active.footer.right"
  209. />
  210. <button id="bento.tabbutton.mousetrap" fitparent="1" y="1" h="-1" relath="1" rectrgn="1" />
  211. <script file="../Big Bento/scripts/tabbutton.maki" />
  212. </groupdef>
  213. <groupdef id="sui.content" >
  214. <grid fitparent="1" move="1"
  215. topleft="sui.background.topleft"
  216. top="sui.background.top"
  217. topright="sui.background.topright"
  218. left="sui.background.left"
  219. middle="sui.background.center"
  220. right="sui.background.right"
  221. bottomleft="sui.background.bottomleft"
  222. bottom="sui.background.bottom"
  223. bottomright="sui.background.bottomright"
  224. />
  225. <grid x="1" y="23" h="-24" w="-2" relath="1" relatw="1"
  226. topleft="sui.component.topleft"
  227. top="sui.component.top"
  228. topright="sui.component.topright"
  229. left="sui.component.left"
  230. middle="sui.component.center"
  231. right="sui.component.right"
  232. bottomleft="sui.component.bottomleft"
  233. bottom="sui.component.bottom"
  234. bottomright="sui.component.bottomright"
  235. />
  236. <Bento:TabButton id="switch.ml" x="4" h="19" w="87" y="5" tabtext="Media Library"/>
  237. <Bento:TabButton id="switch.pl" x="4" h="19" w="87" y="5" tabtext="Playlist"/>
  238. <Bento:TabButton id="switch.video" x="92" h="19" w="47" y="5" tabtext="Video"/>
  239. <Bento:TabButton id="switch.vis" x="140" h="19" w="84" y="5" tabtext="Visualization"/>
  240. <!-- <Bento:TabButton id="switch.browser" x="225" h="19" w="63" y="5" tabtext="Browser"/> -->
  241. <script file="../Big Bento/scripts/tabcontrol.maki" param="@HAVE_LIBRARY@"/>
  242. <group id="sui.components" x="1" y="23" h="-26" w="-2" relatw="1" relath="1"/>
  243. </groupdef>