00001 00002 @import <Foundation/CPObject.j> 00003 00004 00005 #import "CoreGraphics/CGGeometry.h" 00006 00007 @implementation CPScreen : CPObject 00008 { 00009 } 00010 00011 - (CGRect)visibleFrame 00012 { 00013 return _CGRectMake(window.screen.availLeft, window.screen.availTop, window.screen.availWidth, window.screen.availHeight); 00014 } 00015 00016 @end