iphone-common-codes-ccteam源代码 CCUIWindow.h

//  
// CCUIWindow.h
// CCFC
//
// Created by xichen on 11-12-17.
// Copyright 2011年 ccteam. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CCConfig.h"

@interface UIWindow(cc)

//
+ (UIWindow *)addImgToStatusBar:(UIImage *)img withRect:(CGRect)imgRect;
+ (void)addImgToWindow:(UIImage *)img withRect:(CGRect)imgRect;// not ok

+ (NSArray *)logAllWindows;

- (void)getSubViewIsMemberOf:(NSString *)viewStr
array:(NSMutableArray *)outArray
maxSize:(int)maxSize;

// alloc a window that is mainscreen bounds
+ (UIWindow *)allocMainScreenWindow;;


#if CC_ENABLE_PRIVATE_API && CC_COMPILE_PRIVATE_CLASS

// uses private api
// 获取UITextEffectsWindow的指针
+ (UIWindow *)getTextEffectsWindow;

#endif

@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUIWindow.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUIWindow.h

posted @ 2012-01-15 14:20  cc_team  阅读(226)  评论(0编辑  收藏  举报