1
0

player-shade.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <groupdef id="shade.cbuttons">
  2. <Button id="Prev"
  3. x="0" y="0" h="16" w="14" rectrgn="1"
  4. image="shade.button.previous.normal"
  5. hoverImage="shade.button.previous.hover"
  6. downImage="shade.button.previous.down"
  7. action="PREV" tooltip="Previous Track"
  8. />
  9. <Button id="Play"
  10. x="14" y="0" h="16" w="12" rectrgn="1"
  11. image="shade.button.play.normal"
  12. hoverImage="shade.button.play.hover"
  13. downImage="shade.button.play.down"
  14. action="PLAY" tooltip="Play"
  15. />
  16. <Button id="Pause"
  17. x="26" y="0" h="16" w="12" rectrgn="1"
  18. image="shade.button.pause.normal"
  19. hoverImage="shade.button.pause.hover"
  20. downImage="shade.button.pause.down"
  21. action="PAUSE" tooltip="Pause Playback"
  22. />
  23. <Button id="Stop"
  24. x="38" y="0" h="16" w="14" rectrgn="1"
  25. image="shade.button.stop.normal"
  26. hoverImage="shade.button.stop.hover"
  27. downImage="shade.button.stop.down"
  28. action="STOP" tooltip="Stop Playback"
  29. />
  30. <Button id="Next"
  31. x="52" y="0" h="16" w="14" rectrgn="1"
  32. image="shade.button.next.normal"
  33. hoverImage="shade.button.next.hover"
  34. downImage="shade.button.next.down"
  35. action="NEXT" tooltip="Next Track"
  36. />
  37. <Button id="Eject"
  38. x="72" y="0" h="16" w="15" rectrgn="1"
  39. image="shade.button.eject.normal"
  40. hoverImage="shade.button.eject.hover"
  41. downImage="shade.button.eject.down"
  42. action="EJECT" tooltip="Open File(s)"
  43. />
  44. </groupdef>
  45. <groupdef id="shade.display">
  46. <grid
  47. x="0" y="0" h="18" w="-6" relatw="1" ghost="1"
  48. left="shade.display.left"
  49. middle="shade.display.middle"
  50. right="shade.display.right"
  51. />
  52. <text id="SongTime"
  53. x="3" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
  54. display="time" align="left" font="player.bitmapfont.songinfo"
  55. />
  56. <SongTicker id="Songticker" nograbb="1" move="1"
  57. x="0" y="2" h="12" w="-8" relatw="1"
  58. display="SONGTITLE" showlen="1" ticker="1" rightpadding="-3"
  59. rightclickaction="trackmenu" dblclickaction="trackinfo" align="right"
  60. color="color.display" fontsize="12" valign="top" bold="2"
  61. />
  62. <text id="InfoDisplay" nograbb="1" move="1"
  63. x="0" y="2" h="12" w="-8" relatw="1" offsetx="-3"
  64. align="right" color="color.display" fontsize="12" valign="top" bold="2" ghost="1"
  65. />
  66. <script file="scripts/songticker.maki" param="5,big" />
  67. </groupdef>
  68. <groupdef id="shade.vis">
  69. <grid
  70. x="0" y="0" h="18" w="-6" relatw="1" ghost="1"
  71. left="shade.display.left"
  72. middle="shade.display.middle"
  73. right="shade.display.right"
  74. />
  75. <vis
  76. id="main.vis"
  77. x="4" y="4"
  78. w="54" h="9"
  79. colorbandpeak="162,193,204"
  80. colorband1="82,97,102"
  81. colorband2="74,88,93"
  82. colorband3="78,92,97"
  83. colorband4="83,97,104"
  84. colorband5="88,102,107"
  85. colorband6="94,107,112"
  86. colorband7="100,113,118"
  87. colorband8="106,120,125"
  88. colorband9="112,121,131"
  89. colorband10="117,131,136"
  90. colorband11="122,137,142"
  91. colorband12="127,141,146"
  92. colorband13="131,145,150"
  93. colorband14="136,150,155"
  94. colorband15="140,154,159"
  95. colorband16="145,159,164"
  96. colorosc1="82,97,102"
  97. colorosc2="83,97,104"
  98. colorosc3="106,120,125"
  99. colorosc4="127,141,146"
  100. colorosc5="145,159,164"
  101. gammagroup="Displaytext"
  102. />
  103. <layer id="main.vis.trigger" x="2" y="3" h="11" w="58" rectrgn="1"/>
  104. <script file="scripts/visualizer.maki"/>
  105. </groupdef>
  106. <groupdef id="shade.volume">
  107. <button id="mute" x="0" y="0" w="16" h="16"
  108. image="shade.button.mute.normal"
  109. hoverImage="shade.button.mute.hover"
  110. downImage="shade.button.mute.down"
  111. tooltip="Mute Volume"
  112. />
  113. <button id="etum" x="0" y="0" w="16" h="16"
  114. image="shade.button.demute.normal"
  115. hoverImage="shade.button.demute.hover"
  116. downImage="shade.button.demute.down"
  117. tooltip="Turn Volume on"
  118. visible="0"
  119. />
  120. <layer id="player.volume.label" x="20" y="1" image="shade.label.volume" ghost="1"/>
  121. <layer id="shade.volume.bg"
  122. x="17" y="5" h="5" w="40"
  123. image="shade.track.volume"
  124. ghost="1"
  125. />
  126. <grid id="player.volume.fill"
  127. x="19" y="7" h="2" w="38"
  128. left="player.slider.light.left"
  129. middle="player.slider.light.center"
  130. right="player.slider.light.right"
  131. />
  132. <Slider
  133. id="Volume"
  134. action="Volume"
  135. x="16" y="4" h="10" w="42"
  136. thumb="shade.volume.thumb.normal"
  137. hoverThumb="shade.volume.thumb.hover"
  138. downThumb="shade.volume.thumb.down"
  139. tooltip="Volume"
  140. />
  141. <script file="scripts/mute.maki" param="38"/>
  142. <!-- param = max_w for volume fillbar -->
  143. </groupdef>
  144. <groupdef id="shade.seek">
  145. <grid id="player.seek.bg"
  146. x="1" y="5" h="5" w="-5" relatw="1"
  147. left="shade.track.seek.left"
  148. middle="shade.track.seek.middle"
  149. right="shade.track.seek.right"
  150. />
  151. <ProgressGrid id="progressbar"
  152. x="3" y="7" h="2" w="-7" relatw="1"
  153. orientation="right"
  154. left="player.slider.light.left"
  155. middle="player.slider.light.center"
  156. right="player.slider.light.right"
  157. />
  158. <Slider
  159. id="seeker"
  160. action="SEEK"
  161. x="0" y="4" h="10" w="-4" relatw="1"
  162. thumb="shade.seek.thumb.normal"
  163. hoverThumb="shade.seek.thumb.hover"
  164. downThumb="shade.seek.thumb.down"
  165. ghost="1"
  166. visible="0"
  167. tooltip="Seeker"
  168. />
  169. <Slider
  170. id="seeker.ghost"
  171. action="SEEK"
  172. x="0" y="4" h="10" w="-4" relatw="1"
  173. thumb="shade.seek.thumb.normal"
  174. hoverThumb="shade.seek.thumb.hover"
  175. downThumb="shade.seek.thumb.down"
  176. tooltip="Seeker"
  177. />
  178. <script file="scripts/seek.maki"/>
  179. </groupdef>
  180. <groupdef id="shade.links">
  181. <rect color="0,0,0" alpha="180" x="0" y="0" w="47" h="21" filled="1"/>
  182. <button id="search" x="24" y="0" w="22" h="21"
  183. image="shade.button.search.normal"
  184. hoverImage="shade.button.search.hover"
  185. downImage="shade.button.search.down"
  186. tooltip="Search the web for this artist"
  187. />
  188. <layer id="search.bg" ghost="1" x="24" y="0" image="shade.button.icon.bg" />
  189. <layer id="search.icon" ghost="1" x="24" y="0" image="shade.button.icon.search" />
  190. <script file="scripts/syncbutton.maki" param="search;search.bg"/>
  191. <script file="scripts/syncbutton.maki" param="search;search.icon"/>
  192. <button id="nowplaying" x="1" y="0" w="22" h="21"
  193. image="shade.button.search.normal"
  194. hoverImage="shade.button.search.hover"
  195. downImage="shade.button.search.down"
  196. tooltip="More information about this artist"
  197. />
  198. <layer id="nowplaying.bg" ghost="1" x="1" y="0" image="shade.button.icon.bg" />
  199. <layer id="nowplaying.icon" ghost="1" x="1" y="0" image="shade.button.icon.nowplaying" />
  200. <script file="scripts/syncbutton.maki" param="nowplaying;nowplaying.bg"/>
  201. <script file="scripts/syncbutton.maki" param="nowplaying;nowplaying.icon"/>
  202. <script file="scripts/syncbutton.maki" param="nowplaying;nowplaying.icon"/>
  203. <script file="scripts/shadelinks.maki"/>
  204. </groupdef>
  205. <layout id="shade" minimum_w="273" h="23" minimum_h="23" maximum_h="23" w="500" primarycomponent="guid:player" appbar="top|bottom">
  206. <!-- Background -->
  207. <group id="window.background.regions" fitparent="1" sysregion="1" />
  208. <layer id="window.background.maximize" fitparent="1" image="window.background.maximized" sysregion="1" visible="0"/>
  209. <grid
  210. x="0" y="0" h="23" w="0" relatw="1" regionop="1"
  211. left="window.titlebar.grid.left"
  212. middle="window.titlebar.grid.middle"
  213. right="window.titlebar.grid.right"
  214. />
  215. <grid
  216. x="0" y="0" h="23" w="0" relatw="1" regionop="1"
  217. left="window.titlebar.grid.over.left"
  218. middle="window.titlebar.grid.over.middle"
  219. right="window.titlebar.grid.over.right"
  220. />
  221. <layer x="35" y="7" image="window.titlebar.text.winamp" ghost="1" />
  222. <guiobject fitparent="1" rectrgn="1" move="1" id="shade.mousetrap"/>
  223. <!-- System Buttons -->
  224. <button
  225. x="7" y="5" h="13" w="15"
  226. action="SYSMENU"
  227. image="window.titlebar.button.sysmenu.normal"
  228. hoverImage="window.titlebar.button.sysmenu.hover"
  229. downImage="window.titlebar.button.sysmenu.down"
  230. tooltip="Main Menu"
  231. />
  232. <button
  233. x="-84" relatx="1" y="5" h="13" w="17"
  234. id="shade.button.minimize"
  235. action="MINIMIZE"
  236. image="window.titlebar.button.minimize.normal"
  237. hoverImage="window.titlebar.button.minimize.hover"
  238. downImage="window.titlebar.button.minimize.down"
  239. tooltip="Minimize Winamp"
  240. />
  241. <button
  242. x="-64" relatx="1" y="5" h="13" w="17"
  243. id="shade.button.restore"
  244. image="window.titlebar.button.restore.normal"
  245. hoverImage="window.titlebar.button.restore.hover"
  246. downImage="window.titlebar.button.restore.down"
  247. tooltip="Restore Winamp"
  248. />
  249. <button
  250. x="-64" relatx="1" y="5" h="13" w="17"
  251. id="shade.button.maximize"
  252. image="window.titlebar.button.maximize.normal"
  253. hoverImage="window.titlebar.button.maximize.hover"
  254. downImage="window.titlebar.button.maximize.down"
  255. tooltip="Maximize Winamp"
  256. />
  257. <button
  258. x="-44" relatx="1" y="5" h="13" w="17"
  259. action="SWITCH" param="normal"
  260. image="window.titlebar.button.shade.normal"
  261. hoverImage="window.titlebar.button.shade.hover"
  262. downImage="window.titlebar.button.shade.down"
  263. tooltip="Main Mode"
  264. />
  265. <button
  266. x="-24" relatx="1" y="5" h="13" w="17"
  267. action="CLOSE"
  268. image="window.titlebar.button.close.normal"
  269. hoverImage="window.titlebar.button.close.hover"
  270. downImage="window.titlebar.button.close.down"
  271. tooltip="Exit Winamp"
  272. />
  273. <layer x="-6" y="2" w="5" h="18" rectrgn="1" relatx="1" resize="right" image="shade.resizer.right" id="shade.resizer.right"/>
  274. <layer x="-6" y="0" w="6" h="23" rectrgn="1" relatx="1" resize="right" id="shade.resizer.right2"/>
  275. <group id="shade.display" x="163" y="3" w="100" h="18" visible="0"/>
  276. <group id="shade.cbuttons" x="93" y="4" w="96" h="16"/>
  277. <group id="shade.volume" x="163" y="4" w="65" h="16" visible="0"/>
  278. <group id="shade.seek" x="-151" relatx="1" y="4" w="63" h="16" visible="0"/>
  279. <group id="shade.vis" x="96" y="3" w="67" h="16" visible="0"/>
  280. <group id="shade.links" x="0" y="1" w="51" h="21" relatx="1" visible="0"/>
  281. <script file="scripts/shadesize.maki" param="90" />
  282. </layout>