📄 draw.h
字号:
/*draw object definitionGraphics system dependent informationXView/Windows here*//* constants */#define OVERLAY_COLOR 1#define ERASE_COLOR 0#define IMAGE_MASK 254#define OVERLAY_MASK 1#define CLEAR_MASK 255#define NXCOLOR 256/* Draw object */typedef struct {/* mostly XWindows variables */ Display *display; /* XWindows */ int screen; /* XWindows */ Visual *visual; Colormap cmap; /* color map */ GC gc; /* XWindows */ XImage *image; /* XWindows */ XID window; /* XWindows */ XFontStruct *font; /* XWindows */ Cursor watch; /* watch cursor */ Pixmap *pms; /* list of pixmaps */ int h0, v0, nh, nv; /* pixmap coordinates */ int npmax; /* number of pixmaps */ int npm; /* number of pixmaps allocated */ int wide, hite; /* previouse window size */ int ncolor; /* number of continguous colors allocated */ int base; /* color table bias */ XColor color[NXCOLOR]; /* color table */ unsigned long mask; /* plane mask */ } *Draw;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -