Permalink
Browse files

example modified in order to show the effect applied. Run it on OSX T…

…aget. The left and the right are configured as same. But the left one has the effect applied and the right one no.
  • Loading branch information...
1 parent 2ec1775 commit 8e57419367bb86813bf6e2ac654b769558a6c340 @marcosanson committed Oct 8, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 Example/KGMacAppDelegate.m
@@ -14,9 +14,13 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification{
self.viewLeft.backgroundColor = [NSColor darkGrayColor];
self.viewLeft.noiseBlendMode = kCGBlendModeMultiply;
self.viewLeft.noiseOpacity = 0.1;
+ self.viewLeft.gradienColorInternal = [NSColor colorWithCalibratedRed:1 green:1 blue:1 alpha:1];
+ self.viewLeft.gradienColorExternal = [NSColor colorWithCalibratedRed:.69f green:.68f blue:.67f alpha:1];
+
+ self.viewRight.backgroundColor = [NSColor darkGrayColor];
+ self.viewRight.noiseBlendMode = kCGBlendModeMultiply;
+ self.viewRight.noiseOpacity = 0.1;
- self.viewRight.backgroundColor = [NSColor lightGrayColor];
- self.viewRight.noiseOpacity = 0.2;
}
@end

0 comments on commit 8e57419

Please sign in to comment.