Ignore:
Timestamp:
03/02/08 13:51:58 (16 years ago)
Author:
Nicholas Riley
Message:

Compiler fixes; first pass at menu-style highlighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEInvertingTextFieldCell.m

    r425 r428  
    1212@implementation ICeCoffEEInvertingTextFieldCell
    1313
     14- (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
     15{
     16    return nil;
     17}
     18
    1419- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
    1520{
    16     if ([self isHighlighted]) {
     21    if ([self isHighlighted] && [[controlView window] firstResponder] == controlView && [[controlView window] isKeyWindow]) {
    1722        NSMutableAttributedString *astr = [[self attributedStringValue] mutableCopy];
    1823        unsigned location = 0, length = [astr length];
Note: See TracChangeset for help on using the changeset viewer.