Added a new about box class. Added a text field that will eventually be clickable...
[ITKit.git] / ITURLTextField.m
1 #import "ITURLTextField.h"
2
3 @implementation ITURLTextField
4
5 - (void)dealloc
6 {
7         [_url release];
8         [super dealloc];
9 }
10
11 /*- (void)mouseEntered:(NSEvent *)event
12 {
13         NSLog(@"grr");
14         [[NSCursor pointingHandCursor] set];
15         [super mouseEntered:event];
16 }
17
18 - (void)mouseExited:(NSEvent *)event
19 {
20         [[NSCursor arrowCursor] set];
21         [super mouseExited:event];
22 }*/
23
24 - (void)setURL:(NSURL *)url
25 {
26         [_url release];
27         _url = [url retain];
28         
29         //Make an attributed string for the main stringValue now
30 //      NSAttributedString *string = [[NSAttributedString alloc] initWithString:[self stringValue] attributes:];
31 }
32
33 @end