Lcd - Argox PA-20 Programming Manual

Portable data terminal
Hide thumbs Also See for PA-20:
Table of Contents

Advertisement

The following functions clr_eol, clr_rect, clr_scr, fill_rect, fill_rect_color, GetCursor,
SetCursor, gotoxy, wherex, wherexy, wherey, _printf_color, _putchar, _puts, _puts_color and
show_image_bmp only effect the current TextBlock. The parameters of those function will
base on TextBlock‟s size and position.
clr_eol
Purpose:
Clear from where the cursor is to the end of the line. The cursor position is
not affected after the operation.
Syntax:
void clr_eol(void);
Example call:
clr_eol( );
#include "SDK.h "
Includes:
Description:
The clr_eol function clears from where the cursor is to the end of the line,
and then moves the cursor to the original place.
Returns:
None
clr_rect
Purpose:
Clear a rectangular area on the LCD display. The cursor position is not
affected after the operation.
Syntax:
void clr_rect(int left, int top, int width, int height);
Example call:
clr_rect(10,5,30,10 );
#include "SDK.h "
Includes:
Description:
The clr_rect function clears an rectangular area on the LCD display whose
top left position and size are specified by left, top, width, and height. The
cursor position is not affected after the operation. Several introduces the
argument as follows:
Returns:
None
clr_scr
Purpose:
Clear LCD display.
Syntax:
void clr_scr(void);
Example call:
clr_scr( );
#include "SDK.h "
Includes:
Description:
The clr_scr function clears the LCD display and places the cursor at the
first column of the first line, that is (0,0) as expressed with the coordinate
PT-20 Programming Guide

LCD

left
Clear form the start point of X-axis.
top
Clear form the start point of Y-axis.
width
Clear the width form the start point.
height
Clear the high form the start point.
76

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pa-21Pa-2110Pa-2010

Table of Contents