]> git.saurik.com Git - cydia.git/blame - UICaboodle/RVBook.h
Shaved another 0.7s from startup.
[cydia.git] / UICaboodle / RVBook.h
CommitLineData
7e9a36b6
JF
1#import "UICaboodle.h"
2
3#import <UIKit/UIView.h>
4
5@class NSMutableArray;
6@class RVPage;
7@class UINavigationBar;
8@class UITransitionView;
9
10@protocol RVDelegate
11- (void) setPageActive:(BOOL)active with:(id)object;
12- (void) resetViewAnimated:(BOOL)animated with:(id)object;
13- (void) reloadDataWith:(id)object;
14@end
15
16@interface RVBook : UIView {
17 NSMutableArray *pages_;
18 UINavigationBar *navbar_;
19 UITransitionView *transition_;
20 BOOL resetting_;
21 _transient id delegate_;
22}
23
facbc56d
JF
24- (UINavigationBar *) navigationBar;
25
7e9a36b6
JF
26- (id) initWithFrame:(CGRect)frame;
27- (void) setDelegate:(id)delegate;
28
29- (void) setPage:(RVPage *)page;
30
31- (void) pushPage:(RVPage *)page;
32- (void) popPages:(unsigned)pages;
33
7e9a36b6
JF
34- (void) resetViewAnimated:(BOOL)animated;
35- (void) resetViewAnimated:(BOOL)animated toPage:(RVPage *)page;
36
7e9a36b6 37- (void) setBackButtonTitle:(NSString *)title forPage:(RVPage *)page;
3160e5f0 38- (void) reloadTitleForPage:(RVPage *)page;
7e9a36b6
JF
39- (void) reloadButtonsForPage:(RVPage *)page;
40- (NSString *) getTitleForPage:(RVPage *)page;
41
42- (void) reloadData;
43
44- (CGRect) pageBounds;
45
46@end