- (id)init
{
- if ( (self = [super init]) )
- {
+ if ( (self = [super init]) ) {
[NSBundle loadNibNamed:@"StatusWindow" owner:self];
[statusWindow center];
}
- (void)fadeWindowOut
{
[NSThread detachNewThreadSelector:@selector(fadeOutAux) toTarget:self withObject:nil];
-
}
- (void)fadeOutAux
{
NSAutoreleasePool *p00l = [[NSAutoreleasePool alloc] init];
float i;
- for (i = 1.0; i > 0; i -= .003)
- {
+ for (i = 1.0; i > 0; i -= .003) {
[statusWindow setAlphaValue:i];
}
[statusWindow close];