Archive Project
This commit is contained in:
21
Notifications for YouTube/ItemCellView.m
Executable file
21
Notifications for YouTube/ItemCellView.m
Executable file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ItemCellView.m
|
||||
// LionTableViewTesting
|
||||
//
|
||||
// Created by Tomaž Kragelj on 8/29/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ItemCellView.h"
|
||||
|
||||
@implementation ItemCellView
|
||||
|
||||
@synthesize detailTextField = _detailTextField;
|
||||
|
||||
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle {
|
||||
NSColor *textColor = (backgroundStyle == NSBackgroundStyleDark) ? [NSColor windowBackgroundColor] : [NSColor controlShadowColor];
|
||||
self.detailTextField.textColor = textColor;
|
||||
[super setBackgroundStyle:backgroundStyle];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user