1 #import "displaycontroller.h"
4 @implementation DisplayController
6 @synthesize FixedOrientation;
8 -(id)initWithSize:(CGRect)screenSize
13 UIView *rootView = [[UIView alloc] initWithFrame:screenSize];
21 -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)o
23 switch (FixedOrientation)
26 return UIInterfaceOrientationIsPortrait(o);
29 return UIInterfaceOrientationIsLandscape(o);
31 default: /* Unspecified */