Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.

IOScreenEvents



Adopted By: IODisplay
Declared In: driverkit/eventProtocols.h



Protocol Description

The methods in this protocol are invoked by the event system, at the request of the Window Server or of pointer management software.



Method Types

Manipulating the cursor hideCursor:
moveCursor:frame:token:
showCursor:frame:token:
Get the device port devicePort
Set screen brightness setBrightness:token:



Instance Methods

devicePort
(port_t)devicePort

Returns the device port, which should be obtained from this instance's IODeviceDescription.



hideCursor:
hideCursor:(int)token

Removes the cursor from the screen.



moveCursor:frame:token:
moveCursor:(Point *)cursorLoc
frame:(int)frame
token:(int)token

Removes the cursor from the screen, moves it, and displays the cursor in its new position.



setBrightness:token:
setBrightness:(int)level token:(int)token

Sets the brightness of the screen. Many devices (and thus many drivers) don't permit this operation.

See also:  setBrightness:token: (IOFrameBufferDisplay class)



showCursor:frame:token:
showCursor:(Point *)cursorLocation
frame:(int)frame
token:(int)token

Displays the cursor at cursorLocation.