Source/GGBLayer.h
author Jens Alfke <jens@mooseyard.com>
Wed Mar 12 15:51:32 2008 -0700 (2008-03-12)
changeset 6 af9b2b929b03
parent 1 3eb7be1dd7b6
child 7 428a194e3e59
permissions -rw-r--r--
Fixed: An exception in the Go game if you mouse down on the board but then drag to the captured-pieces area and release the mouse.
     1 //
     2 //  GGBLayer.h
     3 //  GGB-iPhone
     4 //
     5 //  Created by Jens Alfke on 3/7/08.
     6 //  Copyright 2008 __MyCompanyName__. All rights reserved.
     7 //
     8 
     9 #if TARGET_OS_ASPEN
    10 #import <QuartzCore/QuartzCore.h>
    11 #else
    12 #import <Quartz/Quartz.h>
    13 #endif
    14 
    15 
    16 @interface GGBLayer : CALayer <NSCopying>
    17 
    18 #if TARGET_OS_ASPEN
    19 // For some reason, the CALayer class on iPhone OS doesn't have these!
    20 {
    21     CGFloat _cornerRadius, _borderWidth;
    22     CGColorRef _borderColor, _realBGColor;
    23     unsigned int _autoresizingMask;
    24 }
    25 @property CGFloat cornerRadius, borderWidth;
    26 @property CGColorRef borderColor;
    27 #endif
    28 
    29 - (void) redisplayAll;
    30 
    31 @end