📄 bmp.h
字号:
/*********************************************************************************************
* File: bmp.H
* Author: embest
* Desc: LCD bimap define file
* History:
*********************************************************************************************/
#ifndef __BMP_H_
#define __BMP_H_
#include "def.h"
/* bitmap struct */
typedef struct BITMAP
{
INT8U ucFlags; // combination of flags above
INT8U ucBitsPix; // 1, 2, 4, or 8
INT16U usWidth; // in pixels
INT16U usHeight; // in pixels
INT32U ulTransColor; // transparent color for > 8bpp bitmaps
INT8U *pucStart; // bitmap data pointer
}STRU_BITMAP, *pSTRU_BITMAP;
/*--- macro define ---*/
#define BLACK 0xf
#define WHITE 0x0
#define LIGHTGRAY 0x5
#define DARKGRAY 0xa
#define TRANSPARENCY 0xff
void CursorInit(void);
void CursorPush(INT16U x, INT16U y);
void CursorPop(void);
void BitmapPop(INT16U x, INT16U y, STRU_BITMAP Stru_Bitmap);
void BitmapView(INT16U x, INT16U y, STRU_BITMAP Stru_Bitmap);
void CursorView(INT16U x, INT16U y);
#endif /* __BMP_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -