project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.h
author unc0rr
Sat, 03 Nov 2018 10:57:47 +0100
changeset 14114 9eca6f2cac6d
parent 12872 00215a7ec5f5
permissions -rwxr-xr-x
You cannot optimize integral division like this. You end up multiplying by 0, 1 or 2 instead of whole spectre of ratios.

//
// MNEValueTrackingSlider
//
// Copyright 2012 Michael Neuwert
// "You can use the code in your own project and modify it as you like."
// http://blog.neuwert-media.com/2012/04/customized-uislider-with-visual-value-tracking/
//


#import <Foundation/Foundation.h>

@class SliderValuePopupView;

@interface MNEValueTrackingSlider : UISlider {
    SliderValuePopupView *valuePopupView;
    NSString *textValue;
}

@property (nonatomic, readonly) CGRect thumbRect;
@property (nonatomic, strong) NSString *textValue;

@end