?? lcd.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 + -