]> git.sesse.net Git - vlc/commitdiff
* winamp2.xml: added the volume slider
authorCyril Deguet <asmax@videolan.org>
Sun, 6 Nov 2005 20:11:06 +0000 (20:11 +0000)
committerCyril Deguet <asmax@videolan.org>
Sun, 6 Nov 2005 20:11:06 +0000 (20:11 +0000)
share/skins2/winamp2.xml

index e30039e18786c03dddff6aa514ff54ca026525ca..7ace0c45947c17ff13b8feefdc752ffcd3fda26b 100644 (file)
        <SubBitmap id="shuffle_up" x="28" y="30" width="47" height="15" />
        <SubBitmap id="shuffle_down" x="28" y="45" width="47" height="15" />
     </Bitmap>
+    <Bitmap id="volume" file="volume.bmp" alphacolor="#FF0000">
+       <SubBitmap id="volume_bg" x="0" y="405" width="68" height="13" />
+       <SubBitmap id="volume_up" x="0" y="422" width="14" height="11" />
+       <SubBitmap id="volume_down" x="15" y="422" width="14" height="11" />
+    </Bitmap>
     <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"/>
@@ -47,6 +52,8 @@
                 <Image x="0" y="0" image="main" 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"/>
+                <Image x="107" y="57" image="volume_bg"/>
+                <Slider value="volume" up="volume_up" down="volume_down" points="(114,63),(165,63)" tooltiptext="Volume: $V%" />
                 <Image x="15" y="72" image="time_bg"/>
                 <Slider value="time" up="time_up" down="time_down" points="(30,78),(250,78)" thickness="5" tooltiptext="Time: $T"/>
                 <Button x="263"  y="3" up="quit_up"  down="quit_down" over="quit_up" action="vlc.quit()" tooltiptext="Quit" />
@@ -56,7 +63,7 @@
                 <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="88" up="eject_up"  down="eject_down"  action="dialogs.fileSimple()" tooltiptext="Open" />
-                <Checkbox x="162"  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="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"/>
             </Group>
         </Layout>