A SERVICE OF

logo

iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 182
/*typedef unsigned int uint;*/
/*typedef unsigned char uchar;*/
typedef unsigned long ulong;
typedef unsigned long DWORD;
typedef short int16;
typedef unsigned short uint16;
typedef long int32;
typedef unsigned long uint32;
#define lcd_bright LCDBright
#define show_lcd_page LCDSetToPage
/*Functions Return: If success -> return 0, else if fail -->return nonzero.
*/
#ifdef __cplusplus
extern "C" {
#endif
/* ********************* */
/* * * * Initial.C * * * */
/* ********************* */
int InitLCD(void);
int ClrScrn(void); /*Clear GraphicSW_Page and TextSW_Page.*/
void CloseLCD(void);
/*********************** Functions ********************************/
int Pixel(int X,int Y, int Color);
int VLine(int X, int Y1, int Y2, int Color);
int HLine(int X1, int X2, int Y, int Color);
int Line(int X1,int Y1,int X2,int Y2,int Color);
int DrawText(int X, int Y, unsigned char *Text);
int Box(int X1, int Y1, int X2, int Y2, int Color);
int SetCursorLine(int Line);
int SetCursorAt(int X, int Y);