Ignore:
Timestamp:
Jul 16, 2006, 5:12:25 PM (16 years ago)
Author:
livings124
Message:

Better way to determine highlighted color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r595 r613  
    283283- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) view
    284284{
    285     BOOL highlighted = [self isHighlighted] && [[view window] isKeyWindow];
     285    BOOL highlighted = [self isHighlighted] && [[self highlightColorWithFrame: cellFrame inView: view]
     286                                                        isEqual: [NSColor alternateSelectedControlColor]];
    286287    NSDictionary * nameAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
    287288                    highlighted ? [NSColor whiteColor] : [NSColor blackColor],
Note: See TracChangeset for help on using the changeset viewer.