Return to Snippet

Revision: 48287
at June 28, 2011 11:08 by appjon


Initial Code
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned long)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag {
	self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES];
	[self setMovableByWindowBackground:YES];
	[self setBackgroundColor:[NSColor clearColor]];
	[self setLevel:NSNormalWindowLevel];
	[self setOpaque:NO];
	[self setHasShadow:YES];
	
	return self;
}

Initial URL

                                

Initial Description

                                

Initial Title
Makes transparent window

Initial Tags

                                

Initial Language
Other