?? lcdsim.h
字號:
/*************************************************************************************************************
uC/GUI
嵌入式通用圖形軟件
文 件: LCDSIM.H
描 述: Declares LCD interface functions
************************************************************************************************************/
#ifndef LCDSIM_H
#define LCDSIM_H
/*************************************************************************************************************
LCDSIM_ General declarations
*************************************************************************************************************/
int LCDSIM_GetPixelIndex(int x, int y);
int LCDSIM_GetMouseState(LCD_tMouseState *pState);
void LCDSIM_SetMouseState(int x, int y, int KeyStat);
void LCDSIM_RLUT_SetPixelIndex(int x, int y, int Index);
int LCDSIM_RLUT_GetPixelIndex(int x, int y);
/*************************************************************************************************************
LCDSIM_ Declarations for display 0
*************************************************************************************************************/
void LCDSIM_FillRect(int x0, int y0, int x1, int y1, int Index);
int LCDSIM_GetPixelColor(int x, int y);
int LCDSIM_Index2Color(int Index);
int LCDSIM_GetModifyCnt(void);
int LCDSIM_GetModifyCntInfo(void);
char* LCDSIM_Init(void);
void LCDSIM_SetLUTEntry(U8 Pos, LCD_COLOR color);
void LCDSIM_SetPixelIndex(int x, int y, int Index);
void LCDSIM_SetSubPixel(int x, int y, U8 Value);
/*************************************************************************************************************
LCDSIM_ Declarations for display 1
*************************************************************************************************************/
void LCDSIM_1_FillRect(int x0, int y0, int x1, int y1, int Index);
int LCDSIM_1_GetModifyCnt(void);
int LCDSIM_1_GetModifyCntInfo(void);
int LCDSIM_1_GetColor(int Index);
char* LCDSIM_1_Init(void);
void LCDSIM_1_SetPixelIndex(int x, int y, int Index);
void LCDSIM_1_SetLUTEntry(U8 Pos, LCD_COLOR color);
/*************************************************************************************************************
LCDSIM_ Declarations for painting in windows program
*************************************************************************************************************/
#ifdef _WINDOWS_ /* if windows.h has already been included */
void LCDSIM_Paint(HDC hDC);
void LCDSIM_PaintEx(HDC hDC, LPRECT pRectDest, LPRECT pRectSrc);
void LCDSIM_PaintAt(HDC hDC, int x, int y);
void LCDSIM_1_Paint(HDC hDC);
void LCDSIM_1_PaintEx(HDC hDC, LPRECT pRectDest, LPRECT pRectSrc);
void LCDSIM_1_PaintAt(HDC hDC, int x, int y);
#endif
#endif /* LCD_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -