1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
Matej Jan e8b63f4208 Added initial window handling.
git-svn-id: http://xni.googlecode.com/svn/XNI@7 ac433895-eea3-a490-d80a-17149a75e588
2010-07-22 16:13:55 +00:00

39 lines
912 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"
@interface GameWindow : NSObject {
Rectangle *clientBounds;
DisplayOrientation currentOrientation;
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) initialize;
- (void) beginScreenDeviceChangeWithFullscreen:(BOOL)willBeFullscreen;
- (void) endScreenDeviceChange;
@end