author | Jens Alfke <jens@mooseyard.com> |
Tue Mar 11 17:09:50 2008 -0700 (2008-03-11) | |
changeset 4 | d781b00f3ed4 |
parent 1 | 3eb7be1dd7b6 |
child 7 | 428a194e3e59 |
permissions | -rw-r--r-- |
jens@1 | 1 |
// |
jens@1 | 2 |
// GGBLayer.h |
jens@1 | 3 |
// GGB-iPhone |
jens@1 | 4 |
// |
jens@1 | 5 |
// Created by Jens Alfke on 3/7/08. |
jens@1 | 6 |
// Copyright 2008 __MyCompanyName__. All rights reserved. |
jens@1 | 7 |
// |
jens@1 | 8 |
|
jens@1 | 9 |
#if TARGET_OS_ASPEN |
jens@1 | 10 |
#import <QuartzCore/QuartzCore.h> |
jens@1 | 11 |
#else |
jens@1 | 12 |
#import <Quartz/Quartz.h> |
jens@1 | 13 |
#endif |
jens@1 | 14 |
|
jens@1 | 15 |
|
jens@1 | 16 |
@interface GGBLayer : CALayer <NSCopying> |
jens@1 | 17 |
|
jens@1 | 18 |
#if TARGET_OS_ASPEN |
jens@1 | 19 |
// For some reason, the CALayer class on iPhone OS doesn't have these! |
jens@1 | 20 |
{ |
jens@1 | 21 |
CGFloat _cornerRadius, _borderWidth; |
jens@1 | 22 |
CGColorRef _borderColor, _realBGColor; |
jens@1 | 23 |
unsigned int _autoresizingMask; |
jens@1 | 24 |
} |
jens@1 | 25 |
@property CGFloat cornerRadius, borderWidth; |
jens@1 | 26 |
@property CGColorRef borderColor; |
jens@1 | 27 |
#endif |
jens@1 | 28 |
|
jens@4 | 29 |
- (void) redisplayAll; |
jens@4 | 30 |
|
jens@1 | 31 |
@end |