webamp/packages/webamp-modern/assets/winamp_classic/xml/main.xml
Fathony Luthfillah a628c51d4e
+avs, +vis.oscilloscope (#1211)
Co-authored-by: Fathony Luthfillah <fathony@smart-leaders.net>
2023-03-29 15:16:11 -07:00

189 lines
No EOL
9 KiB
XML

<!-- Parts of this was ripped directly from Winamp3's wa2skin.wac component,
part of this was also taken from the WMC framework by garrjo, tweaked to
fit the positions of the Classic Skin objects and imagesheets better.
Most of this however, was made by me, particularly the scripts,
although those too came from different sources and tweaked to
fit my own needs.-->
<groupdef id="mainwindow" x="0" y="0" w="275" h="116">
<layer id="mainwnd" image="wa.main" ghost="1"/>
<layer id="blah" dblClickAction="SWITCH;shade" x="0" y="0" h="14" w="275" move="1"/>
<layer image="clutterbar" x="10" y="22" tooltip="Clutterbar is not done yet, sorry. :("/>
<!--Togglebutton id="CLB.O" x="11" y="24" w="8" h="9" action="CONTROLMENU" rectrgn="1"/>
<Togglebutton id="CLB.A" x="11" y="33" w="8" h="9" cfgattrib="{280876CF-48C0-40BC-8E86-73CE6BB462E5};Always on top" cfgvals="0;1" rectrgn="1"/-->
<group id="waclassicvis" x="24" y="43" w="76" h="16"/>
<!-- Timer -->
<layer id="nums_ex_disabled_dash" x="36" y="26" image="disabled.dash" ghost="1" visible="0"/>
<text
id="timer"
display="time"
x="33" y="24"
w="70" h="18"
font="player.BIGNUM" fontsize="21" align="right"
timecolonwidth="6"
/>
<layer id="TimerTrigger" x="33" y="24"
w="70" h="18"/>
<script file="scripts/wa2songtimer.maki"/>
<Songticker
id="songticker" ticker="1"
x="111" y="27"
w="154" h="9"
font="wasabi.font.default" altfont="arial" fontsize="13"
altvalign="center" dblclickaction="trackinfo"
rightclickaction="trackmenu"
/>
<text id="infoticker" x="110" y="27" offsetx="-1" offsety="-1"
w="155" h="9" font="wasabi.font.default" fontsize="13" ghost="1"/>
<!--text
id="debugticker"
display="SONGNAME" ticker="1"
x="110" y="27"
w="155" h="9"
font="wasabi.font.default" fontsize="13"
altvalign="bottom"
/-->
<!--script file="scripts/getSongInfoText.maki"/-->
<layer id="posbarbg" x="16" y="72" image="posbarbg" ghost="1" visible="0"/>
<slider id="player.slider.seek" action="SEEK" x="16" y="72" w="248" h="10" orientation="horizontal" thumb="posbar" downthumb="posbarp" rectrgn="1"/>
<!--button id="player.slider.seek" x="16" y="72" image="posbar" downimage="posbarp" rectrgn="1"/>
<script file="scripts/seeker.maki"/-->
<script file="scripts/setposbarvisibility.maki"/>
<togglebutton id="Repeat" x="210" y="89" image="rep"
downImage="repp" activeImage="repa"
cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat" cfgvals="0;1;-1"/>
<togglebutton id="Shuffle" x="164" y="89" image="shuf"
downImage="shufp" activeImage="shufa"
cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle"/>
<status id="wastatus" x="26" y="28" stopBitmap="wa.stop" playBitmap="wa.play" pauseBitmap="wa.pause" ghost="1"/>
<layer id="playbackstatus" x="24" y="28" image="wa.play.green" ghost="1"/>
<script file="scripts/classicplaystatus.maki"/>
<text id="mixrate" display="songsamplerate" x="154" y="43" w="12" h="9" font="wasabi.font.default" fontsize="13" align="left" valign="top"/>
<text id="bitrate" display="songbitrate" x="109" y="43" w="17" h="9" font="wasabi.font.default" fontsize="13" align="left" valign="top"/>
<script file="scripts/winamp1kbps.maki"/>
<button id="wabtn.previous" action="PREV" x="16" y="88" image="prev" downimage="prevp" tooltip="Previous Track"/>
<button id="wabtn.play" action="PLAY" x="39" y="88" image="play" downimage="playp" tooltip="Play"/>
<button id="wabtn.pause" action="PAUSE" x="62" y="88" image="pause" downimage="pausep" tooltip="Pause"/>
<button id="wabtn.stop" action="STOP" x="85" y="88" image="stop" downimage="stopp" tooltip="Stop"/>
<button id="wabtn.next" action="NEXT" x="108" y="88" image="next" downimage="nextp" tooltip="Next Track"/>
<button id="wabtn.open" action="EJECT" x="136" y="89" image="eject" downimage="ejectp" tooltip="Open File(s)"/>
<layer id="wa.titlebar" x="0" y="0" image="wa.titlebar.on" inactiveimage="wa.titlebar.off" ghost="1"/>
<button id="wa.sysmenu" action="SYSMENU" x="6" y="3" image="menu" downimage="menup" activealpha="255" inactivealpha="0" tooltip="Winamp Menu"/>
<button id="wa.minimize" x="244" y="3" action="MINIMIZE" image="mini" downimage="minip" tooltip="Minimize" activealpha="255" inactivealpha="0"/>
<button id="wa.switch" x="254" y="3" action="SWITCH" param="shade" image="switch" downimage="switchp" tooltip="Toggle Windowshade Mode" activealpha="255" inactivealpha="0"/>
<button id="wa.close" x="264" y="3" action="CLOSE" image="close" downimage="closep" tooltip="Close" activealpha="255" inactivealpha="0"/>
<button id="eq" action="TOGGLE" param="eq" x="219" y="58" image="player.toggler.eq.disabled" downImage="player.toggler.eq.pressed" activeImage="player.toggler.eq.enabled" tooltip="Toggle Equalizer"/>
<button id="pl" action="TOGGLE" param="guid:pl" x="242" y="58" image="player.toggler.pl.disabled" downImage="player.toggler.pl.pressed" activeImage="player.toggler.pl.enabled" tooltip="Toggle Playlist Editor"/>
<layer id="mono" x="212" y="41" w="27" h="12" image="player.status.mono.inactive"/>
<layer id="stereo" x="239" y="41" w="29" h="12" image="player.status.stereo.inactive"/>
<script file="scripts/monoster.maki"/>
<group id="sliders" x="107" y="57" h="13"/>
<togglebutton id="AboutWinamp" x="251" y="91" w="14" h="16" rectrgn="1" action="TOGGLE" param="guid:{D6201408-476A-4308-BF1B-7BACA1124B12}"/>
</groupdef>
<groupdef id="sliders">
<images id="volume.anim" source="volume" w="68" h="14" images="volume" imagesspacing="15"/>
<Slider id="volume" action="volume" orientation="horizontal" x="0" y="-1" w="65" h="15" thumb="volbtn" downThumb="volbtnd"/>
<!-- <script file="scripts/volume.maki"/> -->
<images id="balance.anim" source="balance" x="70" w="38" h="15" images="balance" imagesspacing="15" ghost="1"/>
<Slider id="balance" action="PAN" orientation="horizontal" x="70" y="-1" w="38" h="15" thumb="panbtn" downThumb="panbtnd"/>
<!-- <script file="scripts/balance.maki"/> -->
</groupdef>
<groupdef id="waclassicvis">
<vis id="wa.vis" y="0" w="72" h="16" fps="60"
ColorBand1="24,132,8"
ColorBand2="41,148,0"
ColorBand3="49,156,8"
ColorBand4="57,181,16"
ColorBand5="50,190,16"
ColorBand6="41,206,16"
ColorBand7="148,222,33"
ColorBand8="189,222,41"
ColorBand9="214,181,33"
ColorBand10="222,165,24"
ColorBand11="198,123,8"
ColorBand12="214,115,0"
ColorBand13="214,102,0"
ColorBand14="214,90,0"
ColorBand15="206,41,16"
ColorBand16="239,49,16"
colorbandpeak="150,150,150"
colorosc1="255,255,255"
colorosc2="214,214,222"
colorosc3="181,189,189"
colorosc4="160,170,175"
colorosc5="148,156,165"/>
<layer id="main.vis.trigger" w="72" h="16"/>
<script file="scripts/wa2visualizer.maki"/>
</groupdef>
<groupdef id="shademain">
<layer id="washade" image="wa2.player.shade.enabled" inactiveimage="wa2.player.shade.disabled" ghost="1"/>
<layer id="blah" dblClickAction="SWITCH;normal" x="0" y="0" h="14" w="275" image="wa2.player.shade.enabled" inactiveimage="wa2.player.shade.disabled" move="1"/>
<text id="timer" display="time" x="128" y="2" w="31" h="10" font="wasabi.font.default" align="right" timecolonwidth="5"/>
<layer id="TimerTrigger" x="128" y="2" w="31" h="10"/>
<script file="scripts/wa2songtimer.maki"/>
<button id="Previous" action="PREV" x="166" y="3" w="8" h="9" tooltip="Previous" rectrgn="1"/>
<button id="Play" action="PLAY" x="176" y="3" w="10" h="9" tooltip="Play" rectrgn="1"/>
<button id="Pause" action="PAUSE" x="186" y="3" w="10" h="9" tooltip="Pause" rectrgn="1"/>
<button id="Stop" action="STOP" x="196" y="3" w="9" h="9" tooltip="Stop" rectrgn="1"/>
<button id="Next" action="NEXT" x="206" y="3" w="8" h="9" tooltip="Next" rectrgn="1"/>
<button id="Eject" action="EJECT" x="216" y="3" w="9" h="9" tooltip="Eject" rectrgn="1"/>
<vis id="wa.vis" x="79" y="5" w="38" h="5" fps="60"/>
<layer id="main.vis.trigger" x="79" y="5" w="38" h="5"/>
<button id="winshade" inactivealpha="0" action="SWITCH" param="normal" x="254" y="3" image="wa2.player.title.shademode" downImage="wa2.player.title.shademode.pressed"/>
<button id="Close" inactivealpha="0" action="close" x="264" y="3" image="wa2.player.title.quit" downImage="wa2.player.title.quit.pressed" tooltip="Close" />
<button id="Minimize" inactivealpha="0" action="MINIMIZE" x="244" y="3" image="wa2.player.title.min" downImage="wa2.player.title.min.pressed" tooltip="Minimize Winamp" />
<button id="sysbutton" inactivealpha="0" action="SYSMENU" x="6" y="3" image="wa2.player.shade.menu" downImage="wa2.player.shade.menu.pressed" />
<slider id="seeker" action="seek" x="227" y="4" h="7" w="15" thumb="posbarsm"/>
<script file="scripts/wa2visualizer.maki"/>
</groupdef>
<container id="main" name="Main Window" default_y="0" default_visible="1" minimum_w="275" minimum_h="116" maximum_w="275" maximum_h="116">
<layout id="normal" background="mainwnd_fallback" droptarget="pldr">
<group id="mainwindow" w="275" h="116"/>
</layout>
<layout id="shade" background="shade_fallback" minimum_h="14" minimum_w="275">
<group id="shademain" x="0" y="0" sysregion="1"/>
</layout>
</container>