datatype.h
来自「英创386的LCD控制协议和函数,还有例程」· C头文件 代码 · 共 72 行
H
72 行
#if !defined( _DATATYPE_H )
#define _DATATYPE_H
int _RShift( int &x, int &x1 );
#define DIRECT
#define KEYPRESS
#define LCD
#define DOWN 0
#define UP 1
#define LcdTxtColor YELLOW
#define LcdBkColor BLUE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mem.h>
#include <dos.h>
#include <bios.h>
#include <process.h>
#include <conio.h>
#ifndef LCD
#include <graphics.h>
#else
#define COPY_PUT 0
#define XOR_PUT 1
#define OR_PUT 2
#define AND_PUT 3
#define NOT_PUT 4
#define BLACK 14
#define BLUE 1
#define GREEN 2
#define CYAN 3
#define RED 4
#define MAGENTA 5
#define BROWN 6
#define LIGHTGRAY 7
#define DARKGRAY 8
#define LIGHTBLUE 9
#define LIGHTGREEN 10
#define LIGHTCYAN 11
#define LIGHTRED 12
#define LIGHTMAGENTA 13
#define YELLOW 14
#define WHITE BLUE
#define DETECT 0
#define grOk 0
#define EMPTY_FILL 0
#define SOLID_FILL 1
#define LINE_FILL 2
#define LTSLASH_FILL 3
#define SLASH_FILL 4
#define BKSLASH_FILL 5
#define LTBKSLASH_FILL 6
#define HATCH_FILL 7
#define XHATCH_FILL 8
#define INTERLEAVE_FILL 9
#define WIDE_DOT_FILL 10
#define CLOSE_DOT_FILL 11
#define USER_FILL 12
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?