Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITSplashWindow.m
index a41d7e1..63d6923 100644 (file)
@@ -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];
        return self;
 }
 
-- (BOOL)canBecomeKeyWindow
-{
+- (BOOL)canBecomeKeyWindow {
        return YES;
 }
 
-- (BOOL)isKeyWindow
-{
+- (BOOL)isKeyWindow {
        return YES;
 }
 
-@end
+@end
\ No newline at end of file