gui.h
来自「用C开发PDA程序的源码用C开发PDA程序的源码用C开发PDA程序的源码用C开发」· C头文件 代码 · 共 55 行
H
55 行
/*========================================================================
*
* 版权所有 (C) 2000-2001 吴柏建. All Rights Reserved.
*
* 文件: gui.h
* 内容: PSDE_DEMO_ED处理显示和消息的函数声明。
* 作者: 吴柏建。
* 制作日期: 2000.8.6-2001.8.6
* 修改日期: 2001..
*
*========================================================================*/
#ifndef _PDAGUI_
#define _PDAGUI_
/*PDAMSG::type*/
#define MSG_NULL 0
#define MSG_SECOND 1
#define MSG_KEY 2
#define MSG_CHAR 3
typedef struct _PDAMSG
{
short type;
union
{
short wParam;
short key;
unsigned short character;
short msg;
short x;
};
union
{
short lParam;
short y;
};
union
{
short z;
};
}PDAMSG;
void SendMsg(PDAMSG *msg);
short GetMsg(PDAMSG *msg);
void DispDot(int x,int y,unsigned char c);
void DispImage(int x,int y,int w,int h,unsigned char *s);
void DispBmp(int x,int y,unsigned char *s);
int DispChar(int x,int y,unsigned short CharCode);
void DispStr(short x,short y,unsigned char *s);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?