1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
vlc/share/skins2/winamp2.xml
Cyril Deguet 85fad441ea * winamp2.xml: added the Equalizer and Playlist windows.
Now it starts to really look cool ;-)
* builder.cpp: look for fonts in the resource path if the
 font file cannot be found in the theme itself
* ctrl_slider.cpp: fixed the hack for winamp: the bar images
 are separated by 2 rows, not 3...
2005-11-10 20:42:48 +00:00

144 lines
9.8 KiB
XML

<!DOCTYPE Theme PUBLIC "-//VideoLAN//DTD VLC Skins V2.0//EN" "skins.dtd">
<Theme version="2.0" magnet="9" alpha="255">
<ThemeInfo name="Winamp2" author="See README.txt in the skin file"/>
<Bitmap id="main" file="main.bmp" alphacolor="#FF0000" />
<Bitmap id="cbuttons" file="cbuttons.bmp" alphacolor="#FF0000">
<SubBitmap id="previous_up" x="0" y="0" width="23" height="18" />
<SubBitmap id="previous_down" x="0" y="18" width="23" height="18" />
<SubBitmap id="play_up" x="23" y="0" width="23" height="18" />
<SubBitmap id="play_down" x="23" y="18" width="23" height="18" />
<SubBitmap id="pause_up" x="46" y="0" width="23" height="18" />
<SubBitmap id="pause_down" x="46" y="18" width="23" height="18" />
<SubBitmap id="stop_up" x="69" y="0" width="23" height="18" />
<SubBitmap id="stop_down" x="69" y="18" width="23" height="18" />
<SubBitmap id="next_up" x="92" y="0" width="22" height="18" />
<SubBitmap id="next_down" x="92" y="18" width="22" height="18" />
<SubBitmap id="eject_up" x="114" y="0" width="22" height="16" />
<SubBitmap id="eject_down" x="114" y="16" width="22" height="16" />
</Bitmap>
<Bitmap id="eqmain" file="eqmain.bmp" alphacolor="#FF0000">
<SubBitmap id="eq_bg" x="0" y="0" width="275" height="116" />
</Bitmap>
<Bitmap id="pledit" file="pledit.bmp" alphacolor="#FF0000">
<SubBitmap id="pl_upleft_focus" x="0" y="0" width="25" height="20" />
<SubBitmap id="pl_title_focus" x="26" y="0" width="100" height="20" />
<SubBitmap id="pl_up_focus" x="127" y="0" width="25" height="20" />
<SubBitmap id="pl_upright_focus" x="153" y="0" width="25" height="20" />
<SubBitmap id="pl_left" x="0" y="42" width="25" height="29" />
<SubBitmap id="pl_right" x="26" y="42" width="25" height="29" />
<SubBitmap id="pl_slider_up" x="52" y="53" width="8" height="18" />
<SubBitmap id="pl_slider_down" x="61" y="53" width="8" height="18" />
<SubBitmap id="pl_downleft" x="0" y="72" width="125" height="38" />
<SubBitmap id="pl_downright" x="126" y="72" width="150" height="38" />
</Bitmap>
<Bitmap id="posbar" file="posbar.bmp" alphacolor="#FF0000" >
<SubBitmap id="time_bg" x="0" y="0" width="248" height="10" />
<SubBitmap id="time_up" x="248" y="0" width="29" height="10" />
<SubBitmap id="time_down" x="278" y="0" width="29" height="10" />
</Bitmap>
<Bitmap id="titlebar" file="titlebar.bmp" alphacolor="#FF0000" >
<SubBitmap id="title_focus" x="27" y="0" width="275" height="14" />
<SubBitmap id="quit_up" x="18" y="0" width="9" height="9" />
<SubBitmap id="quit_down" x="18" y="9" width="9" height="9" />
</Bitmap>
<Bitmap id="shufrep" file="shufrep.bmp" alphacolor="#FF0000">
<SubBitmap id="noloop_up" x="0" y="0" width="28" height="15" />
<SubBitmap id="noloop_down" x="0" y="15" width="28" height="15" />
<SubBitmap id="loop_up" x="0" y="30" width="28" height="15" />
<SubBitmap id="loop_down" x="0" y="45" width="28" height="15" />
<SubBitmap id="noshuffle_up" x="28" y="0" width="47" height="15" />
<SubBitmap id="noshuffle_down" x="28" y="15" width="47" height="15" />
<SubBitmap id="shuffle_up" x="28" y="30" width="47" height="15" />
<SubBitmap id="shuffle_down" x="28" y="45" width="47" height="15" />
<SubBitmap id="eqoff_up" x="0" y="61" width="23" height="12" />
<SubBitmap id="eqon_up" x="0" y="73" width="23" height="12" />
<SubBitmap id="ploff_up" x="23" y="61" width="23" height="12" />
<SubBitmap id="plon_up" x="23" y="73" width="23" height="12" />
<SubBitmap id="eqoff_down" x="46" y="61" width="23" height="12" />
<SubBitmap id="eqon_down" x="46" y="73" width="23" height="12" />
<SubBitmap id="ploff_down" x="69" y="61" width="23" height="12" />
<SubBitmap id="plon_down" x="69" y="73" width="23" height="12" />
</Bitmap>
<Bitmap id="volume" file="volume.bmp" alphacolor="#FF0000">
<SubBitmap id="volume_bg" x="0" y="0" width="68" height="420" />
<SubBitmap id="volume_up" x="15" y="422" width="14" height="11" />
<SubBitmap id="volume_down" x="0" y="422" width="14" height="11" />
</Bitmap>
<Font id="playlist_font" file="FreeSansBold.ttf" size="11"/>
<BitmapFont id="digits_font" file="numbers.bmp" type="digits"/>
<BitmapFont id="digits_font" file="nums_ex.bmp" type="digits"/>
<BitmapFont id="text_font" file="text.bmp" type="text"/>
<Window id="main_window" x="100" y="100">
<Layout id="big_layout" width="275" height="116">
<Group x="0" y="0">
<Anchor x="0" y="116" priority="100" range="15" />
<Anchor x="275" y="116" priority="90" range="15" />
<Anchor x="20" y="116" points="(0,0),(235,0)" priority="80" range="15" />
<Image x="0" y="0" image="main" action="move" />
<Image x="0" y="0" image="title_focus" action="move" />
<Text font="digits_font" x="30" y="26" width="75" text="$T"/>
<Text font="text_font" x="111" y="27" width="155" text="$N"/>
<Slider value="volume" x="107" y="57" up="volume_up" down="volume_down" points="(7,6),(58,6)" background="volume_bg" nbimages="28" tooltiptext="Volume: $V%" />
<Image x="16" y="72" image="time_bg"/>
<Slider value="time" x="29" y="77" up="time_up" down="time_down" points="(0,0),(220,0)" thickness="5" tooltiptext="Time: $T"/>
<Button x="263" y="3" up="quit_up" down="quit_down" over="quit_up" action="vlc.quit()" tooltiptext="Quit" />
<Button x="16" y="88" up="previous_up" down="previous_down" action="playlist.previous()" tooltiptext="Previous" />
<Button x="39" y="88" up="play_up" down="play_down" action="vlc.play()" tooltiptext="Play" />
<Button x="62" y="88" up="pause_up" down="pause_down" action="vlc.pause()" tooltiptext="Pause" />
<Button x="85" y="88" up="stop_up" down="stop_down" action="vlc.stop()" tooltiptext="Stop" />
<Button x="108" y="88" up="next_up" down="next_down" action="playlist.next()" tooltiptext="Next" />
<Button x="136" y="89" up="eject_up" down="eject_down" action="dialogs.fileSimple()" tooltiptext="Open" />
<Checkbox x="164" y="89" up1="noshuffle_up" down1="noshuffle_down" up2="shuffle_up" down2="shuffle_down" state="playlist.isRandom" action1="playlist.setRandom(true)" action2="playlist.setRandom(false)" tooltiptext1="Shuffle" tooltiptext2="Shuffle"/>
<Checkbox x="210" y="89" up1="noloop_up" down1="noloop_down" up2="loop_up" down2="loop_down" state="playlist.isLoop" action1="playlist.setLoop(true)" action2="playlist.setLoop(false)" tooltiptext1="Loop" tooltiptext2="Loop"/>
<Checkbox x="219" y="58" up1="eqoff_up" down1="eqoff_down" up2="eqon_up" down2="eqon_down" state="equalizer_window.isVisible" action1="equalizer_window.show()" action2="equalizer_window.hide()" tooltiptext1="Show equalizer" tooltiptext2="Hide equalizer"/>
<Checkbox x="242" y="58" up1="ploff_up" down1="ploff_down" up2="plon_up" down2="plon_down" state="playlist_window.isVisible" action1="playlist_window.show()" action2="playlist_window.hide()" tooltiptext1="Show playlist" tooltiptext2="Hide playlist"/>
</Group>
</Layout>
</Window>
<Window id="equalizer_window" x="100" y="216">
<Layout width="275" height="116">
<Group x="0" y="0">
<Anchor x="0" y="0" priority="70" range="15" />
<Anchor x="275" y="0" priority="60" range="15" />
<Anchor x="0" y="116" priority="50" range="15" />
<Anchor x="275" y="116" priority="40" range="15" />
<Anchor x="20" y="116" points="(0,0),(235,0)" priority="30" range="15" />
<Image x="0" y="0" image="eq_bg" action="move" />
</Group>
</Layout>
</Window>
<Window id="playlist_window" x="100" y="332">
<Layout width="275" height="116">
<Group x="0" y="0">
<Anchor x="0" y="0" priority="20" range="15" />
<Anchor x="275" y="0" priority="10" range="15" />
<Image x="0" y="0" image="pl_upleft_focus" action="move" />
<Image x="25" y="0" image="pl_up_focus" action="move" />
<Image x="50" y="0" image="pl_up_focus" action="move" />
<Image x="75" y="0" image="pl_up_focus" action="move" />
<Image x="87" y="0" image="pl_title_focus" action="move" />
<Image x="187" y="0" image="pl_up_focus" action="move" />
<Image x="200" y="0" image="pl_up_focus" action="move" />
<Image x="225" y="0" image="pl_up_focus" action="move" />
<Image x="250" y="0" image="pl_upright_focus" action="move" />
<Image x="0" y="20" image="pl_left" action="move" />
<Image x="250" y="20" image="pl_right" action="move" />
<Image x="0" y="49" image="pl_left" action="move" />
<Image x="250" y="49" image="pl_right" action="move" />
<Image x="0" y="78" image="pl_downleft" action="move" />
<Image x="125" y="78" image="pl_downright" action="move" />
<Playlist id="playlist" x="10" y="20" width="240" height="58" lefttop="lefttop" rightbottom="rightbottom" font="playlist_font" fgcolor="#dfdfff" playcolor="#ffffff" bgcolor1="#000000" bgcolor2="#000000" selcolor="#202020" >
<Slider id="playlist_slider" x="264" y="28" lefttop="righttop" rightbottom="rightbottom" up="pl_slider_up" down="pl_slider_down" points="(0,40),(0,0)"/>
</Playlist>
</Group>
</Layout>
</Window>
</Theme>