37 lines
1.5 KiB
C
Raw Normal View History

2021-09-28 14:26:12 +08:00
//fxlib <20><><EFBFBD>ݲ㣬<DDB2><E3A3AC><EFBFBD>ڴ<EFBFBD> fx-9860 ƽ̨<C6BD><CCA8> STM32-Player <20><>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD>
#ifndef __FXLIB_H
#define __FXLIB_H
#define ML_SCREEN_WIDTH 128
#define ML_SCREEN_HEIGHT 64
void Sleep(int millisecond);
void ML_clear_vram();
void ML_clear_screen();
void ML_display_vram();
void ML_bmp_or(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_and(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_xor(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_or_cl(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_and_cl(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_xor_cl(const unsigned char *bmp, int x, int y, int width, int height);
void ML_bmp_8_or(const unsigned char *bmp, int x, int y);
void ML_bmp_8_and(const unsigned char *bmp, int x, int y);
void ML_bmp_8_xor(const unsigned char *bmp, int x, int y);
void ML_bmp_8_or_cl(const unsigned char *bmp, int x, int y);
void ML_bmp_8_and_cl(const unsigned char *bmp, int x, int y);
void ML_bmp_8_xor_cl(const unsigned char *bmp, int x, int y);
void ML_bmp_16_or(const unsigned short *bmp, int x, int y);
void ML_bmp_16_and(const unsigned short *bmp, int x, int y);
void ML_bmp_16_xor(const unsigned short *bmp, int x, int y);
void ML_bmp_16_or_cl(const unsigned short *bmp, int x, int y);
void ML_bmp_16_and_cl(const unsigned short *bmp, int x, int y);
void ML_bmp_16_xor_cl(const unsigned short *bmp, int x, int y);
#endif