Slider

Overview
Slider is a library designed to help widget designers to easily create sliders for their GUI or custom preferences panels. The slider behave almost like Konfabulator's native objects and its properties can be changes on-the-fly. It also have skinning capabilities (3 skins are currently included).

To use it, simply include the slider.js file and create a slider.

Here is a screenshot using the « Aqua Small » theme:

http://www.dr-gang.com/widget/Small.png

Download the test widget: slider.widget

Example
Here is the code for the second slider of the screenshot :

var s2 = new slider(mainWindow); s2.width = 100; s2.hOffset = 20; s2.vOffset =52; s2.min = 800; s2.max = 2000; s2.value = 1600; s2.showValue = 1; s2.step = 200; s2.unit = "円"; s2.theme = "AquaSmall";