forked from kennytm/iphone-private-frameworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSBAwayDateView.h
56 lines (52 loc) · 1.7 KB
/
SBAwayDateView.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* This header is generated by class-dump-z 0.2-1.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "SpringBoard-Structs.h"
#import <UIKit/UIView.h>
#import <Availability2.h>
@class NSString, NSTimer, SBAwayMediaControlsView, TPLCDTextView, UILabel;
@protocol SBAwayDateViewDelegate;
@interface SBAwayDateView : UIView {
NSTimer* _dateTimer;
TPLCDTextView* _timeLabel;
TPLCDTextView* _titleLabel;
NSString* _title;
NSString* _artist;
NSString* _album;
UILabel* _nowPlayingTitleLabel;
UILabel* _nowPlayingArtistLabel;
UILabel* _nowPlayingAlbumLabel;
SBAwayMediaControlsView* _controlsView;
id<SBAwayDateViewDelegate> _delegate;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
int _orientation;
#endif
unsigned _isPlaying : 1;
}
@property(assign, nonatomic) id<SBAwayDateViewDelegate> delegate;
@property(assign, nonatomic, getter=isPlaying) BOOL playing;
@property(retain, nonatomic) NSString* title;
// inherited: -(id)initWithFrame:(CGRect)frame;
// inherited: -(void)dealloc;
-(id)labelWithFontSize:(float)fontSize origin:(CGPoint)origin fontName:(const char*)name;
-(id)labelWithFontSize:(float)fontSize origin:(CGPoint)origin;
-(id)newNowPlayingLabelWithFont:(id)font color:(id)color origin:(CGPoint)origin;
-(void)updateLabels;
-(void)setAlpha:(float)alpha;
-(void)updateClockFormat;
-(void)updateClock;
-(void)setArtist:(id)artist;
-(void)setAlbum:(id)album;
-(void)removeFromSuperview;
-(void)movedToSuperview:(id)superview;
-(id)controlsView;
-(void)setIsShowingControls:(BOOL)controls;
-(BOOL)isShowingControls;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
@property(assign, nonatomic) int orientation;
-(void)resizeNowPlayingLabels;
#endif
@end