Warn about missing newline.
[MacTF.git] / iLifeControls / NFHUDWindow.m
blob403f8240fa952852b05b0ebebe5e7137b687c624
1 //
2 //  NFHUDWindow.m
3 //  iLife HUD Window
4 //
5 //  Created by Sean Patrick O'Brien on 9/23/06.
6 //  Copyright 2006 Sean Patrick O'Brien. All rights reserved.
7 //
9 #import "NFHUDWindow.h"
10 #import "NFHUDFrame.h"
12 @implementation NFHUDWindow
14 + (Class)frameViewClassForStyleMask:(unsigned int)styleMask
16         return [NFHUDFrame class];
19 - (id)initWithContentRect:(NSRect)contentRect 
20                 styleMask:(unsigned int)styleMask 
21                   backing:(NSBackingStoreType)bufferingType 
22                     defer:(BOOL)flag
24         if(self = [super initWithContentRect:contentRect 
25                                 styleMask:styleMask 
26                                   backing:bufferingType 
27                                     defer:flag]){
28                 [self setLevel:NSFloatingWindowLevel];
29                 return self;
30         }
31         
32         return nil;
35 -(void)awakeFromNib
37         [self setLevel:NSFloatingWindowLevel];
40 -(BOOL)isOpaque
42         return NO;
45 @end