1.1 --- a/Source/GGBLayer.h Thu Jul 03 17:44:30 2008 -0700
1.2 +++ b/Source/GGBLayer.h Mon Jul 07 15:47:42 2008 -0700
1.3 @@ -14,9 +14,13 @@
1.4 #endif
1.5
1.6
1.7 +extern NSString* const GGBLayerStyleChangedNotification;
1.8 +
1.9 +
1.10 @interface GGBLayer : CALayer <NSCopying>
1.11 {
1.12 CABasicAnimation *_curAnimation;
1.13 + NSMutableDictionary *_styleDict;
1.14
1.15 #if ! TARGET_OS_IPHONE
1.16 }
1.17 @@ -35,6 +39,10 @@
1.18
1.19 - (void) animateAndBlock: (NSString*)keyPath from: (id)from to: (id)to duration: (NSTimeInterval)duration;
1.20
1.21 +/** Change a property in this layer's 'style' dictionary (if it has one),
1.22 + and update every other layer that shares the same style dictionary. */
1.23 +- (void) setValue: (id)value ofStyleProperty: (NSString*)prop;
1.24 +
1.25 @end
1.26
1.27