2010-07-22 16:13:55 +00:00
|
|
|
//
|
|
|
|
// 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"
|
2010-10-19 13:31:39 +00:00
|
|
|
@class GameViewController;
|
2010-07-22 16:13:55 +00:00
|
|
|
|
|
|
|
@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;
|
2011-02-04 22:19:35 +00:00
|
|
|
- (void) endScreenDeviceChangeWithClientWidth:(int)clientWidth clientHeight:(int)clientHeight;
|
2010-07-22 16:13:55 +00:00
|
|
|
|
2010-11-02 09:29:19 +00:00
|
|
|
- (void) setSupportedOrientations:(DisplayOrientation)orientations;
|
|
|
|
|
2010-07-22 16:13:55 +00:00
|
|
|
@end
|
|
|
|
|