From e376f97b46ae4b9fddbb1bc3a09eebd3cf3d719e Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Wed, 6 Feb 2013 16:36:49 +0000 Subject: [PATCH] - CPShadow set. --- AppKit/CPShadow.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/CPShadow.j b/AppKit/CPShadow.j index 328b35cf6..2246dbf58 100644 --- a/AppKit/CPShadow.j +++ b/AppKit/CPShadow.j @@ -63,8 +63,11 @@ return self; } +- (void)set { + var context = [[CPGraphicsContext currentContext] graphicsPort]; + CGContextSetShadowWithColor(context, _offset, _blurRadius, _color); } /*!