⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qevent.h

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 H
字号:
/* * 	@(#)qevent.h	4.1	(ULTRIX)	7/2/90 *//*************************************************************************									**			Copyright (c) 1985 by				**		Digital Equipment Corporation, Maynard, MA		**			All rights reserved.				**									**   This software is furnished under a license and may be used and	**   copied  only  in accordance with the terms of such license and	**   with the  inclusion  of  the  above  copyright  notice.   This	**   software  or  any  other copies thereof may not be provided or	**   otherwise made available to any other person.  No title to and	**   ownership of the software is hereby transferred.			**									**   The information in this software is subject to change  without	**   notice  and should not be construed as a commitment by Digital	**   Equipment Corporation.						**									**   Digital assumes no responsibility for the use  or  reliability	**   of its software on equipment which is not supplied by Digital.	**									*************************************************************************//* * Event queue entries */# ifndef _QEVENT_# define _QEVENT_typedef struct  _vs_event {        unsigned short vse_x;	/* x position */        unsigned short vse_y;	/* y position */        unsigned long vse_time;/* 10 millisecond units (button only) */        char    vse_type;       /* button or motion? */        unsigned char  vse_key;	/* the key (button only) */        char    vse_direction;	/* which direction (button only) */        char    vse_device;	/* which device (button only) */} vsEvent;/* vse_type field */#define VSE_BUTTON      0               /* button moved */#define VSE_MMOTION     1               /* mouse moved */#define VSE_TMOTION     2               /* tablet moved *//* vse_direction field */#define VSE_KBTUP       0               /* up */#define VSE_KBTDOWN     1               /* down */#define VSE_KBTRAW	2		/* undetermined *//* vse_device field */#define VSE_NULL	0		/* NULL event (for QD_GETEVENT ret) */#define VSE_MOUSE       1               /* mouse */#define VSE_DKB         2               /* main keyboard */#define VSE_TABLET      3               /* graphics tablet */#define VSE_AUX         4               /* auxiliary */#define VSE_CONSOLE     5               /* console *//* The event queue */typedef struct _vs_eventqueue {	vsEvent *events;	/* input event buffer */	int size;		/* size of event buffer */	int head;		/* index into events */	int tail;		/* index into events */} vsEventQueue;/* mouse cursor position */typedef struct _vs_cursor {        short x;        short y;} vsCursor;/* mouse motion rectangle */typedef struct _vs_box {        short bottom;        short right;        short left;        short top;} vsBox;# endif _QEVENT_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -