RobotUIKit API
RobotUIKit/RUIModalLayerViewController.h
00001 //
00002 //  RUIModalLayerViewController.h
00003 //  RobotKit
00004 //
00005 //  Copyright 2010 Orbotix Inc. All rights reserved.
00006 //
00007 
00008 #import <UIKit/UIKit.h>
00009 
00010 @class RUIModalLayerViewController;
00011 
00026 @interface RUIModalLayerViewController : UIViewController {
00027     @private
00028     CGFloat  backgroundAlpha;
00029     UIColor *backgroundColor;
00030         id       dismissedTarget;
00031         SEL      dismissedAction;
00032         UIView  *parentView;
00033 }
00034 
00036 @property (nonatomic, assign) CGFloat backgroundAlpha;
00038 @property (nonatomic, copy)   UIColor *backgroundColor;
00039 
00041 + (RUIModalLayerViewController *)currentModalLayerViewController;
00042 
00049 - (void)dismissModalLayerViewControllerAnimated:(BOOL)animated;
00050 
00060 - (UIView *)layerViewForParentViewController:(UIViewController *)parentViewController;
00061 
00071 - (void) setDismissedTarget:(id)target action:(SEL)action;
00072 
00074 -(void)layoutPortrait;
00075 
00077 -(void)layoutLandscape;
00078 
00079 @end
00080 
00085 @interface UIViewController (RUIModalLayerAdditions)
00086 
00096 - (void)presentModalLayerViewController:(RUIModalLayerViewController *)modalViewController 
00097                                animated:(BOOL)animated;
00098 @end
00099 
00100 
00101 
 All Classes Functions Properties