I need a slider control class that allows me to set the slider button image and the track image colour. I also need the minimum and maximum values to be settable. In addition to this, the increment/decrement values must scale to minimum/maximum values. The minimum and maximum values are to be floating point.
An example of minimum and maximum inputs:
Minimum: 0
Maximum: 3000
To go up in increments of 10 - ie, each time you move the slider (from left to right) the current value increments by ten, the slider button image must reflect the change in values.
In addition to this, the current value of the slider must be publicly available, and settable, the slider must respond to changes in the current value.
The slider control can only be manipulated by _dragging_ the slider image button, touches on the track are to be ignored.
The background _colour_ to the control should also be settable.
The blackberry version this is to be for is the torch 9800, however I hope to use this on other models where touch is not applicable ; therefor the slider must be able to respond to both touch and trackpad.
All variables to be named appropriately, with sample usage code. All code to be commented. This is a time sensitive project, required for Wednesday 20th April 12 noon (GMT).
A screenshot of how the slider should appear is attached