User’s Manual 103
Displays text on the LCD. The text will be centered automatically both horizontally and vertically. '\n'
within the text will give you the capability for multiline text. For example,
"Hello\nfrom\nZ-World" will produce
PARAMETERS
xStart is the coordinate of the starting horizontal pixel
yStart is the coordinate of the starting vertical pixel
xSize is the width of the display area in pixels
ySize is the height of the display area in pixels
pInfo is a pointer to the font descriptor
Text is a pointer to the text to be displayed
RETURN VALUE
1 when completed
SEE ALSO
btnMsgBox, btnDisplay
Blanks a region of the LCD. Do not use this function call to remove buttons—if you use this function to
remove a button from the LCD, the button will still be enabled. Instead, use
btnClear or
btnClearLevel to remove buttons from the LCD.
PARAMETERS
xStart is the pixel coordinate of the starting horizontal pixel
yStart is the pixel coordinate of the starting vertical pixel
xSize is the width of the display area in pixels
ySize is the height of the display area in pixels
RETURN VALUE
1 when completed
SEE ALSO
btnClear, btnClearLevel
int btnDisplayText(int xStart, int yStart,
int xSize, int ySize, fontInfo *pInfo,
char *Text);
Hello
from
Z-World
int btnClearRegion(int xStart, int yStart,
int xSize, int ySize);
Comments to this Manuals