"_window" = NSWindow;
};
SUPERCLASS = NSObject;
- },
- {CLASS = ITURLTextField; LANGUAGE = ObjC; SUPERCLASS = NSTextField; }
+ }
);
IBVersion = 1;
}
\ No newline at end of file
{
IBOutlet NSImageView *_appIcon;
IBOutlet NSTextField *_appName;
- IBOutlet ITURLTextField *_companySite;
+ IBOutlet NSTextField *_companySite;
IBOutlet NSTextField *_copyright;
IBOutlet NSWindow *_window;
}
//
#import "ITAboutBox.h"
-#import "ITURLTextField.h"
static ITAboutBox *_sharedController;
[_appName setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"CFBundleShortVersionString" value:@"" table:@"InfoPlist"]];
[_companySite setStringValue:@"http://www.ithinksw.com/"];
- [_companySite setURL:[NSURL URLWithString:@"http://www.ithinksw.com/"]];
+
[_copyright setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"NSHumanReadableCopyright" value:@"" table:@"InfoPlist"]];
}
+++ /dev/null
-/* ITURLTextField */
-
-#import <Cocoa/Cocoa.h>
-
-@interface ITURLTextField : NSTextField
-{
- NSURL *_url;
-}
-- (void)setURL:(NSURL *)url;
-@end
+++ /dev/null
-#import "ITURLTextField.h"
-
-@implementation ITURLTextField
-
-- (void)dealloc
-{
- [_url release];
- [super dealloc];
-}
-
-/*- (void)mouseEntered:(NSEvent *)event
-{
- NSLog(@"grr");
- [[NSCursor pointingHandCursor] set];
- [super mouseEntered:event];
-}
-
-- (void)mouseExited:(NSEvent *)event
-{
- [[NSCursor arrowCursor] set];
- [super mouseExited:event];
-}*/
-
-- (void)setURL:(NSURL *)url
-{
- [_url release];
- _url = [url retain];
-
- //Make an attributed string for the main stringValue now
-// NSAttributedString *string = [[NSAttributedString alloc] initWithString:[self stringValue] attributes:];
-}
-
-@end