jens@1: // jens@1: // GGBLayer.h jens@1: // GGB-iPhone jens@1: // jens@1: // Created by Jens Alfke on 3/7/08. jens@1: // Copyright 2008 __MyCompanyName__. All rights reserved. jens@1: // jens@1: jens@1: #if TARGET_OS_ASPEN jens@1: #import jens@1: #else jens@1: #import jens@1: #endif jens@1: jens@1: jens@1: @interface GGBLayer : CALayer jens@1: jens@1: #if TARGET_OS_ASPEN jens@1: // For some reason, the CALayer class on iPhone OS doesn't have these! jens@1: { jens@1: CGFloat _cornerRadius, _borderWidth; jens@1: CGColorRef _borderColor, _realBGColor; jens@1: unsigned int _autoresizingMask; jens@1: } jens@1: @property CGFloat cornerRadius, borderWidth; jens@1: @property CGColorRef borderColor; jens@1: #endif jens@1: jens@4: - (void) redisplayAll; jens@4: jens@1: @end