LCDMem.h
上传用户:zbk8730
上传日期:2017-08-10
资源大小:12168k
文件大小:1k
- #define LCD_TYPE_N35 1 //NEC3.5寸LCD
- #define LCD_TYPE_A70 2 //7寸真彩
- #define LCD_TYPE_VGA1024x768 3
- #define LCD_TYPE LCD_TYPE_N35
- void Lcd_ClearScr( U16 c);
- void PutPixel(U32 x,U32 y, U16 c );
- void GUI_Point(U32 x,U32 y, U16 c );
- //void PutPixel(unsigned int x , unsigned int y , unsigned int c);
- void Glib_Rectangle(int x1,int y1,int x2,int y2,int color);
- //void Glib_Rectangle(unsigned int x1,unsigned int y1,unsigned int x2,unsigned int y2,unsigned int color);
- void Glib_FilledRectangle(int x1,int y1,int x2,int y2,int color);
- //void Glib_FilledRectangle(unsigned int x1,unsigned int y1,unsigned int x2,unsigned int y2,unsigned int color);
- void Glib_Line(int x1,int y1,int x2,int y2,int color);
- //void Glib_Line(unsigned int x1,unsigned int y1,unsigned int x2,unsigned int y2,unsigned int color);
- void Paint_Bmp(int x0,int y0,int h,int l,unsigned char bmp[]);
- //================================
- // 字体输出
- //================================
- void Lcd_PutASCII(unsigned int x,unsigned int y,unsigned char ch,unsigned int c,unsigned int bk_c,unsigned int st);
- void Lcd_PutHZ(unsigned int x,unsigned int y,unsigned short int QW,unsigned int c,unsigned int bk_c,unsigned int st);
- void Lcd_printf(unsigned int x,unsigned int y,unsigned int c,unsigned int bk_c,unsigned int st,char *fmt,...);