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