1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
Matej Jan 49293a9610 View scaling fixes to support iOS before 4.0.
Adding Game Center classes skeletons.

git-svn-id: http://xni.googlecode.com/svn/XNI@62 ac433895-eea3-a490-d80a-17149a75e588
2011-03-29 15:00:49 +00:00

39 lines
1006 B
Objective-C

//
// GameWindow.h
// XNI
//
// Created by Matej Jan on 20.7.10.
// Copyright 2010 Retronator. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "System.h"
#import "Retronator.Xni.Framework.classes.h"
@class GameViewController;
@interface GameWindow : NSObject {
Rectangle *clientBounds;
Event *clientSizeChanged;
Event *orientationChanged;
UIWindow *window;
GameViewController *gameViewController;
}
@property (nonatomic, readonly) Rectangle *clientBounds;
@property (nonatomic, readonly) DisplayOrientation currentOrientation;
@property (nonatomic, readonly) id handle;
@property (nonatomic, readonly) Event *clientSizeChanged;
@property (nonatomic, readonly) Event *orientationChanged;
- (void) beginScreenDeviceChangeWithFullscreen:(BOOL)willBeFullscreen;
- (void) endScreenDeviceChangeWithClientWidth:(int)clientWidth clientHeight:(int)clientHeight;
- (void) setSupportedOrientations:(DisplayOrientation)orientations;
@end