setCursorState
Set a new position and visibility for the hardware cursor.
Declaration
virtual IOReturn setCursorState(
SInt32x,
SInt32y,
boolvisible );Parameters
- x:
Left coordinate of the cursor image. A signed value, will be negative if the cursor's hot spot and position place it partly offscreen.
- y:
Top coordinate of the cursor image. A signed value, will be negative if the cursor's hot spot and position place it partly offscreen.
- visible:
Visible state of the cursor.
Return Value
An IOReturn code.
Overview
IOFramebuffer subclasses may implement hardware cursor functionality, if so they should implement this method to change the position and visibility of the cursor.
See Also
Miscellaneous
connectFlagsconvertCursorImagedoI2CRequestenableControllerflushCursorgetApertureRangegetAppleSensegetAttributegetAttributeForConnectiongetConnectionCountgetCurrentDisplayMode(IODisplayModeID *, IOIndex *)getDDCBlockgetDisplayModeCountgetDisplayModesgetInformationForDisplayModegetPixelFormatsgetPixelFormatsForDisplayModegetPixelInformationgetStartupDisplayModegetTimingInfoForDisplayModegetVRAMRangehandleEventhasDDCConnectreadDDCClockreadDDCDataregisterForInterruptTypesetApertureEnablesetAttributesetAttributeForConnectionsetCLUTWithEntriessetCurrentDisplayModesetCursorImagesetDDCClocksetDDCDatasetDetailedTimingssetDisplayModesetGammaTablesetInterruptStatesetStartupDisplayModeunregisterInterrupt(void *)unregisterInterrupt(void *, UInt32)validateDetailedTiming