📄 gui.h
字号:
/*========================================================================
*
* 版权所有 (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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -