Checking in improvements to the effect availability heuristic.
[MenuTunes.git] / Deprecated / StatusWindow.m
1 #import "StatusWindow.h"
2
3 @implementation StatusWindow
4
5 - (id)initWithContentRect:(NSRect)rect styleMask:(unsigned int)mask backing:(NSBackingStoreType)type defer:(BOOL)flag
6 {
7     if ( (self = [super initWithContentRect:rect styleMask:NSBorderlessWindowMask backing:type defer:flag]) ) {
8         [self setHasShadow:NO];
9         [self setOpaque: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]];
13     }
14     return self;
15 }
16
17 @end