// Display the window.
[[self contentView] setNeedsDisplay:YES];
-
+ _textField = textField;
}
}
}
}
+- (void)updateTime:(NSString *)time range:(NSRange)range
+{
+ NSMutableAttributedString *string = [[_textField attributedStringValue] mutableCopy];
+ [string replaceCharactersInRange:range withString:time];
+ [_textField setAttributedStringValue:[string autorelease]];
+ [[self contentView] setNeedsDisplay:YES];
+}
+
- (NSTimeInterval)animationResizeTime:(NSRect)newFrame
{
return (NSTimeInterval)0.25;