-
Notifications
You must be signed in to change notification settings - Fork 16
/
UILabel.h
41 lines (36 loc) · 1.09 KB
/
UILabel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// UILabel.h
// UIKit
//
// Created by Shaun Harrison on 6/24/09.
// Copyright 2009 enormego. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIText.h>
#import <UIKit/UIView.h>
#import <UIKit/UIColor.h>
// TODO: Fix Shadows. For some reason CATextLayer is ignoring it's shadow property
@class CATextLayer;
@interface UILabel : UIView {
@private
CATextLayer* _textLayer;
NSString* _text;
NSFont* _font;
UIColor* _textColor;
UIColor* _shadowColor;
UIColor* _highlightedTextColor;
CGSize _shadowOffset;
BOOL _highlighted;
UITextAlignment _textAlignment;
UILineBreakMode _lineBreakMode;
}
@property(nonatomic,copy) NSString* text;
@property(nonatomic,retain) NSFont* font;
@property(nonatomic,retain) UIColor* textColor;
@property(nonatomic,retain) UIColor* shadowColor;
@property(nonatomic,assign) CGSize shadowOffset;
@property(nonatomic,assign) UITextAlignment textAlignment;
@property(nonatomic,assign) UILineBreakMode lineBreakMode;
@property(nonatomic,retain) UIColor* highlightedTextColor;
@property(nonatomic,assign,getter=isHighlighted) BOOL highlighted;
@end