?? lcd_gui.h
字號:
#ifndef __LCD_GUI_H__
#define __LCD_GUI_H__
/*
* while write datas to LCD frame buffer, LCD will display them.
* a pixel of the LCD is mapped to a bits block in the frame buffer
* a pixel holds 12 bits in the frame buffer ( color LCD ):
* R - 5 bits ( 16-12 )
* G - 6 bits ( 11-6 )
* B - 6 bits ( 5-0 )
*/
void Lcd_Port_Init(void);
void Lcd_Init(void);
void PutPixel(U32 x,U32 y,U16 c);
void Lcd_ClearScr( U16 c);
void draw_vline(int x, int y1, int y2, U16 color);
void draw_hline(int x1, int x2, int y, U16 color);
void draw_rectangle(int start_x,int start_y,int end_x,int end_y,U16 color);
void draw_full_rectangle(int start_x, int start_y, int end_x, int end_y, U16 color);
void display_string(unsigned int x, unsigned int y, char* str,int count,U16 color);
void draw_circle(int x, int y, int r, U16 color);
void Paint_Bmp(int x0, int y0, int h, int l, unsigned char bmp[]);
void display_cn(signed int x, unsigned int y, char* str,U16 color);
void display_char(signed int x, unsigned int y, char str,U16 color);
void Lcd_GetXY_Color(U32 x,U32 y,unsigned short * c);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -