exevents.h

来自「unix vnc 协议源码. VNC是一款远程控制工具软件.」· C头文件 代码 · 共 276 行

H
276
字号
/* $XFree86: xc/programs/Xserver/include/exevents.h,v 3.1 1996/04/15 11:34:29 dawes Exp $ *//************************************************************Copyright 1996 by Thomas E. Dickey <dickey@clark.net>                        All Rights ReservedPermission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation, and that the name of the above listedcopyright holder(s) not be used in advertising or publicity pertainingto distribution of the software without specific, written priorpermission.THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARDTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITYAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BELIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGESWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ANACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OFOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.********************************************************//******************************************************************** * Interface of 'exevents.c' */#ifndef EXEVENTS_H#define EXEVENTS_HvoidRegisterOtherDevice (#if NeedFunctionPrototypes	DeviceIntPtr           /* device */#endif	);voidProcessOtherEvent (#if NeedFunctionPrototypes	xEventPtr /* FIXME deviceKeyButtonPointer * xE */,	DeviceIntPtr           /* other */,	int                    /* count */#endif	);intInitProximityClassDeviceStruct(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */#endif	);voidInitValuatorAxisStruct(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */,	int                    /* axnum */,	int                    /* minval */,	int                    /* maxval */,	int                    /* resolution */,	int                    /* min_res */,	int                    /* max_res */#endif	);voidDeviceFocusEvent(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */,	int                    /* type */,	int                    /* mode */,	int                    /* detail */,	WindowPtr              /* pWin */#endif	);intGrabButton(#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* dev */,	BYTE                   /* this_device_mode */,	BYTE                   /* other_devices_mode */,	CARD16                 /* modifiers */,	DeviceIntPtr           /* modifier_device */,	CARD8                  /* button */,	Window                 /* grabWindow */,	BOOL                   /* ownerEvents */,	Cursor                 /* rcursor */,	Window                 /* rconfineTo */,	Mask                   /* eventMask */#endif	);intGrabKey(#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* dev */,	BYTE                   /* this_device_mode */,	BYTE                   /* other_devices_mode */,	CARD16                 /* modifiers */,	DeviceIntPtr           /* modifier_device */,	CARD8                  /* key */,	Window                 /* grabWindow */,	BOOL                   /* ownerEvents */,	Mask                   /* mask */#endif	);intSelectForWindow(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */,	WindowPtr              /* pWin */,	ClientPtr              /* client */,	Mask                   /* mask */,	Mask                   /* exclusivemasks */,	Mask                   /* validmasks */#endif	);int AddExtensionClient (#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	ClientPtr              /* client */,	Mask                   /* mask */,	int                    /* mskidx */#endif	);voidRecalculateDeviceDeliverableEvents(#if NeedFunctionPrototypes	WindowPtr              /* pWin */#endif	);intInputClientGone(#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	XID                    /* id */#endif	);intSendEvent (#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* d */,	Window                 /* dest */,	Bool                   /* propagate */,	xEvent *               /* ev */,	Mask                   /* mask */,	int                    /* count */#endif	);intSetButtonMapping (#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* dev */,	int                    /* nElts */,	BYTE *                 /* map */#endif	);int SetModifierMapping(#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* dev */,	int                    /* len */,	int                    /* rlen */,	int                    /* numKeyPerModifier */,	KeyCode *              /* inputMap */,	KeyClassPtr *          /* k */#endif	);voidSendDeviceMappingNotify(#if NeedFunctionPrototypes	CARD8                  /* request, */,	KeyCode                /* firstKeyCode */,	CARD8                  /* count */,	DeviceIntPtr           /* dev */#endif);intChangeKeyMapping(#if NeedFunctionPrototypes	ClientPtr              /* client */,	DeviceIntPtr           /* dev */,	unsigned               /* len */,	int                    /* type */,	KeyCode                /* firstKeyCode */,	CARD8                  /* keyCodes */,	CARD8                  /* keySymsPerKeyCode */,	KeySym *               /* map */#endif	);voidDeleteWindowFromAnyExtEvents(#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	Bool                   /* freeResources */#endif);voidDeleteDeviceFromAnyExtEvents(#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	DeviceIntPtr           /* dev */#endif	);intMaybeSendDeviceMotionNotifyHint (#if NeedFunctionPrototypes	deviceKeyButtonPointer * /* pEvents */,	Mask                   /* mask */#endif);voidCheckDeviceGrabAndHintWindow (#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	int                    /* type */,	deviceKeyButtonPointer * /* xE */,	GrabPtr                /* grab */,	ClientPtr              /* client */,	Mask                   /* deliveryMask */#endif	);MaskDeviceEventMaskForClient(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */,	WindowPtr              /* pWin */,	ClientPtr              /* client */#endif);voidMaybeStopDeviceHint(#if NeedFunctionPrototypes	DeviceIntPtr           /* dev */,	ClientPtr              /* client */#endif	);intDeviceEventSuppressForWindow(#if NeedFunctionPrototypes	WindowPtr              /* pWin */,	ClientPtr              /* client */,	Mask                   /* mask */,	int                    /* maskndx */#endif	);#endif /* EXEVENTS_H */

⌨️ 快捷键说明

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