IsWild_ = [device respondsToSelector:@selector(isWildcat)] && [device isWildcat];
if (Papered_) {
- UIWindow *&_wallpaperView(MSHookIvar<UIWindow *>(self, "_wallpaperView"));
+ UIImageView *&_wallpaperView(MSHookIvar<UIImageView *>(self, "_wallpaperView"));
if (&_wallpaperView != NULL) {
[_wallpaperView removeFromSuperview];
[_wallpaperView release];
}
}
- UIWindow *&_window(MSHookIvar<UIWindow *>(self, "_window"));
UIView *&_contentLayer(MSHookIvar<UIView *>(self, "_contentLayer"));
UIView *&_contentView(MSHookIvar<UIView *>(self, "_contentView"));
player = &_contentView;
else
player = NULL;
-
UIView *layer(player == NULL ? nil : *player);
- UIView *content([[[UIView alloc] initWithFrame:[layer frame]] autorelease]);
+ UIWindow *window([[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]);
+ UIView *content([[[UIView alloc] initWithFrame:[window frame]] autorelease]);
+ [window setContentView:content];
+
+ UIWindow *&_window(MSHookIvar<UIWindow *>(self, "_window"));
+ [window setBackgroundColor:[_window backgroundColor]];
+ [_window setBackgroundColor:[UIColor clearColor]];
+
+ [window setLevel:-1000];
+ [window setHidden:NO];
/*if (player != NULL)
*player = content;*/
[content setBackgroundColor:[layer backgroundColor]];
[layer setBackgroundColor:[UIColor clearColor]];
- [layer setFrame:[content bounds]];
- [_window setContentView:content];
UIView *indirect;
if (!SummerBoard_ || !IsWild_)
}
}
- [content addSubview:layer];
-
return self;
}
Section: System
Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
-Version: 0.9.3210-1
+Version: 0.9.3211-1
Description: more powerful, open-source SummerBoard
Name: WinterBoard
Depends: mobilesubstrate (>= 0.9.2958-1), killall, preferenceloader, libhide (>= 2.0.4), findutils, net.howett.pincrush (>= 0.0.1-23) | pincrush