Files
Patrick Wardle f6264d83b7 mojave compatibility
-dark mode
 -skip dylib enumeration for launchd (Apple bug)
 -sentry.io error reporting
 -update check (automatic & via menu)
 -friends of obj-see
2018-12-06 21:04:36 -10:00

38 lines
603 B
Objective-C

//
// kkRowCell.m
// TaskExplorer
//
// Created by Patrick Wardle on 4/6/15.
// Copyright (c) 2015 Objective-See. All rights reserved.
//
#import "kkRowCell.h"
@implementation kkRowCell
@synthesize tag;
//draw method
- (void)drawRect:(NSRect)dirtyRect
{
//draw custom color
if(nil != self.color)
{
//set color
[self.color set];
//fill
NSRectFill([self bounds]);
}
}
//set background color
// ->always light!
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle
{
[super setBackgroundStyle: NSBackgroundStyleLight];
}
@end