]> git.sesse.net Git - vlc/commitdiff
* share/skins2/winamp2.xml: Still more controls
authorOlivier Teulière <ipkiss@videolan.org>
Sun, 13 Nov 2005 01:25:16 +0000 (01:25 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Sun, 13 Nov 2005 01:25:16 +0000 (01:25 +0000)
share/skins2/winamp2.xml

index 28758007ce3cac0cf60e005909fc7cb86dfc9a68..96ed307af09f6aa08d023d92fb87a6f77b1ee7ee 100644 (file)
@@ -1,7 +1,7 @@
 <!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"/>
+    <ThemeInfo name="Winamp2" author="See README.txt in the skin file" />
 
     <Bitmap id="main" file="main.bmp" alphacolor="#FF0001" />
     <Bitmap id="cbuttons" file="cbuttons.bmp" alphacolor="#FF0001">
@@ -64,6 +64,7 @@
        <SubBitmap id="pl_small_right_focus" x="99" y="42" width="50" height="14" />
        <SubBitmap id="pl_small_switch_up" x="128" y="45" width="9" height="9" />
        <SubBitmap id="pl_small_close_up" x="138" y="45" width="9" height="9" />
+       <SubBitmap id="pl_small_resize" x="25" y="3" width="9" height="8" />
     </Bitmap>
     <Bitmap id="playpaus" file="playpaus.bmp" alphacolor="#FF0001">
         <SubBitmap id="play_icon" x="1" y="0" width="9" height="9" />
        <SubBitmap id="quit_down" x="18" y="9" width="9" height="9" />
        <SubBitmap id="title_focus" x="27" y="0" width="275" height="14" />
        <SubBitmap id="small_focus" x="27" y="29" width="275" height="14" />
+       <SubBitmap id="small_previous" x="194" y="32" width="8" height="8" />
+       <SubBitmap id="small_play" x="203" y="32" width="8" height="8" />
+       <SubBitmap id="small_pause" x="212" y="32" width="8" height="8" />
+       <SubBitmap id="small_stop" x="221" y="32" width="8" height="8" />
+       <SubBitmap id="small_forward" x="230" y="32" width="8" height="8" />
+       <SubBitmap id="small_eject" x="239" y="32" width="8" height="8" />
+       <SubBitmap id="small_time_bg" x="0" y="36" width="17" height="7" />
+       <SubBitmap id="small_time_cursor_up" x="17" y="36" width="2" height="7" />
     </Bitmap>
     <Bitmap id="shufrep" file="shufrep.bmp" alphacolor="#FF0001">
        <SubBitmap id="noloop_up" x="0" y="0" width="28" height="15" />
        <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"/>
+    <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="small_layout" width="275" height="14">
                 <Anchor x="30" y="0" points="(0,0),(245,0)" priority="90" range="15" />
                 <Anchor x="30" y="14" points="(0,0),(245,0)" priority="90" range="15" />
                 <Image x="0" y="0" image="small_focus" action="move" />
+                <Text font="text_font" x="122" y="4" width="55" text="$T" />
                 <Button x="6" y="3" up="menu_up" down="menu_down" over="menu_up" action="dialogs.popup()" tooltiptext="Popup menu" />
+                <Button x="167" y="3" up="small_previous" action="playlist.previous()" />
+                <Button x="176" y="3" up="small_play" action="vlc.play()" />
+                <Button x="185" y="3" up="small_pause" action="vlc.pause()" />
+                <Button x="194" y="3" up="small_stop" action="vlc.stop()" />
+                <Button x="203" y="3" up="small_forward" action="playlist.next()" />
+                <Button x="212" y="3" up="small_eject" action="dialogs.fileSimple()" />
                 <Button x="244" y="3" up="minimize_up" down="minimize_down" over="minimize_up" action="vlc.minimize()" tooltiptext="Minimize" />
                 <Button x="254" y="3" up="switch_up" down="switch_down" over="switch_up" action="main_window.setLayout(big_layout)" tooltiptext="Switch" />
                 <Button x="264" y="3" up="quit_up" down="quit_down" over="quit_up" action="vlc.quit()" tooltiptext="Quit" />
+                <Image x="226" y="4" image="small_time_bg" visible="not vlc.isStopped" />
+                <Slider value="time" x="227" y="7" up="small_time_cursor_up" down="small_time_cursor_up" points="(0,0),(14,0)" thickness="7" tooltiptext="Time: $T" visible="not vlc.isStopped" />
             </Group>
         </Layout>
         <Layout id="big_layout" width="275" height="116">
                 <Image x="27" y="29" image="pause_icon" visible="vlc.isPaused" />
                 <Image x="27" y="29" image="stop_icon" visible="vlc.isStopped" />
                 <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"/>
+                <Text font="digits_font" x="30" y="26" width="75" text="$T" visible="not vlc.isStopped" />
+                <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)" tooltiptext="Volume: $V%">
-                    <SliderBackground image="volume_bg" nbvert="28" padvert="2"/>
+                    <SliderBackground image="volume_bg" nbvert="28" padvert="2" />
                 </Slider>
-                <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"/>
+                <Image x="16" y="72" image="time_bg" visible="not vlc.isStopped" />
+                <Slider value="time" x="30" y="77" up="time_up" down="time_down" points="(0,0),(218,0)" thickness="5" tooltiptext="Time: $T" visible="not vlc.isStopped" />
                 <Button x="6" y="3" up="menu_up" down="menu_down" over="menu_up" action="dialogs.popup()" tooltiptext="Popup menu" />
                 <Button x="244" y="3" up="minimize_up" down="minimize_down" over="minimize_up" action="vlc.minimize()" tooltiptext="Minimize" />
                 <Button x="254" y="3" up="switch_up" down="switch_down" over="switch_up" action="main_window.setLayout(small_layout)" tooltiptext="Switch" />
                 <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"/>
+                <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>
                 <Image x="86" y="16" image="eq_grid" action="move" />
                 <Button x="254" y="3" up="eq_switch_up" down="eq_switch_down" over="eq_switch_up" action="equalizer_window.setLayout(eq_small_layout)" tooltiptext="Switch" />
                 <Button x="264" y="3" up="eq_close_up" down="eq_close_down" over="eq_close_up" action="equalizer_window.hide()" tooltiptext="Close the window" />
-                <Checkbox x="15" y="18" up1="eq_notok_up" down1="eq_notok_down" up2="eq_ok_up" down2="eq_ok_down" state="equalizer.isEnabled" action1="equalizer.enable()" action2="equalizer.disable()" tooltiptext1="Enable equalizer" tooltiptext2="Disable equalizer"/>
+                <Checkbox x="15" y="18" up1="eq_notok_up" down1="eq_notok_down" up2="eq_ok_up" down2="eq_ok_down" state="equalizer.isEnabled" action1="equalizer.enable()" action2="equalizer.disable()" tooltiptext1="Enable equalizer" tooltiptext2="Disable equalizer" />
                 <Slider value="equalizer.band(0)" x="78" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(1)" x="96" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(2)" x="114" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(3)" x="132" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(4)" x="150" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(5)" x="168" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(6)" x="186" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(7)" x="204" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(8)" x="222" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
                 <Slider value="equalizer.band(9)" x="240" y="37" up="eq_slider_up" down="eq_slider_down" points="(6,55),(6,7)" thickness="6" tooltiptext="">
-                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1"/>
+                    <SliderBackground image="eq_slider_bg" nbhoriz="14" nbvert="2" padhoriz="1" padvert="1" />
                 </Slider>
             </Group>
         </Layout>
                 <Image x="125" y="0" image="pl_small_middle" action="move" />
                 <Image x="150" y="0" image="pl_small_middle" action="move" />
                 <Image x="175" y="0" image="pl_small_middle" action="move" />
-                <Image x="200" y="0" image="pl_small_middle" action="move" />
-                <Image x="225" y="0" image="pl_small_right_focus" action="move" />
+                <Image x="200" y="0" image="pl_small_middle" action="move" lefttop="lefttop" rightbottom="righttop" />
+                <Image x="225" y="0" image="pl_small_right_focus" action="move" lefttop="righttop" rightbottom="righttop" />
+                <Image x="250" y="3" image="pl_small_resize" action="resizeSE" lefttop="righttop" rightbottom="righttop" />
                 <Button x="254" y="3" up="pl_small_switch_up" down="pl_switch_down" over="pl_small_switch_up" action="playlist_window.setLayout(pl_big_layout)" tooltiptext="Switch" lefttop="righttop" rightbottom="righttop" />
                 <Button x="264" y="3" up="pl_small_close_up" down="pl_close_down" over="pl_small_close_up" action="playlist_window.hide()" tooltiptext="Close the window" lefttop="righttop" rightbottom="righttop" />
+                <Text font="text_font" x="4" y="4" width="250" text="$N" />
             </Group>
         </Layout>
         <Layout id="pl_big_layout" width="275" height="116" minwidth="275" minheight="116" maxwidth="1000" maxheight="800">
                 <Image x="250" y="20" image="pl_right" action="move" lefttop="righttop" rightbottom="righttop" />
                 <Image x="0" y="49" image="pl_left" action="move" rightbottom="leftbottom" />
                 <Image x="250" y="49" image="pl_right" action="move" lefttop="righttop" rightbottom="rightbottom" />
-                <Image x="125" y="78" image="pl_down1" action="move" lefttop="leftbottom" rightbottom="rightbottom"/>
+                <Image x="125" y="78" image="pl_down1" action="move" lefttop="leftbottom" rightbottom="rightbottom" />
                 <Image x="50" y="78" image="pl_down2" action="move" lefttop="rightbottom" rightbottom="rightbottom" />
                 <Image x="0" y="78" image="pl_downleft" action="move" lefttop="leftbottom" rightbottom="leftbottom" />
                 <Image x="125" y="78" image="pl_downright" action="move" lefttop="rightbottom" rightbottom="rightbottom" />
                 <Button x="254" y="3" up="pl_switch_up" down="pl_switch_down" over="pl_switch_up" action="playlist_window.setLayout(pl_small_layout)" tooltiptext="Switch" lefttop="righttop" rightbottom="righttop" />
                 <Button x="264" y="3" up="pl_close_up" down="pl_close_down" over="pl_close_up" action="playlist_window.hide()" tooltiptext="Close the window" lefttop="righttop" rightbottom="righttop" />
                 <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)"/>
+                    <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>