2013-04-08 15:25:00 +04:00
|
|
|
//
|
|
|
|
// BlockBackground.h
|
|
|
|
// arrived
|
|
|
|
//
|
|
|
|
// Created by Gustavo Ambrozio on 29/11/11.
|
|
|
|
// Copyright (c) 2011 N/A. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2013-04-08 16:17:47 +04:00
|
|
|
@interface BlockBackground : UIWindow {
|
|
|
|
@private
|
|
|
|
UIWindow *_previousKeyWindow;
|
|
|
|
}
|
2013-04-08 15:25:00 +04:00
|
|
|
|
|
|
|
+ (BlockBackground *) sharedInstance;
|
|
|
|
|
|
|
|
- (void)addToMainWindow:(UIView *)view;
|
|
|
|
- (void)reduceAlphaIfEmpty;
|
|
|
|
- (void)removeView:(UIView *)view;
|
|
|
|
|
2013-04-08 16:17:47 +04:00
|
|
|
@property (nonatomic, retain) UIImage *backgroundImage;
|
|
|
|
@property (nonatomic, readwrite) BOOL vignetteBackground;
|
2013-04-08 15:25:00 +04:00
|
|
|
|
|
|
|
@end
|