[BSlider] Range slider capability
|Reported by:||jwlh172||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
I've enhanced the BSlider control to allow its use as a range slider; rather than only one movable thumb area, there are two, allowing the setting of an offset (starting point) and an end point.
In order to create the range slider, one can either set the final variable "dualMode" in the BSlider constructor to "true", or, after creation, can call the SetDualMode(true) member function.
SetOffsetValue(int32) and int32 OffsetValue() can be used to set and retrieve the new offset value, which, by default, is set to the slider's minimum value, while the end point value can still be set and retrieved using SetValue and Value.