equal
deleted
inserted
replaced
67 CGPoint loaderCenter = ((IS_DUALHEAD() || [HWUtils gameType] == gtSave) ? center : CGPointMake(center.x, center.y * 5/3)); |
67 CGPoint loaderCenter = ((IS_DUALHEAD() || [HWUtils gameType] == gtSave) ? center : CGPointMake(center.x, center.y * 5/3)); |
68 |
68 |
69 overlay_instance.loadingIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; |
69 overlay_instance.loadingIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; |
70 overlay_instance.loadingIndicator.hidesWhenStopped = YES; |
70 overlay_instance.loadingIndicator.hidesWhenStopped = YES; |
71 overlay_instance.loadingIndicator.center = loaderCenter; |
71 overlay_instance.loadingIndicator.center = loaderCenter; |
|
72 overlay_instance.loadingIndicator.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | |
|
73 UIViewAutoresizingFlexibleRightMargin | |
|
74 UIViewAutoresizingFlexibleTopMargin | |
|
75 UIViewAutoresizingFlexibleBottomMargin; |
72 [overlay_instance.loadingIndicator startAnimating]; |
76 [overlay_instance.loadingIndicator startAnimating]; |
73 [overlay_instance.view addSubview:overlay_instance.loadingIndicator]; |
77 [overlay_instance.view addSubview:overlay_instance.loadingIndicator]; |
74 [overlay_instance.loadingIndicator release]; |
78 [overlay_instance.loadingIndicator release]; |
75 } |
79 } |
76 |
80 |