Source/GGBLayer.m
changeset 23 efe5d4523a23
parent 16 28392c9a969f
child 27 b0affce7beb1
     1.1 --- a/Source/GGBLayer.m	Mon Jul 14 21:00:15 2008 -0700
     1.2 +++ b/Source/GGBLayer.m	Thu Jul 31 13:23:44 2008 -0700
     1.3 @@ -124,7 +124,24 @@
     1.4  }
     1.5  
     1.6  
     1.7 -#if 0
     1.8 +- (void) makeSublayersPerformSelector: (SEL)selector withObject: (id)object
     1.9 +{
    1.10 +    for( GGBLayer *layer in self.sublayers ) {
    1.11 +        [layer performSelector: selector withObject: object withObject: nil];
    1.12 +        [layer makeSublayersPerformSelector: selector withObject: object];
    1.13 +    }
    1.14 +}
    1.15 +
    1.16 +- (void) changedTransform
    1.17 +{
    1.18 +    [self makeSublayersPerformSelector: @selector(aggregateTransformChanged) withObject: nil];
    1.19 +}
    1.20 +
    1.21 +- (void) aggregateTransformChanged
    1.22 +{
    1.23 +}
    1.24 +
    1.25 +
    1.26  - (CATransform3D) aggregateTransform
    1.27  {
    1.28      CATransform3D xform = CATransform3DIdentity;
    1.29 @@ -147,7 +164,6 @@
    1.30      }
    1.31      return str;
    1.32  }
    1.33 -#endif
    1.34  
    1.35  
    1.36  #if TARGET_OS_IPHONE