lcd.h
来自「microwindows上的修改的GUI」· C头文件 代码 · 共 147 行
H
147 行
/*
* LCD Device Driver
*
*
* COPYRIGHT (c) 2001 - 2010.
* emTech System Corporation.
*
* The license and distribution terms for this file may be
* found in found in the file LICENSE.
*/
/* Huangf emcore@263.net
*/
#ifndef __LCD_h
#define __LCD_h
void _lcd_restorescreen(
unsigned char *base,
unsigned char *dst,
int l,
int t,
int r,
int b
);
void _lcd_savescreen(
unsigned char *base,
unsigned char *dst,
int l,
int t,
int r,
int b
);
int _lcd_calcmemgcsize(
int l,
int t,
int r,
int b
);
void _lcd_switchbase(
void *base
);
int lcd_fillrect(
short x1,
short y1,
short x2,
short y2,
int c
);
int _lcd_fillrect(
unsigned short *_base,
short x1,
short y1,
short x2,
short y2,
int c
);
int lcd_vline(
short x,
short y1,
short y2,
unsigned char c,
int xorm
);
int _lcd_vline(
unsigned short *_base,
short x,
short y1,
short y2,
unsigned char c,
int xorm
);
int lcd_hline(
short x1,
short y,
short x2,
unsigned char c,
int xorm
);
int _lcd_hline(
unsigned short *_base,
short x1,
short y,
short x2,
unsigned char c,
int xorm
);
int lcd_bitmap(
short x0,
short y0,
short width,
short height,
unsigned char *pcc,
int xorm
);
int _lcd_bitmap(
unsigned short *_base,
short x0,
short y0,
short width,
short height,
unsigned char *pcc,
int xorm
);
int lcd_getpixel(
short x,
short y
);
int _lcd_getpixel(
unsigned short *_base,
short x,
short y
);
int lcd_putpixel(
short x,
short y,
unsigned char c,
int xorm
);
int _lcd_putpixel(
unsigned short *_base,
short x,
short y,
unsigned char c,
int xorm
);
int lcd_getvx();
int lcd_getx();
int lcd_gety();
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?