mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
-dark mode -skip dylib enumeration for launchd (Apple bug) -sentry.io error reporting -update check (automatic & via menu) -friends of obj-see
38 lines
603 B
Objective-C
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
|