|
5 | 5 | * Source: /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
|
6 | 6 | */
|
7 | 7 |
|
| 8 | +#import <Availability2.h> |
| 9 | + |
| 10 | +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2 |
| 11 | + |
| 12 | +// me being lazy here. no diff. |
| 13 | + |
| 14 | +#import <UIKit/UIImageView.h> |
| 15 | +@class PLVideoView, UILabel, NSString; |
| 16 | + |
| 17 | +@interface PLImageView : UIImageView { |
| 18 | + NSString* _name; |
| 19 | + UIView* _borderView; |
| 20 | + PLVideoView* _videoView; |
| 21 | + UILabel* _textBadge; |
| 22 | + unsigned _shadowEnabled : 1; |
| 23 | + unsigned _suppressShadowDrawing : 1; |
| 24 | + unsigned _borderIsVisible : 1; |
| 25 | + float _aspectRatio; |
| 26 | + double _lastBorderAlphaTime; |
| 27 | + double _lastShadowAlphaTime; |
| 28 | + float _transitionProgress; |
| 29 | + BOOL _edgeAntialiasingEnabled; |
| 30 | +} |
| 31 | +@property(copy, nonatomic) NSString* name; |
| 32 | +@property(assign, nonatomic) float transitionProgress; |
| 33 | +@property(retain, nonatomic) PLVideoView* videoView; |
| 34 | +@property(assign, nonatomic) float borderAlpha; |
| 35 | +@property(assign, nonatomic, getter=isBorderVisible) BOOL borderVisible; |
| 36 | +@property(assign, nonatomic, getter=isDimmed) BOOL dimmed; |
| 37 | +@property(assign, nonatomic, getter=isShadowEnabled) BOOL shadowEnabled; |
| 38 | ++(void)initialize; |
| 39 | ++(BOOL)shouldDrawShadows; |
| 40 | ++(id)textBadgeForString:(id)string photoSize:(CGSize)size; |
| 41 | +-(id)textBadgeString; |
| 42 | +-(void)setTextBadgeString:(id)string; |
| 43 | +-(id)initWithFrame:(CGRect)frame; |
| 44 | +-(void)dealloc; |
| 45 | +-(CGSize)sizeThatFits:(CGSize)fits allowRounding:(BOOL)rounding; |
| 46 | +-(CGSize)sizeThatFits:(CGSize)fits; |
| 47 | +-(void)renderSnapshotInContext:(CGContextRef)context; |
| 48 | +-(void)layoutSubviews; |
| 49 | +-(void)_updateShadowPath; |
| 50 | +-(void)setImage:(id)image; |
| 51 | +-(void)parentDidLayout; |
| 52 | +-(void)setBorderAlpha:(float)alpha forced:(BOOL)forced; |
| 53 | +-(void)setBorderWidthScale:(float)scale heightScale:(float)scale2; |
| 54 | +-(void)setEdgeAntialiasingEnabled:(BOOL)enabled; |
| 55 | +@end |
| 56 | + |
| 57 | +#else |
| 58 | + |
8 | 59 | #import "PhotoLibrary-Structs.h"
|
9 | 60 | #import <UIKit/UITiledView.h>
|
10 | 61 | #import "PLItemView.h"
|
|
92 | 143 | -(void)zoomToWindowPoint:(CGPoint)windowPoint scale:(float)scale duration:(float)duration constrainScrollPoint:(BOOL)point event:(GSEventRef)event;
|
93 | 144 | @end
|
94 | 145 |
|
| 146 | +#endif |
0 commit comments