1 #import "StatusWindow.h"
3 @implementation StatusWindow
5 - (id)initWithContentRect:(NSRect)rect styleMask:(unsigned int)mask backing:(NSBackingStoreType)type defer:(BOOL)flag
7 if ( (self = [super initWithContentRect:rect styleMask:NSBorderlessWindowMask backing:type defer:flag]) ) {
8 [self setHasShadow:NO];
10 [self setLevel:NSStatusWindowLevel];
11 [self setIgnoresMouseEvents:YES];
12 [self setBackgroundColor:[NSColor colorWithCalibratedRed:0.5 green:0.5 blue:0.5 alpha:0.6]];