// // TagTextField.m // Task Views // // Created by Chris Karr on 3/13/09. // Copyright 2009 Chris J. Karr. All rights reserved. // #import "TagButton.h" @implementation TagButton @synthesize task; @synthesize color; - (id) initWithFrame:(NSRect) frame { if (self = [super initWithFrame:frame]) { self.color = nil; } return self; } - (void)resetCursorRects { [self addCursorRect:[self bounds] cursor:[NSCursor pointingHandCursor]]; } /* - (void) mouseEntered:(NSEvent *) theEvent { [super mouseEntered:theEvent]; [self setTextColor:[NSColor whiteColor]]; [self setNeedsDisplay:YES]; } - (void) mouseExited:(NSEvent *) theEvent { [super mouseExited:theEvent]; [self setTextColor:[NSColor blueColor]]; [self setNeedsDisplay:YES]; } */ @end