- Timestamp:
- 03/02/08 13:51:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEInvertingTextFieldCell.m
r425 r428 12 12 @implementation ICeCoffEEInvertingTextFieldCell 13 13 14 - (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; 15 { 16 return nil; 17 } 18 14 19 - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; 15 20 { 16 if ([self isHighlighted] ) {21 if ([self isHighlighted] && [[controlView window] firstResponder] == controlView && [[controlView window] isKeyWindow]) { 17 22 NSMutableAttributedString *astr = [[self attributedStringValue] mutableCopy]; 18 23 unsigned location = 0, length = [astr length];
Note:
See TracChangeset
for help on using the changeset viewer.