mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
largely completed virus total logic
began implementing sorting logic (just for top pane)
This commit is contained in:
+11
-11
@@ -13,7 +13,7 @@
|
||||
|
||||
@implementation VTButton
|
||||
|
||||
@synthesize fileObj;
|
||||
@synthesize binary;
|
||||
@synthesize delegate;
|
||||
@synthesize mouseDown;
|
||||
@synthesize mouseExit;
|
||||
@@ -53,8 +53,8 @@
|
||||
|
||||
//flagged files
|
||||
// ->make em red!
|
||||
if( (nil != self.fileObj.vtInfo) &&
|
||||
(0 != [self.fileObj.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
if( (nil != self.binary.vtInfo) &&
|
||||
(0 != [self.binary.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
{
|
||||
//set color (light red)
|
||||
color = [NSColor colorWithCalibratedRed:(255/255.0f) green:(1.0/255.0f) blue:(1.0/255.0f) alpha:0.5];
|
||||
@@ -94,8 +94,8 @@
|
||||
|
||||
//flagged files
|
||||
// ->make em red!
|
||||
if( (nil != self.fileObj.vtInfo) &&
|
||||
(0 != [self.fileObj.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
if( (nil != self.binary.vtInfo) &&
|
||||
(0 != [self.binary.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
{
|
||||
//set color (light red)
|
||||
color = [NSColor redColor];
|
||||
@@ -126,8 +126,8 @@
|
||||
|
||||
//flagged files
|
||||
// ->make em red!
|
||||
if( (nil != self.fileObj.vtInfo) &&
|
||||
(0 != [self.fileObj.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
if( (nil != self.binary.vtInfo) &&
|
||||
(0 != [self.binary.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
{
|
||||
//set color (lightish red)
|
||||
color = [NSColor colorWithCalibratedRed:(255/255.0f) green:(1.0/255.0f) blue:(1.0/255.0f) alpha:0.66];
|
||||
@@ -162,8 +162,8 @@
|
||||
{
|
||||
//flagged files
|
||||
// ->make em red!
|
||||
if( (nil != self.fileObj.vtInfo) &&
|
||||
(0 != [self.fileObj.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
if( (nil != self.binary.vtInfo) &&
|
||||
(0 != [self.binary.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
{
|
||||
//set color (lightish red)
|
||||
color = [NSColor colorWithCalibratedRed:(255/255.0f) green:(1.0/255.0f) blue:(1.0/255.0f) alpha:0.66];
|
||||
@@ -182,8 +182,8 @@
|
||||
{
|
||||
//flagged files
|
||||
// ->make em red!
|
||||
if( (nil != self.fileObj.vtInfo) &&
|
||||
(0 != [self.fileObj.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
if( (nil != self.binary.vtInfo) &&
|
||||
(0 != [self.binary.vtInfo[VT_RESULTS_POSITIVES] unsignedIntegerValue]) )
|
||||
{
|
||||
//set color (light red)
|
||||
color = [NSColor redColor];
|
||||
|
||||
Reference in New Issue
Block a user