Z-World RabbitCore RCM3200 User Manual - page 65
User’s Manual
61
Prints a formatted string (much like
printf
) on the LCD screen. Only printable characters in the font
set are printed, also escape sequences, ’\r’ and ’\n’ are recognized. All other escape sequences will be
skipped over; for example, ’\b’ and ’t’ will print if they exist in the font set, but will not have any effect as
control characters.
The text window feature provides end-of-line wrapping and clipping after the character in the last col-
umn and row is displayed.
NOTE: Execute the
TextWindowFrame
function before using this function.
PARAMETERS
*window
is a pointer to a font descriptor.
*fmt
is a formatted string.
...
are formatted string conversion parameter(s).
EXAMPLE
TextPrintf(&TextWindow, "Test %d\n", count);
RETURN VALUE
None.
SEE ALSO
TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation
void TextPrintf(struct windowFrame *window,
char *fmt, ...);