constant.h

来自「用于分析各种点阵字库结构和程序」· C头文件 代码 · 共 55 行

H
55
字号
#ifndef __CONSTANTS_H
#define __CONSTANTS_H

#include <stdio.h>

#ifdef __HZKTST_C
	FILE *fnt16;
#else
	extern FILE *fnt16;
#endif

#define MaxX	640
#define MaxY	480
#define ERROR	0
#define OK	1
#define teBLACK	5

#define	BKSP	0x0e08 //byte
#define TAB     0x0f09 //byte
#define ENTER   0x1c0d//byte
#define CTRL_S	0x1f13//byte
#define CTRL_Y  0x1519//byte
#define ESC	0x011b//byte

//定义双字节健值符号常数
#define F1	0x3b00//word
#define F2	0x3C00//word
#define F3	0x3d00//word
#define F4	0x3e00//word
#define F5	0x3f00//word
#define LARROW	0x4b00//word
#define RARROW	0x4d00//word
#define UARROW	0x4800//word
#define DARROW	0x5000//word
#define	PGUP	0x4900//word
#define PGDN	0x5100//word
#define HOME	0x4700//word
#define END 	0x4f00//word
#define	DEL	0x5300//word
#define CTRL_LEFT	0x7300//word
#define CTRL_RIGHT	0x7400//word
#define CTRL_HOME	0x7700//word
#define CTRL_END	0x7500//word
#define CTRL_PGUP	0x8400//word
#define CTRL_PGDN	0x7600//word
#define ALT_F  	0x2100//word
#define ALT_S  	0x1f00//word
#define ALT_T  	0x1400//word
#define ALT_H  	0x2300//word
#define	K_PLUS	0xd2b
#define	K_EQUAL	0xd3d
#define	K_EXTR	0XC2D
#define	K_BAR	0XC5F

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?