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

📄 nxproto.h

📁 eCos操作系统源码
💻 H
📖 第 1 页 / 共 2 页
字号:
	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	INT16	flags;	INT16	pad;} nxLoadImageFromFileReq;#define GrNumNewPixmap          50typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	INT16	width;	INT16	height;/* FIXME: Add support for passing shared memory info */} nxNewPixmapReq;#define GrNumCopyArea          51typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	drawid;	IDTYPE	gcid;	INT16	x;	INT16	y;	INT16	width;	INT16	height;	IDTYPE	srcid;	INT16	srcx;	INT16	srcy;	UINT32	op;} nxCopyAreaReq;#define GrNumSetFontSize        52typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	fontid;	INT16	fontsize;} nxSetFontSizeReq;#define GrNumCreateFont		53typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	INT16	height;	INT16	lf_used;	MWLOGFONT lf;} nxCreateFontReq;#define GrNumDestroyFont	54typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	fontid;} nxDestroyFontReq;#define GrNumReqShmCmds         55typedef struct {	BYTE8   reqType;	BYTE8   hilength;	UINT16  length;	UINT32  size;} nxReqShmCmdsReq;#define GrNumShmCmdsFlush       56typedef struct {	BYTE8   reqType;	BYTE8   hilength;	UINT16  length;	UINT32  size;	UINT32  reply;} nxShmCmdsFlushReq;#define GrNumSetFontRotation    57typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	fontid;	INT16	tenthdegrees;} nxSetFontRotationReq;#define GrNumSetFontAttr        58typedef struct {	BYTE8	reqType;	BYTE8	hilength;	UINT16	length;	IDTYPE	fontid;	INT16	setflags;	INT16	clrflags;} nxSetFontAttrReq;#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 GrTotalNumCalls         107

⌨️ 快捷键说明

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