BBSlider
About
BBSlider is a Blackbox for Windows plugin that creates a slider control, capable of controlling the volume of sound devices on your system.
Configuration can be done in the file bbslider.rc or bbsliderrc. This file will be written automatically for you after you load the plugin for the first time, and then restart BlackBox. Most configuration is best done using the mouse, by right clicking on the slider control.
Settings
These can be mostly set with the mouse, so you shouldn't need to worry about them, except for perhaps margin/width/height.
bbslider.slider1.xX Coordinate of the slider (pixels)
bbslider.slider1.yY Coordinate of the slider (pixels)
bbslider.slider1.widthWidth of the slider (pixels)
bbslider.slider1.heightHeight of the slider (pixels)
bbslider.slider1.marginMargin from the edge of the slider to place the track (pixels)
bbslider.slider1.knob.heightHeight of the slider's knob (pixels)
bbslider.slider1.knob.widthWidth of the slider's knob (pixels)
bbslider.slider1.track.heightHeight of the slider's track (pixels)
bbslider.slider1.transparentWhether transparency is allowed (true/false)
bbslider.slider1.alwaysontopWhether the slider is always on top (true/false)
bbslider.slider1.snapwindowWhether the window will snap to the edges of other windows (true/false)
bbslider.slider1.togglewithpluginsWhether the plugin will toggle with other plugins (true/false)
bbslider.slider1.alphaThe visibility of the slider (0-100)
bbslider.slider1.mixer.setWhether the slider is set or not (set via right-click menu)
bbslider.slider1.mixer.deviceThe device id to control (set via right-click menu)
bbslider.slider1.mixer.lineThe line id to control (set via right-click menu)
bbslider.slider1.mixer.controlThe control id to control (set via right-click menu)
bbslider.slider1.draggableWhether the slider is draggable or not (true/false)

Future Plans
I have a few plans for the future of BBSlider, if I get some good feedback:
  • Vertical sliders
  • Multiple sliders
  • Ability to control other settings besides volume, such as mute, balance... maybe even winamp.
  • Open source, as soon as I'm happy with the code, and get a good way to go about doing it.
  • Author
    Written by psyci.
    Versions
    Version 0.2.0 (2003-10-04)
  • + initial release
  • + added ability to lock the slider in position
  • + adding ability to resize the slider within the .rc
  • + added sanity checking to sizes
  • + changed the styles used to look better with more themes
  • Version 0.1.0 (2003-09-26)
  • + initial release

  • This document and some code were based on the files provided by the The Blackbox for Windows Development Team.