Added vertical mode, upper and lower track images, thumb and track dimensions #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NMRangeSlider (erisler additions)
NOTE: because 0,0 is the upper left in iOS, the control is rendered
upside down to the way you would expect it to function. This means that
the handle at the top actually represents the "lower" value and if you
slide it up, the lower value will decrease toward 0 (the opposite being
true for the "upper" handle). For now (until myself or someone else
changes the code) you will have to convert the upper and lower values
after reading them. I've included this code in the example to
illustrate.
set both. These values will only take effect if the track and
background images have insets on them.
the track from the end of the control's bounds.
apply if you enable the double slider (lowerHandleHidden==NO &&
upperHandleHidden==NO). Note - at this time the "upper" track in
vertical mode is in fact the bottom track. This is because (0,0) is at
the top.
images you can resize them using these properties.