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);
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 060831 J...
Страница 6: ...eDisplay OP7200...
Страница 14: ...8 eDisplay OP7200...
Страница 22: ...16 eDisplay OP7200...
Страница 52: ...46 eDisplay OP7200...
Страница 126: ...120 eDisplay OP7200...
Страница 132: ...126 eDisplay OP7200...
Страница 133: ...User s Manual 127 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200...
Страница 152: ...146 eDisplay OP7200...
Страница 168: ...162 eDisplay OP7200...
Страница 172: ...166 eDisplay OP7200...
Страница 174: ......