Rabbit OP7100 User Manual Page 94

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 93
88 eDisplay (OP7200)
This function prints a formatted string (much like printf) on the LCD screen. Only printable charac-
ters in the font set are printed; escape sequences
'\r' and '\n' are also recognized. All other escape
sequences will be skipped over. For example, nothing will be displayed for
'\b' and 't'.
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
fmt is a formatted string
... formatted-string conversion parameter(s)
EXAMPLE
TextPrintf(&TextWindow, "Test %d\n", count);
SEE ALSO
TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation
Scrolls byte-aligned window left one pixel, right column filled by current pixel type (color).
PARAMETERS
left is the upper left corner of bitmap, must be evenly divisible by 8
top is the left top corner of the bitmap
cols is the number of columns in the window, must be evenly divisible by 8
rows is the number of rows in the window
SEE ALSO
glHScroll, glRight1
Scrolls byte-aligned window right one pixel, left column filled by current pixel type (color).
PARAMETERS
left is the upper left corner of bitmap, must be evenly divisible by 8
top is the left top corner of the bitmap
cols is the number of columns in the window, must be evenly divisible by 8
rows is the number of rows in the window
SEE ALSO
glHScroll, glLeft1
void TextPrintf(struct windowFrame *window,
char *fmt, ...);
void glLeft1(int left, int top, int cols, int rows);
void glRight1(int left, int top, int cols,
int rows);
Page view 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 171 172

Comments to this Manuals

No comments