⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd.h

📁 microwindows上的修改的GUI
💻 H
字号:
/*
 *  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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -