📄 guighldrv.h
字号:
/* $Id: guiGhldrv.h V1.0 2001/10/20 */
/*************************************************************************
* This source code has been made available to you by EPSON on an AS-IS
* basis. Anyone receiving this source is licensed under EPSON
* copyrights to use it in any way he or she deems fit, including
* copying it, modifying it, compiling it, and redistributing it either
* with or without modifications.
*
* Any person who transfers this source code or any derivative work
* must include the EPSON copyright notice, this paragraph, and the
* preceding two paragraphs in the transferred software.
*
* COPYRIGHT EPSON CORPORATION 2001
* LICENSED MATERIAL - PROGRAM PROPERTY OF EPSON
***********************************************************************/
/***********************************************************************
* FILE: guiGhldrv.h
* MODULE: Graphic abstract layer
*
* PURPOSE:
* AUTHOR(S): YangCX
* GROUP: GUI Group
* DATE CREATED: 2001/10/20
* REFERENCE DOCUMENT ID:
* MODIFICATIONS:
* Date userName Description
* 2002/07/31 YangCX Create this file
**********************************************************************/
#ifndef _GUIGHLDRV_H
#define _GUIGHLDRV_H
#ifdef __cplusplus
extern "C" {
#endif
// Line styles
#define GHL_SOLID_LINE 0
#define GHL_DASH_LINE 1
#define GHL_DOT_LINE 2
#define GHL_DASHDOT_LINE 3
#define LCDWIDTH 320
#define LCDHEIGHT 240
#define LCDBPP 16
//#define PixelByte_1
#define PixelByte_2
//#define PixelByte_3
#ifdef PixelByte_1
#define BpP 1
typedef T_UBYTE T_GHL_Pixel;
#endif
#ifdef PixelByte_2
#define BpP 2
typedef T_UHWORD T_GHL_Pixel ;
#endif
#ifdef PixelByte_3
#define BpP 3
typedef T_UWORD T_GHL_Pixel ;
#endif
#ifdef __cplusplus
}
#endif
#endif /* _GUIGHLDRV_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -