📄 gui.h
字号:
/* $id:gui.h V1.0 2001/10/10 */
/******************************************************************************
* This source code has been made available to you by SEIKO EPSON on
* AS-IS.Anyone receiving this source is licensed under
* SEIKO 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 modifictions.
*
*
* Any person who transfers this source code or any derivative work must
* include the SEIKO EPSON copyright notice, this paragraph,and the preceding
* two paragraphs in the transferred software.
*
*
* COPYRIGHT SEIKO EPSON CORPORATION 2001
* LICENSED MATERIAL - PROGRAM PROPERTY OF EPSON
*****************************************************************************/
/******************************************************************************
*
* FILE: gui.h
*
* MODULE: System predefined data types
*
* PURPOSE: Define some system level data types and some key macros
*
* AUTHOR(S):Chen Hong
*
* GROUP:GUI_GROUP
*
* DATE CREATED:2001/010/015
*
* REFERENCE DOCUMENT ID:
*
* MODIFICATIONS:
* Date user Name Description
* 2001/10/15 Chen Hong Create this file
*********************************************************************************/
#ifndef _GUI_H
#define _GUI_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/************************* desktop support ********************************/
T_BOOL fnGUI_SetDesktopRect (T_WORD lx, T_WORD ty, T_WORD rx, T_WORD by);
T_VOID fnGUI_GetDesktopRect (T_WORD* lx, T_WORD* ty, T_WORD* rx, T_WORD* by);
/********************************** Init support *******************************/
T_BOOL fnGUI_InitGUI (T_VOID);
T_VOID fnGUI_TerminateGUI ();
/********************************** Main Entry *******************************/
/* These functions should be defined by application */
T_WORD fnGUI_AppMain ();
/********************************** Miscellouse ******************************/
T_VOID fnGUI_Draw3DUpFrame (T_GUI_HDC hDC, T_WORD l, T_WORD t, T_WORD r, T_WORD b, T_WORD fillc);
T_VOID fnGUI_Draw3DDownFrame (T_GUI_HDC hDC, T_WORD l, T_WORD t, T_WORD r, T_WORD b, T_WORD fillc);
#define fnGUI_Draw3DUpThickFrame fnGUI_Draw3DUpFrame
#define fnGUI_Draw3DDownThickFrame fnGUI_Draw3DDownFrame
T_VOID fnGUI_Draw3DUpThinFrame (T_GUI_HDC hDC,
T_WORD l, T_WORD t, T_WORD r, T_WORD b, T_WORD fillc);
T_VOID fnGUI_Draw3DDownThinFrame (T_GUI_HDC hDC,
T_WORD l, T_WORD t, T_WORD r, T_WORD b, T_WORD fillc);
T_VOID fnGUI_Draw3DBorder (T_GUI_HDC hdc, T_WORD l, T_WORD t, T_WORD r, T_WORD b);
T_VOID fnGUI_DisabledTextOut (T_GUI_HDC hDC, T_WORD x, T_WORD y, T_CONST T_BYTE* szText);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /*_GUI_H*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -