Up

NSScreen

Authors

Scott Christley (scottc@net-community.com)
Gregory John Casamento (borgheron@yahoo.com)

Copyright: (C) 1996, 2000 Free Software Foundation, Inc.

Software documentation for the NSScreen class

NSScreen : NSObject

Declared in:
AppKit/NSScreen.h
Standards:

Description forthcoming.

Method summary

deepestScreen 

+ (NSScreen*) deepestScreen;

Gets information about the screen with the highest depth (i.e. bits per pixel).


mainScreen 

+ (NSScreen*) mainScreen;

Gets information about the main screen.


resetScreens 

+ (void) resetScreens;

Resets the cached list of screens.


screens 

+ (NSArray*) screens;

Returns an NSArray containing NSScreen instances representing all of the screen devices attached to the computer.


depth 

- (NSWindowDepth) depth;

Returns the depth of the screen in bits.


deviceDescription 

- (NSDictionary*) deviceDescription;

This method generates a dictionary containing information about the screen device. The resulting dictionary will have the following entires: NSScreenNumber, NSDeviceSize, NSDeviceResolution, NSDeviceBitsPerSample, NSDeviceColorSpaceName.


frame 

- (NSRect) frame;

The full frame of the screen.


screenNumber 

- (int) screenNumber;

Returns the screen number


supportedWindowDepths 

- (const NSWindowDepth*) supportedWindowDepths;

Returns the window depths this screen will support.


visibleFrame 

- (NSRect) visibleFrame;

Returns the NSRect representing the visible area of the screen.



Up