Document CPScreen.

This commit is contained in:
Alexander Ljungberg committed 2011-04-03 16:12:27 -04:00
1 parent 370960418f
commit f29dcc9c6b
1 file changed
+13 -1
+13 -1
View File
@@ -21,11 +21,23 @@
*/
@import <Foundation/CPObject.j>
/*!
@ingroup appkit
@class CPScreen
A CPScreen object describes the attributes of a display device available
to Cappuccino.
*/
@implementation CPScreen : CPObject
{
}
/*!
Returns the position and size of the visible area of the receiving screen.
This will normally be smaller than the full size of the screen to account
for system UI elements. For example, on a Mac the top of the visible frame
is placed below the bottom of the menu bar.
*/
- (CGRect)visibleFrame
{
#if PLATFORM(DOM)
@@ -35,4 +47,4 @@
#endif
}
@end
@end