//// CCUIScreen.h// CCFC//// Created by xichen on 11-12-16.// copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>// the wIDth and height of the screen#define MACRO_SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.wIDth)#define MACRO_SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height)#define MACRO_APP_FRAME [[UIScreen mainScreen] applicationFrame]#define MACRO_MAIN_SCREEN_RECT CGRectMake(0,MACRO_SCREEN_WIDTH,MACRO_SCREEN_HEIGHT)#ifndef MACRO_FulL_SCREEN#define MACRO_FulL_SCREEN [[UIScreen mainScreen] bounds]#endif#define MACRO_DEFAulT_STATUSbar_HEIGHT 20#define MACRO_DEFAulT_NAVIGATIONbar_HEIGHT 44#define MACRO_DEFAulT_SCREEN_WIDTH 320#define MACRO_DEFAulT_SCREEN_HEIGHT 480#define MACRO_DEFAulT_TAB_bar_HEIGHT 49#define MACRO_DEFAulT_TAB_bar_ICON_WIDTH 30#define MACRO_DEFAulT_TAB_bar_ICON_HEIGHT 30#define MACRO_PPI_ON_IPHONE4 326#define MACRO_PPI_UNDER_IPHONE4 163#define MACRO_DEFAulT_IPAD_SCR_WIDTH 768#define MACRO_DEFAulT_IPAD_SCR_HEIGHT 1024@interface UIScreen(cc) - (CGfloat)wIDth;- (CGfloat)height;- (CGfloat)appWIDth;- (CGfloat)appHeight;@end
可能有更新:
Googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUIScreen.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUIScreen.h
总结以上是内存溢出为你收集整理的iphone-common-codes-ccteam源代码 CCUIScreen.h全部内容,希望文章能够帮你解决iphone-common-codes-ccteam源代码 CCUIScreen.h所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)