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

📄 nxproto.h

📁 一个linux下的根文件系统的源码
💻 H
📖 第 1 页 / 共 2 页
字号:
#define GrNumSetSystemPalette   59typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	INT16	first;	INT16	count;	MWPALENTRY palette[256];} nxSetSystemPaletteReq;#define GrNumInjectEvent	60#define GR_INJECT_EVENT_POINTER		0#define GR_INJECT_EVENT_KEYBOARD	1typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	union {		struct {			INT16	x;			INT16	y;			UINT16	button;			BYTE8	visible;		} pointer;		struct {			IDTYPE	wid;			UINT16	keyvalue;			UINT16	modifier;			BYTE8	scancode;			BYTE8	pressed;		} keyboard;	} event;	UINT16	event_type;} nxInjectEventReq;#define GrNumNewRegion		61typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;} nxNewRegionReq;#define GrNumDestroyRegion	62typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;} nxDestroyRegionReq;#define GrNumUnionRectWithRegion	63typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	GR_RECT	rect;} nxUnionRectWithRegionReq;#define GrNumUnionRegion	64typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	IDTYPE	srcregionid1;	IDTYPE	srcregionid2;} nxUnionRegionReq;#define GrNumIntersectRegion	65typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	IDTYPE	srcregionid1;	IDTYPE	srcregionid2;} nxIntersectRegionReq;#define GrNumSetGCRegion	66typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	gcid;	IDTYPE	regionid;} nxSetGCRegionReq;#define GrNumSubtractRegion	67typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	IDTYPE	srcregionid1;	IDTYPE	srcregionid2;} nxSubtractRegionReq;#define GrNumXorRegion		68typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	IDTYPE	srcregionid1;	IDTYPE	srcregionid2;} nxXorRegionReq;#define GrNumPointInRegion	69typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	INT16	x;	INT16	y;} nxPointInRegionReq;#define GrNumRectInRegion	70typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;	INT16	x;	INT16	y;	INT16	w;	INT16	h;} nxRectInRegionReq;#define GrNumEmptyRegion	71typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;} nxEmptyRegionReq;#define GrNumEqualRegion	72typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	region1;	IDTYPE	region2;} nxEqualRegionReq;#define GrNumOffsetRegion	73typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	region;	INT16	dx;	INT16	dy;} nxOffsetRegionReq;#define GrNumGetRegionBox	74typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	regionid;} nxGetRegionBoxReq;#define GrNumNewPolygonRegion	75typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT16	mode;	UINT16	pad;	/*INT16 points[];*/} nxNewPolygonRegionReq;#define GrNumArc		76typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	rx;	INT16	ry;	INT16	ax;	INT16	ay;	INT16	bx;	INT16	by;	INT16	type;} nxArcReq;#define GrNumArcAngle		77typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	rx;	INT16	ry;	INT16	angle1;	INT16	angle2;	INT16	type;} nxArcAngleReq;#define GrNumSetWMProperties	78typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	windowid;	/* GR_WM_PROPERTIES props */	/* GR_CHAR *title */} nxSetWMPropertiesReq;#define GrNumGetWMProperties	79typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	windowid;} nxGetWMPropertiesReq;#define GrNumCloseWindow	80typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	windowid;} nxCloseWindowReq;#define GrNumKillWindow		81typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	windowid;} nxKillWindowReq;#define GrNumDrawImageToFit     82typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	width;	INT16	height;	IDTYPE	imageid;} nxDrawImageToFitReq;#define GrNumFreeImage          83typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	id;} nxFreeImageReq;#define GrNumGetImageInfo       84typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	id;} nxGetImageInfoReq;#define GrNumDrawImageBits      85typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	width;		/* MWIMAGEHDR start*/	INT16	height;	INT16	planes;	INT16	bpp;	INT16	pitch;	INT16	bytesperpixel;	INT16	compression;	INT16	palsize;	UINT32	transcolor;	/*MWIMAGEBITS imagebits[];*/	/*MWPALENTRY palette[palsize];*/} nxDrawImageBitsReq;#define GrNumPoints             86typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	/*INT16 pointtable[];*/} nxPointsReq;#define GrNumGetFocus           87typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;} nxGetFocusReq;#define GrNumGetSysColor        88typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT16	index;} nxGetSysColorReq;#define GrNumSetScreenSaverTimeout	89typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	timeout;} nxSetScreenSaverTimeoutReq;#define GrNumSetSelectionOwner	90typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	/* GR_CHAR *typelist */} nxSetSelectionOwnerReq;#define GrNumGetSelectionOwner	91typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;} nxGetSelectionOwnerReq;#define GrNumRequestClientData	92typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	IDTYPE	rid;	UINT32	serial;	UINT16	mimetype;} nxRequestClientDataReq;#define GrNumSendClientData	93typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	IDTYPE	did;	UINT32	serial;	UINT32	len;	/* void *data */} nxSendClientDataReq;#define GrNumBell		94typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;} nxBellReq;#define GrNumSetBackgroundPixmap 95typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	IDTYPE	pixmap;	UINT32	flags;} nxSetBackgroundPixmapReq;#define GrNumDestroyCursor	96typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	cursorid;} nxDestroyCursorReq;#define GrNumQueryTree   	97typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	windowid;} nxQueryTreeReq;#define GrNumCreateTimer	98typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	UINT32	period;} nxCreateTimerReq;#define GrNumDestroyTimer	99typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	timerid;} nxDestroyTimerReq;#define GrNumSetPortraitMode	100typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	portraitmode;} nxSetPortraitModeReq;#define GrNumImageBufferAlloc   101typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	size;} nxImageBufferAllocReq;#define GrNumImageBufferSend    102typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	buffer_id;	UINT32	size;} nxImageBufferSendReq;#define GrNumLoadImageFromBuffer 103typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	buffer;	INT16	flags;	INT16	pad;} nxLoadImageFromBufferReq;#define GrNumDrawImageFromBuffer 104typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	width;	INT16	height;	UINT32	buffer;	IDTYPE	flags;} nxDrawImageFromBufferReq;#define GrNumGetFontList        105typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;} nxGetFontListReq;#define GrNumSetGCClipOrigin    106typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE  gcid;	UINT32  xoff;	UINT32  yoff;} nxSetGCClipOriginReq;#define GrNumSetGCGraphicsExposure 107typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE  gcid;        UINT16  exposure;} nxSetGCGraphicsExposureReq;#define GrNumQueryPointer       108typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;  } nxQueryPointerReq;#define GrNumSetGCLineAttributes 109typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;    	IDTYPE	gcid;        UINT16  linestyle;} nxSetGCLineAttributesReq;#define GrNumSetGCDash          110typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;          IDTYPE	gcid;        UINT16	count;} nxSetGCDashReq;#define GrNumSetGCFillMode      111typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;          IDTYPE	gcid;        UINT16	fillmode;} nxSetGCFillModeReq;#define GrNumSetGCStipple       112typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;          IDTYPE	gcid;        INT16	width;        INT16	height;} nxSetGCStippleReq;#define GrNumSetGCTSOffset      113typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;          IDTYPE	gcid;        INT16	xoffset;        INT16	yoffset;} nxSetGCTSOffsetReq;#define GrNumSetGCTile          114typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;          IDTYPE  gcid;        IDTYPE  pixmap;        INT16	width;        INT16	height;} nxSetGCTileReq;#define GrNumNewBitmapRegion    115typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	INT16	width;	INT16	height;	/* GR_BITMAP bitmap[]*/} nxNewBitmapRegionReq;#define GrNumSetWindowRegion    116typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	wid;	IDTYPE	rid;	UINT16	type;} nxSetWindowRegionReq;#define GrNumSetGCForegroundPixelVal    117typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	IDTYPE gcid;	UINT32 pixelval;} nxSetGCForegroundPixelValReq;#define GrNumSetGCBackgroundPixelVal    118typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	IDTYPE gcid;	UINT32 pixelval;} nxSetGCBackgroundPixelValReq;#define GrNumCreateLogFont      119typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	MWLOGFONT lf;} nxCreateLogFontReq;#define GrNumStretchArea        120typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	IDTYPE drawid;	IDTYPE gcid;	INT16 dx1;	INT16 dy1;	INT16 dx2;	INT16 dy2;	IDTYPE srcid;	INT16 sx1;	INT16 sy1;	INT16 sx2;	INT16 sy2;	UINT32 op;} nxStretchAreaReq;#define GrNumGrabKey            121typedef struct {        BYTE8	reqType;	BYTE8	hilength;	UINT16	length;        IDTYPE	wid;        INT16	type;        UINT16	key;  } nxGrabKeyReq;#define GrNumSetTransform       122typedef struct {        BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	UINT32	mode;	UINT32	trans_a;	UINT32	trans_b;	UINT32	trans_c;	UINT32	trans_d;	UINT32	trans_e;	UINT32	trans_f;	UINT32	trans_s;} nxSetTransformReq;  #define GrNumCreateFontFromBuffer	123typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	UINT32 buffer_id;	BYTE8 format[16];	INT16 height;	UINT16 padding;} nxCreateFontFromBufferReq;#define GrNumCopyFont		124typedef struct {	BYTE8 reqType;	BYTE8 hilength;	UINT16 length;	IDTYPE fontid;	INT16 height;} nxCopyFontReq;#define GrTotalNumCalls         125

⌨️ 快捷键说明

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