Source/iPhoneAppDelegate.h
author Jens Alfke <jens@mooseyard.com>
Wed Mar 12 15:49:36 2008 -0700 (2008-03-12)
changeset 5 3ba1f29595c7
parent 1 3eb7be1dd7b6
child 8 45c82a071aca
permissions -rwxr-xr-x
Fixed the conversion of window to layer coordinates. The old way didn't work in HiDPI. Thanks to Quincey Morriss and Nathan Vander Wilt for figuring this out.
jens@1
     1
//
jens@2
     2
//  iPhoneAppDelegate.h
jens@1
     3
//  GGB-iPhone
jens@1
     4
//
jens@1
     5
//  Created by Jens Alfke on 3/7/08.
jens@1
     6
//  Copyright __MyCompanyName__ 2008. All rights reserved.
jens@1
     7
//
jens@1
     8
jens@1
     9
#import <UIKit/UIKit.h>
jens@1
    10
jens@1
    11
@class BoardUIView;
jens@1
    12
jens@1
    13
@interface GGB_iPhoneAppDelegate : NSObject <UIModalViewDelegate> {
jens@1
    14
    UIWindow *_window;
jens@1
    15
    BoardUIView *_contentView;
jens@1
    16
    UILabel *_headline;
jens@1
    17
}
jens@1
    18
jens@1
    19
@property (nonatomic, retain) UIWindow *window;
jens@1
    20
@property (nonatomic, retain) BoardUIView *contentView;
jens@1
    21
@property (nonatomic, retain) UILabel *headline;
jens@1
    22
jens@1
    23
- (void) startGameNamed: (NSString*)gameClassName;
jens@1
    24
jens@1
    25
@end