- if ((self = [super
- initWithBook:book
- database:database
- title:nil
- filter:@selector(isSearchedForBy:)
- with:nil
- ]) != nil) {
- CGRect cnfrect = {{0, 36}, {17, 18}};
+ if ((self = [super initWithBook:book]) != nil) {
+ CGRect pageBounds = [book_ pageBounds];
+
+ /*UIImageView *pinstripe = [[[UIImageView alloc] initWithFrame:pageBounds] autorelease];
+ [pinstripe setImage:[UIImage applicationImageNamed:@"pinstripe.png"]];
+ [self addSubview:pinstripe];*/
+
+ dimmed_ = [[UIView alloc] initWithFrame:pageBounds];
+ CGColor dimmed(space_, 0, 0, 0, 0.5);
+ [dimmed_ setBackgroundColor:dimmed];
+
+ transition_ = [[UITransitionView alloc] initWithFrame:pageBounds];
+ [self addSubview:transition_];
+
+ advanced_ = [[UIPreferencesTable alloc] initWithFrame:pageBounds];
+
+ table_ = [[PackageTable alloc]
+ initWithBook:book
+ database:database
+ title:nil
+ filter:@selector(isSearchedForBy:)
+ with:nil
+ ];
+
+ [transition_ transition:0 toView:table_];
+
+ CGRect cnfrect = {{3, 36}, {17, 18}};