1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
2011-02-04 22:19:35 +00:00

40 lines
1.0 KiB
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;
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) beginScreenDeviceChangeWithFullscreen:(BOOL)willBeFullscreen;
- (void) endScreenDeviceChangeWithClientWidth:(int)clientWidth clientHeight:(int)clientHeight;
- (void) setSupportedOrientations:(DisplayOrientation)orientations;
@end