project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.h
author nemo
Fri, 14 Dec 2012 09:53:17 -0500
changeset 8290 3240f4500ac1
parent 6700 e04da46ee43c
child 12872 00215a7ec5f5
permissions -rwxr-xr-x
Try to be friendlier to small screen sizes. Use 800x600 if width/height of 2/3rds is smaller than 800x600 (things don't look smaller than that size), use desktop size if it is for some reason smaller than 800x600

//
// 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, retain) NSString *textValue;

@end