Rabbit OP7100 User Manual Page 92

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 91
86 eDisplay (OP7200)
Defines a text-only display window. This function provides a way to display characters within the text
window only using character row and column coordinates.
The text window feature provides end-of-line wrapping and clipping after the character in the last col-
umn and row is displayed.
NOTE: Be sure to execute the TextWindowFrame function before using any of the
text-only functions (TextGotoXY, TextPutChar, TextPrintf,
TextCursorLocation).
PARAMETERS
window is a pointer to the window frame
pFont is a pointer to the window frame descriptor
x is the x coordinate of where the text window frame is to start
y is the y coordinate where the text window frame is to start
winWidth is the width of the text window frame
winHeight is the height of the text window frame
RETURN VALUE
0 = window frame was successfully created
-1 = x coordinate + width has exceeded the display boundary
-2 = y coordinate + height has exceeded the display boundary
SEE ALSO
TextPutChar, TextPrintf, TextCursorLocation, TextGotoXY
Sets the cursor location on the display of where to display the next character. The display location is
based on the height and width of the character to be displayed.
NOTE: Be sure to execute the TextWindowFrame function before using any of the
text-only functions (TextGotoXY, TextPutChar, TextPrintf,
TextCursorLocation).
PARAMETERS
window is a pointer to the window frame
col is the character column location
row is the character row location
SEE ALSO
TextPutChar, TextPrintf, TextWindowFrame, TextCursorLocation
int TextWindowFrame(windowFrame *window,
fontInfo *pFont, int x, int y, int winWidth,
int winHeight)
void TextGotoXY(windowFrame *window, int col,
int row);
Page view 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 171 172

Comments to this Manuals

No comments