Source/BoardView.h
changeset 12 4e567e11f45f
parent 1 3eb7be1dd7b6
child 15 73f8c889f053
     1.1 --- a/Source/BoardView.h	Mon Mar 10 17:30:57 2008 -0700
     1.2 +++ b/Source/BoardView.h	Mon Jul 07 15:47:42 2008 -0700
     1.3 @@ -31,6 +31,7 @@
     1.4      @private
     1.5      Game *_game;                                // Current Game
     1.6      GGBLayer *_gameboard;                       // Game's main layer
     1.7 +    NSSize _oldSize;
     1.8      
     1.9      // Used during mouse-down tracking:
    1.10      NSPoint _dragStartPos;                      // Starting position of mouseDown
    1.11 @@ -48,13 +49,17 @@
    1.12      NSDragOperation _viewDropOp;                // Current drag operation
    1.13  }
    1.14  
    1.15 +@property (retain) Game *game;
    1.16 +@property (readonly) CALayer *gameboard;
    1.17 +
    1.18  - (void) startGameNamed: (NSString*)gameClassName;
    1.19  
    1.20 +- (void) createGameBoard;
    1.21 +
    1.22 +- (void) reverseBoard;
    1.23 +
    1.24  - (IBAction) enterFullScreen: (id)sender;
    1.25  
    1.26 -@property (readonly) Game *game;
    1.27 -@property (readonly) CALayer *gameboard;
    1.28 -
    1.29  - (CGRect) gameBoardFrame;
    1.30  
    1.31  @end