nxdraw.h

来自「ecos下的gui开发源代码」· C头文件 代码 · 共 33 行

H
33
字号
/* * Copyright (c) 2000 Greg Haerr <greg@censoft.com> * * Nano-X Draw Library *	nxPaintNCArea - paint non-client area *	nxDraw3dShadow - draws a shadow with bottom-left and top-right missing *	nxDraw3dBox - draws a complete shadow *	nxDraw3dInset - draw a 2 line 3d inset *	nxDraw3dOutset - draw a 2 line 3d outset */void		nxPaintNCArea(GR_DRAW_ID id, int w, int h, GR_CHAR *title,			GR_BOOL active, GR_WM_PROPS props);void		nxInflateRect(GR_RECT *prc, GR_SIZE dx, GR_SIZE dy);void		nxDraw3dBox(GR_WINDOW_ID id,int x,int y,int w,int h,			GR_COLOR crTop,GR_COLOR crBottom);void		nxDraw3dInset(GR_DRAW_ID id,int x,int y,int w,int h);void		nxDraw3dOutset(GR_WINDOW_ID id,int x,int y,int w,int h);void		nxDraw3dPushDown(GR_DRAW_ID id, int x, int y, int w, int h);void		nxDraw3dUpDownState(GR_DRAW_ID id, int x, int y, int w, int h,			GR_BOOL fDown);void		nxDraw3dUpFrame(GR_DRAW_ID id, int l, int t, int r, int b);void		nxDraw3dShadow(GR_DRAW_ID id, int x, int y, int w, int h, GR_COLOR crTop, GR_COLOR crBottom);/* nxPaintNCArea offsets*/#define CXBORDER	3				/* 3d border width*/#define CYBORDER	3				/* 3d border height*/#define CYCAPTION	12				/* height of caption*/#define CXCLOSEBOX	9				/* width of closebox*/#define CYCLOSEBOX	9				/* height of closebox*/#define CXFRAME		(CXBORDER*2)			/* width of frame*/#define CYFRAME		(CYBORDER*2)			/* height of frame*/

⌨️ 快捷键说明

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