mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
26 lines
746 B
Objective-C
Executable file
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
|