Removed gradient stuff that has been moved to the theme.

This commit is contained in:
Randall Luecke
2010-08-01 17:50:19 -05:00
parent dac61a14cd
commit f028533c07
-11
View File
@@ -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);