1
0

player-normal-group.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. <!-- Player:Component:Player -->
  2. <groupdef id="player.display.beatvis.content">
  3. <animatedlayer id="beatvisleft" x="0" y="0" h="28" w="43" image="player.beatvis.left" move="0" autoplay="0" autoreplay="0" ghost="1" />
  4. <animatedlayer id="beatvisright" x="44" y="0" h="28" w="43" image="player.beatvis.right" move="0" autoplay="0" autoreplay="0" ghost="1" />
  5. <togglebutton fitparent="1" rectrgn="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Enable Beat Visualization" tooltip="Toggle Beat Visualization"/>
  6. </groupdef>
  7. <groupdef id="player.display.beatvis">
  8. <group id="player.display.beatvis.content" x="0" y="0" w="87" h="28" />
  9. <script file="scripts/beatvisualization.maki"/>
  10. </groupdef>
  11. <groupdef id="player.display">
  12. <grid x="0" y="0" h="69" w="0" relatw="1" left="player.display.background.left" middle="player.display.background.center" right="player.display.background.right" move="1"/>
  13. <grid x="0" y="0" h="69" w="0" relatw="1" left="player.display.foreground.left" middle="player.display.foreground.center" right="player.display.foreground.right" move="1"/>
  14. <status
  15. id="status" w="5" h="6"
  16. x="-156" y="26.9" relatx="1" move="1"
  17. stopBitmap="player.display.status.stopped"
  18. playBitmap="player.display.status.playing"
  19. pauseBitmap="player.display.status.paused"
  20. />
  21. <text id="SongTime"
  22. x="7" y="8" h="31" w="102"
  23. font="player.bitmapfont.nums" timecolonwidth="6"
  24. display="time" align="left" alpha="220"
  25. />
  26. <SongTicker id="Songticker"
  27. x="70" y="6" h="20" w="-72" relatw="1"
  28. showlen="1" rightpadding="-3"
  29. rightclickaction="trackmenu" dblclickaction="trackinfo" align="right"
  30. color="color.display" size="13" valign="top" antialias="0" fontsize="16"
  31. />
  32. <Text id="InfoDisplay"
  33. x="70" y="6" h="20" w="-72" relatw="1" alpha="0"
  34. display="SONGTITLE" showlen="1" offsetx="-3" align="right"
  35. color="color.display" size="13" valign="top" antialias="0" ghost="1"
  36. />
  37. <script file="scripts/songticker.maki" param="-7,big"/>
  38. <!-- Bitrate -->
  39. <layer id="Bitrate.label" x="-119" relatx="1" y="26.9" image="player.songinfo.bitrate" move="1"/>
  40. <text
  41. id="Bitrate" move="1"
  42. x="-151" y="26.9" w="30" h="5" relatx="1" fontsize="5" font="player.bitmapfont.songinfo" align="right"
  43. />
  44. <!-- Frequency -->
  45. <layer id="Frequency.label" x="-78" y="26.9" relatx="1" image="player.songinfo.frequency" move="1"/>
  46. <text
  47. id="Frequency" move="1"
  48. display="SONGSAMPLERATE" textrefreshrate="500"
  49. x="-105" y="26.9" w="25" h="5" relatx="1" fontsize="5" font="player.bitmapfont.songinfo" align="right"
  50. />
  51. <layer id="monster" x="-52" y="26.9" h="5" w="40" relatx="1" image="player.songinfo.na" move="1" rectrgn="1" dblclickaction="WA5:Prefs" dblclickparam="42" />
  52. <script file="scripts/songinfo.maki" param="big"/>
  53. <vis
  54. id="main.vis"
  55. x="11" y="43.9"
  56. w="108" h="16"
  57. colorbandpeak="162,193,204"
  58. colorband1="82,97,102"
  59. colorband2="74,88,93"
  60. colorband3="78,92,97"
  61. colorband4="83,97,104"
  62. colorband5="88,102,107"
  63. colorband6="94,107,112"
  64. colorband7="100,113,118"
  65. colorband8="106,120,125"
  66. colorband9="112,121,131"
  67. colorband10="117,131,136"
  68. colorband11="122,137,142"
  69. colorband12="127,141,146"
  70. colorband13="131,145,150"
  71. colorband14="136,150,155"
  72. colorband15="140,154,159"
  73. colorband16="145,159,164"
  74. colorosc1="82,97,102"
  75. colorosc2="83,97,104"
  76. colorosc3="106,120,125"
  77. colorosc4="127,141,146"
  78. colorosc5="145,159,164"
  79. gammagroup="DisplayText"
  80. />
  81. <vis
  82. id="main.vis.mirror"
  83. x="11" y="60.9"
  84. w="108" h="16"
  85. colorbandpeak="83,97,104"
  86. colorband1="82,97,102"
  87. colorband2="74,88,93"
  88. colorband3="78,92,97"
  89. colorband4="83,97,104"
  90. colorband5="88,102,107"
  91. colorband6="94,107,112"
  92. colorband7="100,113,118"
  93. colorband8="106,120,125"
  94. colorband9="112,121,131"
  95. colorband10="117,131,136"
  96. colorband11="122,137,142"
  97. colorband12="127,141,146"
  98. colorband13="131,145,150"
  99. colorband14="136,150,155"
  100. colorband15="140,154,159"
  101. colorband16="145,159,164"
  102. colorosc1="82,97,102"
  103. colorosc2="83,97,104"
  104. colorosc3="106,120,125"
  105. colorosc4="127,141,146"
  106. colorosc5="145,159,164"
  107. ghost="1"
  108. alpha="100"
  109. flipv="1"
  110. mode="1"
  111. gammagroup="DisplayText"
  112. />
  113. <layer id="main.vis.trigger" x="11" y="42" h="28" w="108" rectrgn="1"/>
  114. <group id="player.display.beatvis" x="121" y="40.9" w="-281" h="28" relatw="1"/>
  115. <script file="scripts/visualizer.maki" />
  116. </groupdef>
  117. <groupdef id="player.cbuttons">
  118. <layer x="3" y="1" image="player.button.previous.placeholder" move="0"/>
  119. <Button id="Prev"
  120. x="5" y="3"
  121. image="player.button.previous.normal"
  122. hoverImage="player.button.previous.hover"
  123. downImage="player.button.previous.down"
  124. action="PREV" tooltip="Previous Track"
  125. />
  126. <layer id="Prev.glow" x="0" y="0" image="player.button.previous.glow" alpha="0" ghost="1"/>
  127. <Button id="Play"
  128. x="32" y="3"
  129. image="player.button.play.normal"
  130. hoverImage="player.button.play.hover"
  131. downImage="player.button.play.down"
  132. action="PLAY" tooltip="Play"
  133. />
  134. <layer id="Play.glow" x="29" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
  135. <Button id="Pause"
  136. x="59" y="3"
  137. image="player.button.pause.normal"
  138. hoverImage="player.button.pause.hover"
  139. downImage="player.button.pause.down"
  140. action="PAUSE" tooltip="Pause Playback"
  141. />
  142. <layer id="Pause.glow" x="56" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
  143. <Button id="Stop"
  144. x="86" y="3"
  145. image="player.button.stop.normal"
  146. hoverImage="player.button.stop.hover"
  147. downImage="player.button.stop.down"
  148. action="STOP" tooltip="Stop Playback"
  149. />
  150. <layer id="Stop.glow" x="83" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
  151. <Button id="Next"
  152. x="113" y="3"
  153. image="player.button.next.normal"
  154. hoverImage="player.button.next.hover"
  155. downImage="player.button.next.down"
  156. action="NEXT" tooltip="Next Track"
  157. />
  158. <layer id="Next.glow" x="112" y="0" image="player.button.next.glow" alpha="0" ghost="1"/>
  159. <layer x="-144" y="5" relatx="1" image="player.button.mute.placeholder" move="0"/>
  160. <Button id="Eject"
  161. x="-144" y="5" h="18" w="33" relatx="1"
  162. image="player.button.eject.normal"
  163. hoverImage="player.button.eject.hover"
  164. downImage="player.button.eject.down"
  165. action="EJECT" tooltip="Open File(s)"
  166. />
  167. <layer id="Eject.glow" x="-144" y="4" relatx="1" image="player.button.mute.glow" alpha="0" ghost="1"/>
  168. <layer x="-106" y="5" relatx="1" image="player.button.shuffle.placeholder" move="0"/>
  169. <NStatesButton
  170. id="shuffle"
  171. x="-106" y="5" relatx="1"
  172. image="player.button.shuffle.normal"
  173. hoverimage="player.button.shuffle.hover"
  174. downimage="player.button.shuffle.down"
  175. rectrgn="1" nstates="2"
  176. tooltip="Toggle Playlist Shuffling"
  177. cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle"
  178. />
  179. <layer id="shuffle.glow" x="-106" y="4" relatx="1" image="player.button.shuffle.glow" alpha="0" ghost="1"/>
  180. <NStatesButton
  181. id="repeat"
  182. x="-68" y="5" relatx="1"
  183. image="player.button.repeat.normal"
  184. hoverimage="player.button.repeat.hover"
  185. downimage="player.button.repeat.down"
  186. rectrgn="1" nstates="3"
  187. tooltip="Toggle Playlist/Song Repeating"
  188. cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat"
  189. cfgvals="0;1;-1"
  190. />
  191. <layer id="repeat.glow" x="-68" y="4" relatx="1" image="player.button.repeat.glow" alpha="0" ghost="1"/>
  192. </groupdef>
  193. <groupdef id="player.layout" wantfocus="1" rectrgn="1" move="0">
  194. <group id="player.display" x="3" w="-4" relatw="1" h="69" y="0"/>
  195. <!-- Volume -->
  196. <layer id="player.placeholder.mute" x="-144" y="52" relatx="1" image="player.button.mute.placeholder" move="0"/>
  197. <button id="mute" x="-144" y="52" w="33" h="18" relatx="1"
  198. image="player.button.mute.normal"
  199. hoverImage="player.button.mute.hover"
  200. downImage="player.button.mute.down"
  201. tooltip="Mute Volume"
  202. />
  203. <button id="etum" x="-144" y="52" w="33" h="18" relatx="1"
  204. image="player.button.demute.normal"
  205. hoverImage="player.button.demute.hover"
  206. downImage="player.button.demute.down"
  207. tooltip="Turn Volume On"
  208. visible="0"
  209. />
  210. <layer id="mute.glow" x="-144" y="51" relatx="1" image="player.button.mute.glow" alpha="0" ghost="1"/>
  211. <layer id="mute.active" x="-145" y="46" relatx="1" image="player.button.mute.active" visible="0" ghost="1"/>
  212. <layer id="player.volume.label" x="-97" y="47" relatx="1" image="player.label.volume" move="1"/>
  213. <grid id="player.volume.bg"
  214. x="-101" y="59" h="5" w="97" relatx="1"
  215. left="player.slider.background.left"
  216. middle="player.slider.background.center"
  217. right="player.slider.background.right"
  218. />
  219. <grid id="player.volume.fill"
  220. x="-99" y="61" h="2" w="95" relatx="1"
  221. left="player.slider.light.left"
  222. middle="player.slider.light.center"
  223. right="player.slider.light.right"
  224. />
  225. <Slider
  226. id="Volume"
  227. action="Volume"
  228. x="-102" y="57" h="12" w="99" relatx="1"
  229. thumb="player.volume.thumb.normal"
  230. hoverThumb="player.volume.thumb.hover"
  231. downThumb="player.volume.thumb.down"
  232. tooltip="Volume"
  233. />
  234. <script file="scripts/mute.maki" param="95"/>
  235. <!-- param = max_w for volume fillbar -->
  236. <!-- Seek -->
  237. <grid id="player.seek.bg"
  238. x="4" y="79" h="5" w="-8" relatw="1"
  239. left="player.slider.background.left"
  240. middle="player.slider.background.center"
  241. right="player.slider.background.right"
  242. />
  243. <ProgressGrid id="progressbar"
  244. x="6" y="81" h="2" w="-10" relatw="1"
  245. orientation="right"
  246. left="player.slider.light.left"
  247. middle="player.slider.light.center"
  248. right="player.slider.light.right"
  249. interval="100"
  250. />
  251. <Slider
  252. id="seeker"
  253. action="SEEK"
  254. x="3" y="77" h="12" w="-6" relatw="1"
  255. thumb="player.posbar.thumb.normal"
  256. hoverThumb="player.posbar.thumb.hover"
  257. downThumb="player.posbar.thumb.down"
  258. ghost="1"
  259. visible="0"
  260. tooltip="Seeker"
  261. interval="100"
  262. />
  263. <Slider
  264. id="seeker.ghost"
  265. action="SEEK"
  266. x="3" y="77" h="12" w="-6" relatw="1"
  267. thumb="player.posbar.thumb.normal"
  268. hoverThumb="player.posbar.thumb.hover"
  269. downThumb="player.posbar.thumb.down"
  270. tooltip="Seeker"
  271. interval="100"
  272. />
  273. <script file="scripts/seek.maki"/>
  274. <group id="player.cbuttons" x="0" y="93" h="32" w="0" relatw="1"/>
  275. <NStatesButton id="shuffle.active" x="-103" y="91" image="player.button.shuffle.active" ghost="1" relatx="1" cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle" nstates="2"/>
  276. <NStatesButton id="repeat.active" x="-69" y="92" image="player.button.repeat.active" ghost="1" relatx="1" cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat" cfgvals="0;1;-1" nstates="3"/>
  277. <script file="scripts/cbuttons.maki" param="290"/>
  278. <!-- Param defines the min_w of the cbuttons group -->
  279. </groupdef>
  280. <!-- Player:Titlebar -->
  281. <groupdef id="player.mainmenu" rectregn="1" rectrgn="1">
  282. <!-- Note: Most of the items in this group will be placed by script, so don't waste your time -->
  283. <layer id="menu.text.file" x="0" y="6" h="10" image="window.titlebar.menu.text.file" />
  284. <layer id="menu.layer.file.normal" x="0" y="0" h="21" w="0" image="window.titlebar.menu.normal" visible="1" />
  285. <layer id="menu.layer.file.hover" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  286. <layer id="menu.layer.file.down" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  287. <layer id="menu.text.play" x="0" y="6" h="10" image="window.titlebar.menu.text.play" />
  288. <layer id="menu.layer.play.normal" x="0" y="0" h="21" w="0" image="window.titlebar.menu.normal" visible="1" />
  289. <layer id="menu.layer.play.hover" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  290. <layer id="menu.layer.play.down" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  291. <layer id="menu.text.options" x="0" y="6" h="10" image="window.titlebar.menu.text.options" />
  292. <layer id="menu.layer.options.normal" x="0" y="0" h="21" w="0" image="window.titlebar.menu.normal" visible="1" />
  293. <layer id="menu.layer.options.hover" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  294. <layer id="menu.layer.options.down" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  295. <layer id="menu.text.view" x="0" y="6" h="10" image="window.titlebar.menu.text.view" />
  296. <layer id="menu.layer.view.normal" x="0" y="0" h="21" w="21" image="window.titlebar.menu.normal" visible="1" />
  297. <layer id="menu.layer.view.hover" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  298. <layer id="menu.layer.view.down" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  299. <layer id="menu.text.help" x="0" y="6" h="10" image="window.titlebar.menu.text.help" />
  300. <layer id="menu.layer.help.normal" x="0" y="0" h="21" w="0" image="window.titlebar.menu.normal" visible="1" />
  301. <layer id="menu.layer.help.hover" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  302. <layer id="menu.layer.help.down" x="0" y="0" h="21" w="0" image="window.titlebar.menu.down" visible="0" />
  303. <Menu id="file.menu" menugroup="main" next="Play.menu" prev="Help.menu" x="0" y="0" h="21" w="0" menu="WA5:File" normal="menu.layer.file.normal" hover="menu.layer.file.hover" down="menu.layer.file.down" />
  304. <Menu id="play.menu" menugroup="main" next="Options.menu" prev="File.menu" x="0" y="0" h="21" w="0" menu="WA5:Play" normal="menu.layer.play.normal" hover="menu.layer.play.hover" down="menu.layer.play.down" />
  305. <Menu id="options.menu" menugroup="main" next="View.menu" prev="Play.menu" x="0" y="0" h="21" w="0" menu="WA5:Options" normal="menu.layer.options.normal" hover="menu.layer.options.hover" down="menu.layer.options.down" />
  306. <Menu id="view.menu" menugroup="main" next="Help.menu" prev="Options.menu" x="0" y="0" h="21" w="0" menu="WA5:Windows" normal="menu.layer.view.normal" hover="menu.layer.view.hover" down="menu.layer.view.down" />
  307. <Menu id="help.menu" menugroup="main" next="File.menu" prev="view.menu" x="0" y="0" h="21" w="0" menu="WA5:Help" normal="menu.layer.help.normal" hover="menu.layer.help.hover" down="menu.layer.help.down" />
  308. <guiObject fitparent="1" id="menu.hidden.mousetrap" visible="0" move="1"/>
  309. </groupdef>
  310. <groupdef id="player.titlebar">
  311. <grid
  312. x="0" y="0" h="23" w="0" relatw="1" regionop="1"
  313. left="window.titlebar.grid.left"
  314. middle="window.titlebar.grid.middle"
  315. right="window.titlebar.grid.right"
  316. />
  317. <layer x="35" y="7" image="window.titlebar.text.winamp" ghost="1" />
  318. <guiobject fitparent="1" rectrgn="1" move="1" id="player.mousetrap.maximize"/>
  319. <layer id="titlebar.resizer.topleft" x="0" y="0" h="3" w="5" rectrgn="1" resize="topleft" />
  320. <layer id="titlebar.resizer.top" x="5" y="0" h="3" w="-10" relatw="1" rectrgn="1" resize="top" />
  321. <layer id="titlebar.resizer.topright" x="-5" y="0" h="3" w="5" relatx="1" rectrgn="1" resize="topright" />
  322. <layer x="0" y="3" h="15" w="5" rectrgn="1" resize="left" />
  323. <layer x="-5" y="3" h="15" w="5" relatx="1" rectrgn="1" resize="right" />
  324. <layer id="titlebar.resizer.disable" x="0" y="0" h="23" w="0" relatw="1" rectrgn="1" ghost="1" move="0"/>
  325. <grid
  326. x="0" y="0" h="23" w="97" relatw="0" regionop="1" ghost="1"
  327. left="window.titlebar.grid.over.left"
  328. middle="window.titlebar.grid.over.middle"
  329. />
  330. <grid
  331. id="titlebar.grid.right"
  332. x="295" y="0" h="23" w="-295" relatw="1" regionop="1" ghost="1"
  333. middle="window.titlebar.grid.over.middle"
  334. right="window.titlebar.grid.over.right"
  335. />
  336. <group id="player.mainmenu" x="97" y="1" w="388" h="21" ghost="1" />
  337. <button
  338. x="7" y="5" h="13" w="20"
  339. action="SYSMENU"
  340. image="window.titlebar.button.sysmenu.normal"
  341. hoverImage="window.titlebar.button.sysmenu.hover"
  342. downImage="window.titlebar.button.sysmenu.down"
  343. tooltip="Main Menu"
  344. />
  345. <button
  346. x="-84" relatx="1" y="5" h="13" w="17"
  347. id="player.button.minimize"
  348. action="MINIMIZE"
  349. image="window.titlebar.button.minimize.normal"
  350. hoverImage="window.titlebar.button.minimize.hover"
  351. downImage="window.titlebar.button.minimize.down"
  352. tooltip="Minimize Winamp"
  353. />
  354. <button
  355. x="-64" relatx="1" y="5" h="13" w="17"
  356. id="player.titlebar.button.restore"
  357. image="window.titlebar.button.restore.normal"
  358. hoverImage="window.titlebar.button.restore.hover"
  359. downImage="window.titlebar.button.restore.down"
  360. tooltip="Restore Winamp"
  361. />
  362. <button
  363. x="-64" relatx="1" y="5" h="13" w="17"
  364. id="player.titlebar.button.maximize"
  365. image="window.titlebar.button.maximize.normal"
  366. hoverImage="window.titlebar.button.maximize.hover"
  367. downImage="window.titlebar.button.maximize.down"
  368. tooltip="Maximize Winamp"
  369. />
  370. <button
  371. x="-44" relatx="1" y="5" h="13" w="17"
  372. action="SWITCH" param="shade"
  373. image="window.titlebar.button.shade.normal"
  374. hoverImage="window.titlebar.button.shade.hover"
  375. downImage="window.titlebar.button.shade.down"
  376. tooltip="Windowshade Mode"
  377. />
  378. <button
  379. id="maximize.slam.close" visible="1"
  380. x="-24" relatx="1" y="0" h="18" w="24"
  381. rectrgn="1"
  382. action="CLOSE"
  383. tooltip="Exit Winamp"
  384. />
  385. <button
  386. x="-24" relatx="1" y="5" h="13" w="17"
  387. action="CLOSE"
  388. image="window.titlebar.button.close.normal"
  389. hoverImage="window.titlebar.button.close.hover"
  390. downImage="window.titlebar.button.close.down"
  391. tooltip="Exit Winamp"
  392. />
  393. <script file="scripts/mainmenu.maki" />
  394. </groupdef>
  395. <groupdef id="window.background.regions">
  396. <layer x="0" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
  397. <layer x="-1" relatx="1" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
  398. <layer x="0" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
  399. <layer x="-1" relatx="1" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
  400. </groupdef>