?? tft_disp.h
字號:
#ifndef _TFT_DISP_H
#define _TFT_DISP_H
void Init_TFT(void);
void Lcd_Screen_Clr(byte color);
void Lcd_Draw_Btn_Edge(int x0, int y0, int x1, int y1,byte active);
void Lcd_Draw_Button(BUTTON_DEF Btn);
void TFT_Clear(char color); //color: 背景色
byte Chk_Line(char *src, byte src_len, byte max_len);
void TFT_Lcd_Disp_Text(char *text, byte len, byte font, byte size, byte effect, byte c, int x0, int y0);
void Lcd_Draw_Circle(int xc, int yc, int radius, unsigned char c);
void Lcd_Draw_Circle_Fill(int x0, int y0, int r, unsigned char c);
void Lcd_Draw_Rect_Fill(int x1, int y1, int x2, int y2, unsigned char c);
void Lcd_Draw_Rect_EMP(int x1, int y1, int x2, int y2, unsigned char c);
void TFT_LCD_Disp_LOGO(const char *Logo, byte color, int hor, int vrt, int x0, int y0);
void Lcd_Draw_Line(int x1,int y1,int x2,int y2, unsigned char c);
void Lcd_Draw_HLine(int x0, int y, int x1, byte c);
#define Lcd_Draw_VLine(x, y0, y1, c) Lcd_Draw_Line(x, y0, x, y1, c)
void Lcd_Clr_Text_Btn(byte Btn_ID, byte Rev);
void Lcd_Disp_Text_btn(byte Btn_ID, char *str, byte len, byte Line_len, byte font, byte Align);
void Lcd_Draw_Button_Ex(BUTTON_DEF Btn, char *str, byte lenth, byte align);
void Lcd_Cvt_Btn_Text(char *text, byte Max_Len,byte BOLD, byte color, int x0, int y0, int x1, int y1);
#define textmem(text, len, font, size, effect, c, x0, y0) \
TFT_Lcd_Disp_Text(text, len, font, size, effect, c, x0, y0)
#define text(text, font, size, effect, c, x0, y0) \
textmem(text, strlen(text), font, size, effect, c, x0, y0)
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -