1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Xni/Framework/GameViewController.h
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

32 lines
858 B
Objective-C

//
// GameViewController.h
// XNI
//
// Created by Matej Jan on 22.7.10.
// Copyright 2010 Retronator, Razum. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <GameKit/GameKit.h>
#import "Retronator.Xni.Framework.classes.h"
@class GameView;
@interface GameViewController : UIViewController {
GameWindow *gameWindow;
DisplayOrientation supportedOrientations;
}
- initWithGameWindow: (GameWindow*)theGameWindow;
@property (nonatomic) DisplayOrientation supportedOrientations;
@property (nonatomic, readonly) GameView *gameView;
+ (DisplayOrientation) getDisplayOrientationForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
+ (UIInterfaceOrientation) getUIInterfaceOrientationFromString:(NSString*)interfaceOrientation;
+ (DisplayOrientation) getSupportedOrientationsFromPlist;
+ (BOOL) getIsFullscreenFromPlist;
@end