Source

//// BWHyperlinkButtonCell.m// BWToolkit//// Created by Brandon Walkin (www.brandonwalkin.com)// All code is provided under the New BSD license.//#import "BWHyperlinkButtonCell.h"@interfaceNSCell(BWPrivate)-(NSDictionary*)_textAttributes;@end@implementationBWHyperlinkButtonCell-(NSDictionary*)_textAttributes{NSMutableDictionary*attributes=[[[NSMutableDictionaryalloc]init]autorelease];[attributesaddEntriesFromDictionary:[super_textAttributes]];[attributessetObject:[NSColorblueColor]forKey:NSForegroundColorAttributeName];[attributessetObject:[NSNumbernumberWithInt:NSSingleUnderlineStyle]forKey:NSUnderlineStyleAttributeName];returnattributes;}-(void)drawBezelWithFrame:(NSRect)frameinView:(NSView*)controlView{}-(void)setBordered:(BOOL)flag{}-(BOOL)isBordered{returnYES;}@end