From f028533c0706363cd1af2ebc752aa0bac6f4bdfd Mon Sep 17 00:00:00 2001 From: Randall Luecke Date: Sun, 1 Aug 2010 17:50:19 -0500 Subject: [PATCH] Removed gradient stuff that has been moved to the theme. --- AppKit/CPTableView.j | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index fe9155bcb..50070e5a3 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -216,12 +216,6 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; int _draggedColumnIndex; CPArray _differedColumnDataToRemove; - -/* - CPGradient _sourceListInactiveGradient; - CPColor _sourceListInactiveTopLineColor; - CPColor _sourceListInactiveBottomLineColor; -*/ } + (CPString)themeClass @@ -337,11 +331,6 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; _draggedColumnIndex = -1; - // Gradients for the source list - _sourceListActiveGradient = CGGradientCreateWithColorComponents(CGColorSpaceCreateDeviceRGB(), [89.0/255.0, 153.0/255.0, 209.0/255.0,1.0, 33.0/255.0, 94.0/255.0, 208.0/255.0,1.0], [0,1], 2); - _sourceListActiveTopLineColor = [CPColor colorWithCalibratedRed:(61.0/255.0) green:(123.0/255.0) blue:(218.0/255.0) alpha:1.0]; - _sourceListActiveBottomLineColor = [CPColor colorWithCalibratedRed:(31.0/255.0) green:(92.0/255.0) blue:(207.0/255.0) alpha:1.0]; - /* //gradients for the source list when CPTableView is NOT first responder or the window is NOT key // FIX ME: we need to actually implement this. _sourceListInactiveGradient = CGGradientCreateWithColorComponents(CGColorSpaceCreateDeviceRGB(), [168.0/255.0,183.0/255.0,205.0/255.0,1.0,157.0/255.0,174.0/255.0,199.0/255.0,1.0], [0,1], 2);