Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 247

root-tutorial-5.34.14-2.fc18.noarch.rpm

//Very nice double range slider
//by Mal Curtis (http://buildmobile.com).
//Tpochep had to modify it to make it work: initWithFrame was
//wrong (coordinates for UIImageView's),
//added setSliderxxxx method.

#import <UIKit/UIKit.h>

@interface RangeSlider : UIControl

@property(nonatomic) float minimumValue;
@property(nonatomic) float maximumValue;
@property(nonatomic) float minimumRange;
@property(nonatomic) float selectedMinimumValue;
@property(nonatomic) float selectedMaximumValue;

- (void) setSliderMin : (float) min max : (float) max selectedMin : (float) sMin selectedMax : (float) sMax;

- (CGFloat) getMinThumbX;
- (CGFloat) getMaxThumbX;

@end