![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_94.png)
18-8
Programmer’s Manual
Parameter
Return Value
18.12
CtrlIconEnable
Syntax
STATUS
CtrlIconEnable
(P_U32 iconId S16 xSrc, S16 ySrc, U16 iconType)
Description
Adds a predefined icon area to an application. The icon area can be placed
anywhere on the application’s display area. The argument (
xSrc
,
Return Value
)
specifies the position of the icon’s top left corner. An area identifier is returned
to the caller.
Parameter
Name
Description
iconId
The identifier of the predefined icon area
to be removed
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_AREA_ID
Invalid active area identifier
Name
Description
iconId
Returns an area identifier. This identifier is
used by the PPSM to refer to the
predefined icon area until it is removed
from the list.
xSrc
X coordinate for the predefined icon’s top
left corner
ySrc
Y coordinate for the predefined icon’s top
left corner
Personal Portable System Manager
Programmer’s Manual
Pen Input TPen Input Tools
18-9
void
IconScanOff
(void)
Description
Switches off system application icon scanning of all icon active areas of the
current task.
Parameter
iconType
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_ICON_TYPE
Invalid predefined icon type
PPSM_ERR_COORDINATE
Invalid coordinates
PPSM_ERR_AREA_ID
Invalid active area identifier pointer
Name
Description
None
Name
Description
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.