X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/9ca04accfdeca9935e89bad1137941cfee16be9b..HEAD:/ITSplashWindow.m diff --git a/ITSplashWindow.m b/ITSplashWindow.m index a41d7e1..63d6923 100644 --- a/ITSplashWindow.m +++ b/ITSplashWindow.m @@ -3,9 +3,8 @@ @implementation ITSplashWindow -- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag -{ - if ( (self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]) ) { +- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag { + if ((self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])) { [self setOpaque:NO]; [self setBackgroundColor:[NSColor clearColor]]; [self setHasShadow:YES]; @@ -13,14 +12,12 @@ return self; } -- (BOOL)canBecomeKeyWindow -{ +- (BOOL)canBecomeKeyWindow { return YES; } -- (BOOL)isKeyWindow -{ +- (BOOL)isKeyWindow { return YES; } -@end +@end \ No newline at end of file