Author: mlytwyn
Date: Fri Dec 11 17:27:32 2015
New Revision: 39233
URL: http://svn.gna.org/viewcvs/gnustep?rev=39233&view=rev
Log:
Added comments
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/GSThemeDrawing.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/GSThemeDrawing.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/GSThemeDrawing.m?rev=39233&r1=39232&r2=39233&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSThemeDrawing.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSThemeDrawing.m Fri Dec
11 17:27:32 2015
@@ -3365,6 +3365,8 @@
}
else if ([[box fillColor] isEqual:[NSColor clearColor]] == NO)
{
+ // This isn't right per docs but Apple does do something like
+ // this...anyone with a better idea please have at it...
color = [box fillColor];
}
else
@@ -3403,8 +3405,10 @@
[[box borderColor] set];
NSFrameRectWithWidth([box borderRect], [box borderWidth]);
}
- else if ([box borderColor] != [NSColor clearColor])
+ else if ([[box borderColor] isEqual:[NSColor clearColor]] == NO)
{
+ // This isn't right per docs but Apple does do something like
+ // this...anyone with a better idea please have at it...
[[box borderColor] set];
NSFrameRect([box borderRect]);
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs