virt.h
来自「一个图形显示芯片s1d13505的应用程序」· C头文件 代码 · 共 49 行
H
49 行
/*
**===========================================================================
** VIRT.H - Declaration/protypes for 13505 VIRT - a program to test and
** demostrate the virtual display abilities of the 13505.
**--------------------------------------------------------------------------
** Copyright (c) 1997, 2001 Epson Research and Development, Inc.
** All Rights Reserved.
**==========================================================================
*/
#define PAT_WIDTH 16 /* in Pixels */
#define PAT_HEIGHT 16 /* in Pixels */
#define MANUAL 0
#define AUTO 1
#define ASCIIZ 0x00 /* ASCII zero */
#define BEL 0x07 /* Some printable characters. */
#define BS 0x08
#define LF 0x0A
#define CR 0x0D
#define ESC 0x1B /* Some keyboard characters. */
#define HOME 0x47
#define END 0x4F
#define UP 0x48
#define DOWN 0x50
#define LEFT 0x4B
#define RIGHT 0x4D
#define CTRL_UP 0x8D
#define CTRL_DOWN 0x91
#define CTRL_LEFT 0x73
#define CTRL_RIGHT 0x74
/*-- Prototypes ---------------------------------------------------------*/
void DisplayCopyright( void );
void DisplayUsage( void );
BOOL TestMode( int nBPP, long lVirtWidth );
void FillDisplayMem( int nBPP, long lVirtWidth, long lVirtHeight );
void FillPattern_A( int nBPP, long lVirtWidth, long lVirtHeight );
void FillPattern_B( int nBPP, long lVirtWidth, long lVirtHeight );
WORD GetNextColor( int nBpp, WORD wColor );
BOOL KbdHandler( int nBPP, long lVirtWidth, long lVirtHeight );
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?