first copy of the front-end from Ben Wilber. Thanks Ben!

This commit is contained in:
Zachary Slater 2009-03-21 22:55:40 +00:00
parent 53adde9fb2
commit d8080d3646
18 changed files with 5821 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#import "ErrorWindow.h"
@implementation ErrorWindow
- (void)bitch:(NSString *)errorlog
{
NSLog(errorlog);
NSNib *nib = [[NSNib alloc] initWithNibNamed:@"ErrorWindow.nib" bundle:[NSBundle mainBundle]];
[nib instantiateNibWithOwner:self topLevelObjects:nil];
[errorWindow makeKeyWindow];
[errorTextField setFont:[NSFont userFixedPitchFontOfSize:12.0]];
[errorTextField setString:@""];
[[errorTextField textStorage] appendAttributedString:[[[NSAttributedString alloc] initWithString:errorlog] autorelease]];
[errorTextField scrollRangeToVisible:NSMakeRange([[errorTextField string] length], 0)];
}
@end