lcd.h

来自「C++BUILDER 下的串口驱动模块源码」· C头文件 代码 · 共 25 行

H
25
字号
#ifndef __LCD_H__
#define __LCD_H__


typedef unsigned char  uint8;                   /* 无符号8位整型变量                        */
typedef signed   char  int8;                    /* 有符号8位整型变量                        */
typedef unsigned short uint16;                  /* 无符号16位整型变量                       */
typedef signed   short int16;                   /* 有符号16位整型变量                       */
typedef unsigned long   uint32;                  /* 无符号32位整型变量                       */
typedef signed  long  int32;                   /* 有符号32位整型变量                       */
typedef float          fp32;                    /* 单精度浮点数(32位长度)                 */
typedef double         fp64;                    /* 双精度浮点数(64位长度)                 */


extern void line_hang(uint32 x1,uint32 y1,uint32 x2,uint32 color);
extern void line_lie(uint32 x1,uint32 y1,uint32 y2,uint32 color);
extern void busybox_all(uint32 x1,uint32 y1, uint32 w,uint32 h,uint32 color);
extern void busybox_allxy(uint32 x1,uint32 y1, uint32 x2,uint32 y2,uint32 color);
extern void busybox(uint32 x1,uint32 y1,uint32 x2,uint32 y2,uint32 color);
extern void Lcd_DspHz(uint32 x0, uint32 y0, uint8 *s, uint8 type,uint32 color);
extern void paint_bmp_bg(uint16 x,uint16 y,uint16 w,uint16 h,const uint8 *bgp);
extern void LCD_DrawBrushLine(uint32 x1, uint32 y1, uint32 x2, uint32 y2,uint32 color,int8 type);
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?