-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathSMFComplexDropShadowControl.h
52 lines (46 loc) · 1.37 KB
/
SMFComplexDropShadowControl.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
//
// SMFComplexDropShadowControl.h
// SMFramework
//
// Created by Thomas Cool on 2/28/11.
// Copyright 2011 Thomas Cool. All rights reserved.
//
#import "Backrow/AppleTV.h"
#import "SMFProgressBarControl.h"
#import "SMFDropShadowControl.h"
@interface SMFComplexDropShadowControl : SMFDropShadowControl {
BRControl *_bg;
BRScrollingTextBoxControl *_scrolling;
BRWaitSpinnerControl *_spinner;
SMFProgressBarControl *_progress;
BRMetadataTitleControl *_titleControl;
BOOL _pbShows;
BOOL _blocking;
BOOL _showWaitSpinner;
NSString *_title;
NSString *_subtitle;
NSMutableString *_text;
BRListControl *_list;
NSObject *delegate;
}
/*
* If you want to change the title and subtitle while the control is up,
* you can just change the two properties
*/
@property(copy)NSString *title;
@property(copy)NSString *subtitle;
@property(readonly,assign)SMFProgressBarControl *progress;
@property(readwrite,assign)BOOL blocking;
@property(readwrite,assign)NSObject *delegate;
-(void)appendToText:(NSString *)t;
//-(void)addToController:(BRController *)ctrl;
-(void)setShowsProgressBar:(BOOL)shows;
-(void)setShowsWaitSpinner:(BOOL)spinner;
-(BOOL)showsProgressBar;
-(BOOL)showsWaitSpinner;
-(void)setBlocking:(BOOL)blocking;
-(BOOL)blocking;
-(id)attributedStringForString:(NSString*)s;
-(void)updateHeader;
- (void)removeBlueLozenge;
@end