20-8
Programmer’s Manual
Return Value
Hint
If the cursor is large, programmer may use InvRec() to implement a soft cursor.
20.9
CursorOff
Syntax
STATUS
CursorOff
(void)
Description
Turns off the hardware cursor permanently.
Parameter
Return Value
20.10
CursorSet
Syntax
STATUS
CursorSet
(U16 xPos U16 yPos)
Description
Name
Description
PPSM_ERR_PAN_INIT
Error when the current task has no
panning screen
PPSM_ERR_CURSOR_INIT
No more memory to create the hardware
cursor information record
PPSM_ERR_WIDTH
If cursorWidthis larger than 31
PPSM_ERR_HEIGHT
If cursorHeightis larger than 31
PPSM_OK
Successful operation
Name
Description
None
Name
Description
PPSM_ERR_CURSOR_INIT
Error if cursor is never set or CursorOff() is
just called.
PPSM_OK
Successful operation
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-9
Sets the top left corner of the hardware cursor to be at (
current task must have panning screen. The (
panning screen. However, it doesn’t check whether the right boundary
exceeds the panning screen coordinate.
). The
Parameter
Return Value
20.11
CursorSetBlink
Syntax
STATUS
CursorSetBlink
Description
This will set the hardware cursor in blinking mode with
number of blinks per 10 seconds. However, the cursor will be seen only if the
cursor is set on by calling CursorSetStatus().
indicating the
Parameter
Return Value
Name
Description
xPos
yPos
Name
Description
PPSM_ERR_PAN_INIT
Current task has no panning screen
PPSM_ERR_CURSOR_INIT
No more memory to create the hardware
cursor information record
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
PPSM_OK
Successful operation
Name
Description
frequency
Name
Description
PPSM_ERR_PAN_INIT
Current task has no panning screen
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.