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
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

Method summary

deepestScreen 

+ (NSScreen*) deepestScreen;
Availability: Not in OpenStep/MacOS-X

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


mainScreen 

+ (NSScreen*) mainScreen;
Availability: Not in OpenStep/MacOS-X

Gets information about the main screen.


resetScreens 

+ (void) resetScreens;
Availability: Not in OpenStep/MacOS-X

Resets the cached list of screens.


screens 

+ (NSArray*) screens;
Availability: Not in OpenStep/MacOS-X

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


depth 

- (NSWindowDepth) depth;
Availability: Not in OpenStep/MacOS-X

Returns the depth of the screen in bits.


deviceDescription 

- (NSDictionary*) deviceDescription;
Availability: Not in OpenStep/MacOS-X

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;
Availability: Not in OpenStep/MacOS-X

The full frame of the screen.


screenNumber 

- (int) screenNumber;
Availability: Gui 0.0

Returns the screen number


supportedWindowDepths 

- (const NSWindowDepth*) supportedWindowDepths;
Availability: Not in OpenStep/MacOS-X

Returns the window depths this screen will support.


visibleFrame 

- (NSRect) visibleFrame;
Availability: Not in OpenStep/MacOS-X

Returns the NSRect representing the visible area of the screen.



Up