// // 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