mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Also changed a bunch of <AppKit/*> imports to "*" imports. Reviewed by me.
18 lines
295 B
Plaintext
18 lines
295 B
Plaintext
|
|
@import <Foundation/CPObject.j>
|
|
|
|
|
|
@implementation CPScreen : CPObject
|
|
{
|
|
}
|
|
|
|
- (CGRect)visibleFrame
|
|
{
|
|
#if PLATFORM(DOM)
|
|
return _CGRectMake(window.screen.availLeft, window.screen.availTop, window.screen.availWidth, window.screen.availHeight);
|
|
#else
|
|
return _CGRectMakeZero();
|
|
#endif
|
|
}
|
|
|
|
@end |