// // StatusWindow.m // Do Not Disturb // // Created by Chris Karr on 11/13/07. // Copyright 2007 __MyCompanyName__. All rights reserved. // #import "StatusWindow.h" @implementation StatusWindow - (id)initWithContentRect:(NSRect) contentRect styleMask: (unsigned int)aStyle backing:(NSBackingStoreType) bufferingType defer:(BOOL) flag { self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; if (self) { [self setLevel:NSStatusWindowLevel]; [self setHasShadow:NO]; [self setMovableByWindowBackground:YES]; [self setBackgroundColor:[NSColor clearColor]]; [self setAlphaValue:1.0]; [self setOpaque:NO]; } return self; } @end