Source/Grid.m
changeset 1 3eb7be1dd7b6
parent 0 e9f7ba4718e1
child 3 40d225cf9c43
     1.1 --- a/Source/Grid.m	Fri Mar 07 11:43:02 2008 -0800
     1.2 +++ b/Source/Grid.m	Mon Mar 10 17:30:57 2008 -0700
     1.3 @@ -40,7 +40,7 @@
     1.4          _nColumns = nColumns;
     1.5          _spacing = spacing;
     1.6          _cellClass = [GridCell class];
     1.7 -        _lineColor = kBlackColor;
     1.8 +        self.lineColor = kBlackColor;
     1.9          _allowsMoves = YES;
    1.10          _usesDiagonals = YES;
    1.11  
    1.12 @@ -328,6 +328,8 @@
    1.13  #pragma mark DRAG-AND-DROP:
    1.14  
    1.15  
    1.16 +#if ! TARGET_OS_ASPEN
    1.17 +
    1.18  // An image from another app can be dragged onto a Dispenser to change the Piece's appearance.
    1.19  
    1.20  
    1.21 @@ -353,6 +355,7 @@
    1.22          return NO;
    1.23  }
    1.24  
    1.25 +#endif
    1.26  
    1.27  @end
    1.28  
    1.29 @@ -430,6 +433,8 @@
    1.30  - (Square*) l      {return self.fwdIsN ?self.w  :self.e;}
    1.31  
    1.32  
    1.33 +#if ! TARGET_OS_ASPEN
    1.34 +
    1.35  - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender
    1.36  {
    1.37      CGImageRef image = GetCGImageFromPasteboard([sender draggingPasteboard]);
    1.38 @@ -447,6 +452,8 @@
    1.39          return NO;
    1.40  }
    1.41  
    1.42 +#endif
    1.43 +
    1.44  @end
    1.45  
    1.46  
    1.47 @@ -483,4 +490,5 @@
    1.48      }
    1.49  }
    1.50  
    1.51 +
    1.52  @end