📄 nxdraw.h
字号:
/*
* 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);
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -