![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_125.png)
22-2
Text Tools
Programmer’s Manual
Return Value
22.3
TextMap
Syntax
STATUS
TextMap
(U32 templateId, P_TEXT buffer U16 numChar)
Description
Displays the given text onto the panning screen with properties specified in the
text template identified by templateId
The text will be displayed starting at the current character cursor position. The
font type, output style and grey level of the text are specified by the text
template. Text that extends beyond the size of the text display area specified
by the text template will be truncated. The current character cursor positiReturn Value
automatically updated by the system.
Parameter
Return Value
22.4
TextReadCursor
Syntax
STATUS
TextReadCursor
(U32 templateId, P_U16 cursor)
Description
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_TEXT_ID
Invalid text template identifier
Name
Description
templateId
Identifier of the text template with current
text properties
buffer
Pointer to text string to be displayed
numChar
Number of characters to be displayed
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_TEXT_ID
Invalid text template identifier
PPSM_ERR_TEXT_CUR
Invalid character cursor position
Personal Portable System Manager
Programmer’s Manual
Database Management Tools
21-15
21.19
DBSetRecordSecretFlag
Syntax
STATUS
DBSetRecordSecretFlag
Description
Sets the secret flag of a particular record.
Parameter
Hint
The database and record referred to must be a valid object in the PPSM
environment.
Note that when a new record is created, its secret flag will be set according to
the secret flag of the database which it belongs to. If a user wants all records
in the database to be set secret, it should call DBSetSecretFlag() immediately
after DBAdd() is called.
21.20
DBSetSecretFlag
Syntax
STATUS
DBSetSecretFlag
Description
Name
Description
dbId
recId
sFlag
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_RECID
Invalid record identifier
PPSM_ERR_DB_SFLAG
Invalid secret flag value
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.