Simple winamp control. Please! Thread last updated on 2006-11-19 09:55:03

Posted by member 333819 on 2006-11-19 07:32:49

Hi!

I tried to make it, but I have problems like:
- don't know how to make slider for position (not volume)
- smooth font
- transparent background (here problem was quite odd)

So... can anyone make this? I think it'll be not difficult for you guys...

I wan't to have something like this:
http://img101.imageshack.us/img101/5157/11192006142408kn1.png
This is made by CAD for winamp but it isn't very useful...

Anyone? Pleeeease again ^^

Posted by member 1949 on 2006-11-19 09:55:03 link

Add these lines in your theme.rc

*NetLoadModule lssliderfoo-1.8
*Slider "Winamp" 340 2 1 "slider.bmp" "Slider_Handle.bmp" HI [WINAMP]

Change the bmp lines to the images you want to use

------------------
III. Configuration
------------------

LsSlider is used much like the Shortcut or the Dwharf loadmodule:

*Slider "caption" background.bmp handle.bmp [SLIDERMODE] options

The Hooked LsBox Mode uses the same syntax:

!SliderHook "caption" background.bmp handle.bmp [SLIDERMODE] options



"caption" The text description that is displayed when the cursor hovers
over the slider.

, The coordinates for the top-left corner of the slider. Can be
negative to place the slider relative to the right and/or
bottom edge of the screen.

Offset of the SliderBar's handle from the edge of the slider.

*.bmp The images used for the background and the handle of the Slider.

Array of Flags that control the behavior of the Slider.
Use 'V' or 'H' to get either a Horizontal or a Vertical
Slider. Either 'H' or 'V' have to be set to let the Slider
function properly.
Use 'A' to make a Slider stay ontop of all windows.
Use 'T' to enable Magic Pink transparency.
Use 'I' to invert a Slider.
Use 'B' to start a Slider Hidden.
You can assign a Slider to a Slidergroup by setting a #+the
groupnumber. All sliders are assigned to Group 0 by default.

[SLIDERMODE] Here you can define what kind of Slider the Slider should be.
There are currently four kind of "Modes":
[VOLUME]
[BALANCE]
[WINAMP]

can be any number from 0 (usually MainVolume) upto the
number of channels your Soundcard has. You can also control the
"Winamp channel" by useing "W" for
There are no Options for the [WINAMP] Mode.

Examples:

*Slider "Winamp" 340 2 1 "slider.bmp" "Slider_Handle.bmp" HI [WINAMP]
*Slider "Main Volume" 356 2 1 "slider.bmp" "Slider_Handle.bmp" V [VOLUME] W
*ModuleHook !SliderHook "MainVol" 33 3 3 slider_back.bmp slider_handle.bmp HI [VOLUME] 0


-----------------
IV. Bang Commands
-----------------

-!HideSliderGroup
Hides a SliderGroup
-!ShowSliderGroup
Shows a SliderGroup
-!ToggleSliderGroup
Toggles a Slidergroup

Examples:

!ShowSliderGroup 0
!ToggleSliderGroup 8

These Bang Commands where originally part of V_Bang:

!SliderVolumeUp
!SliderVolumeDown
!SliderMute
!SliderBalanceLeft
!SliderBalanceRight
!SliderSetVolume
!SliderSetBalance