linphone-iphone/Classes/Utils/DCRoundSwitch/DCRoundSwitchToggleLayer.h
Yann Diorcet ee358816b7 Change InAppSettings place
All settings with Linphone Colors
2012-07-27 11:20:09 +02:00

26 lines
746 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, retain) UIColor *onTintColor;
@property (nonatomic, retain) NSString *onString;
@property (nonatomic, retain) NSString *offString;
@property (nonatomic, readonly) UIFont *labelFont;
@property (nonatomic) BOOL drawOnTint;
@property (nonatomic) BOOL clip;
- (id)initWithOnString:(NSString *)anOnString offString:(NSString *)anOffString onTintColor:(UIColor *)anOnTintColor;
@end