![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427151.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
144
RabbitCore RCM3309/RCM3319
TextWindowFrame
int TextWindowFrame(windowFrame *window, fontInfo *pFont, int x,
int y, int winWidth, int winHeight);
DESCRIPTION
Defines a text-only display window. This function provides a way to display characters
within the text window using only character row and column coordinates. The text win-
dow feature provides end-of-line wrapping and clipping after the character in the last
column and row is displayed.
NOTE:
Execute the
TextWindowFrame()
function before other
Text...
functions.
PARAMETERS
window
a pointer to the window frame descriptor.
pFont
a pointer to the font descriptor.
x
the
x
coordinate of the top left corner of the text window frame.
y
the
y
coordinate of the top left corner of the text window frame.
winWidth
the width of the text window frame.
winHeight
the height of the text window frame.
RETURN VALUE
0—window frame was successfully created.
-1—
x
coor width has exceeded the display boundary.
-2—
y
coor height has exceeded the display boundary.
-3—Invalid
winHeight
and/or
winWidth
parameter value.
151 / 191
151 / 191