Philips S1D13505 Computer Monitor User Manual


 
Page 72
Epson Research and Development
Vancouver Design Center
S1D13505 Programming Notes and Examples
X23A-G-003-07 Issue Date: 01/02/05
When this call returns the cursor is enabled, the cursor image is transparent and
ready to be drawn.
Parameters: DevID - a registered device ID
Return Value: ERR_OK - operation completed with no problems
int seCursorOn(int DevID)
Description: This function enables the cursor after it has been disabled through a call to seCur-
sorOff(). After enabling the cursor will have the same shape and position as it did
prior to being disabled. The exception to the size and position occurs if the ink layer
was used while the cursor was disabled.
Parameters: DevID - a registered device ID
Return Value: ERR_OK - operation completed with no problems
int seCursorOff(int DevID)
Description: This routine disables the cursor. While disabled the cursor is invisible.
Parameters: DevID - a registered device ID
Return Value: ERR_OK - operation completed with no problems
int seGetCursorStartAddr(int DevID, DWORD * Offset)
Description: This function retrieves the offset to the first byte of hardware cursor memory.
Parameters: DevID - a registered device ID
Offset - a DWORD to hold the return value.
Return Value: ERR_OK - the operation completed with no problems.
int seMoveCursor(int DevID, long x, long y)
Description: Moves the upper left corner of the hardware cursor to the pixel position (x,y).
Parameters: DevID - a registered device ID
(x, y) - the (x,y) position (in pixels) to move the cursor to
Return Value: ERR_OK - operation completed with no problems
int seSetCursorColor(int DevID, int Index, DWORD Color)
Description: Sets the color of the specified ink/cursor index to 'Color'. The user definable
hardware cursor colors are 16-bit 5-6-5 RGB colors.
The hardware cursor image is always 2 bpp or four colors. Two of the colors are
defined to be transparent and inverse. This leaves two colors which are user
definable.