linphone-iphone/Classes/Utils/DCRoundSwitch/DCRoundSwitchToggleLayer.h
Guillaume BIENKOWSKI b6d8afe22e Migrate to ARC \o/
2015-06-02 11:54:48 +02:00

26 lines
752 B
Objective-C
Executable file

//
// DCRoundSwitchToggleLayer.h
//
// Created by Patrick Richards on 29/06/11.
// MIT License.
//
// http://twitter.com/patr
// http://domesticcat.com.au/projects
// http://github.com/domesticcatsoftware/DCRoundSwitch
//
#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
@interface DCRoundSwitchToggleLayer : CALayer
@property (nonatomic, strong) UIColor *onTintColor;
@property (nonatomic, strong) NSString *onString;
@property (nonatomic, strong) NSString *offString;
@property (weak, nonatomic, readonly) UIFont *labelFont;
@property (nonatomic) BOOL drawOnTint;
@property (nonatomic) BOOL clip;
- (id)initWithOnString:(NSString *)anOnString offString:(NSString *)anOffString onTintColor:(UIColor *)anOnTintColor;
@end