Parsec

ParsecCursor

Cursor properties.

Member of ParsecClientCursorEvent, which is itself a member of ParsecClientEvent, returned by ParsecClientPollEvents. Also passed to ParsecHostSubmitCursor to update the cursor while in HOST_GAME. When polled from ParsecClientPollEvents, positionX and positionY are affected by the values set via ParsecClientSetDimensions.

Fields

TypeNameDescription
uint32_tsizeSize in bytes of the cursor image buffer.
uint32_tpositionXWhen leaving relative mode, the horizontal position in screen coordinates where the cursor reappears.
uint32_tpositionYWhen leaving relative mode, the vertical position in screen coordinates where the cursor reappears.
uint16_twidthWidth of the cursor image in pixels.
uint16_theightHeight of the cursor position in pixels.
uint16_thotXHorizontal pixel position of the cursor hotspot within the image.
uint16_thotYVertical pixel position of the cursor hotspot within the image.
uint8_tstreamVideo stream index. Must be less than NUM_VSTREAMS.
boolhiddentrue if the mouse cursor is hidden on the host.
boolimageUpdatetrue if the cursor image should be updated. The width, height, hotX, hotY, and size members are valid.
boolrelativetrue if in relative mode, meaning the client should submit mouse motion in relative distances rather than absolute screen coordinates.