📄 xwrappers.gen
字号:
typedef StatusDef (proto_XAllocColor)( Display *display, Colormap cmap, XColor *xc);static proto_XAllocColor *func_XAllocColor = NULL;StatusDef XAllocColor( Display *display, Colormap cmap, XColor *xc) { if (!func_XAllocColor) func_XAllocColor=(proto_XAllocColor *)_loadfunc("XAllocColor"); return (func_XAllocColor)( display, cmap, xc);}typedef StatusDef (proto_XAllocColorCells)( Display *display, Colormap cmap, BoolDef cont, unsigned long *pmasks, unsigned int np, unsigned long *pixels, unsigned int nc);static proto_XAllocColorCells *func_XAllocColorCells = NULL;StatusDef XAllocColorCells( Display *display, Colormap cmap, BoolDef cont, unsigned long *pmasks, unsigned int np, unsigned long *pixels, unsigned int nc) { if (!func_XAllocColorCells) func_XAllocColorCells=(proto_XAllocColorCells *)_loadfunc("XAllocColorCells"); return (func_XAllocColorCells)( display, cmap, cont, pmasks, np, pixels, nc);}typedef StatusDef (proto_XAllocColorPlanes)( Display *display, Colormap cmap, BoolDef cont, unsigned long *pixels, int nc, int nr,int ng,int nb, unsigned long *rmask, unsigned long *gmask, unsigned long *bmask);static proto_XAllocColorPlanes *func_XAllocColorPlanes = NULL;StatusDef XAllocColorPlanes( Display *display, Colormap cmap, BoolDef cont, unsigned long *pixels, int nc, int nr,int ng,int nb, unsigned long *rmask, unsigned long *gmask, unsigned long *bmask) { if (!func_XAllocColorPlanes) func_XAllocColorPlanes=(proto_XAllocColorPlanes *)_loadfunc("XAllocColorPlanes"); return (func_XAllocColorPlanes)( display, cmap, cont, pixels, nc, nr,ng,nb, rmask, gmask, bmask);}typedef StatusDef (proto_XAllocNamedColor)(Display *display, Colormap cmap, const char *cname, XColor *cell, XColor *rgb);static proto_XAllocNamedColor *func_XAllocNamedColor = NULL;StatusDef XAllocNamedColor(Display *display, Colormap cmap, const char *cname, XColor *cell, XColor *rgb) { if (!func_XAllocNamedColor) func_XAllocNamedColor=(proto_XAllocNamedColor *)_loadfunc("XAllocNamedColor"); return (func_XAllocNamedColor)(display, cmap, cname, cell, rgb);}typedef int (proto_XBell)( Display *display, int pc);static proto_XBell *func_XBell = NULL;int XBell( Display *display, int pc) { if (!func_XBell) func_XBell=(proto_XBell *)_loadfunc("XBell"); return (func_XBell)( display, pc);}typedef int (proto_XChangeGC)( Display* display, GC gc, unsigned long mask, XGCValues* gc_values);static proto_XChangeGC *func_XChangeGC = NULL;int XChangeGC( Display* display, GC gc, unsigned long mask, XGCValues* gc_values) { if (!func_XChangeGC) func_XChangeGC=(proto_XChangeGC *)_loadfunc("XChangeGC"); return (func_XChangeGC)( display, gc, mask, gc_values);}typedef int (proto_XChangeProperty)( Display *display, Window window, Atom property, Atom type, int format, int mode, const unsigned char *data, int nelements);static proto_XChangeProperty *func_XChangeProperty = NULL;int XChangeProperty( Display *display, Window window, Atom property, Atom type, int format, int mode, const unsigned char *data, int nelements) { if (!func_XChangeProperty) func_XChangeProperty=(proto_XChangeProperty *)_loadfunc("XChangeProperty"); return (func_XChangeProperty)( display, window, property, type, format, mode, data, nelements);}typedef int (proto_XChangeWindowAttributes)( Display *display, Window w, unsigned long vmask, XSetWindowAttributes *attr);static proto_XChangeWindowAttributes *func_XChangeWindowAttributes = NULL;int XChangeWindowAttributes( Display *display, Window w, unsigned long vmask, XSetWindowAttributes *attr) { if (!func_XChangeWindowAttributes) func_XChangeWindowAttributes=(proto_XChangeWindowAttributes *)_loadfunc("XChangeWindowAttributes"); return (func_XChangeWindowAttributes)( display, w, vmask, attr);}typedef BoolDef (proto_XCheckTypedEvent)( Display *display, int ev, XEvent *rep);static proto_XCheckTypedEvent *func_XCheckTypedEvent = NULL;BoolDef XCheckTypedEvent( Display *display, int ev, XEvent *rep) { if (!func_XCheckTypedEvent) func_XCheckTypedEvent=(proto_XCheckTypedEvent *)_loadfunc("XCheckTypedEvent"); return (func_XCheckTypedEvent)( display, ev, rep);}typedef BoolDef (proto_XCheckTypedWindowEvent)( Display* display, Window w, int event_type, XEvent* event_return);static proto_XCheckTypedWindowEvent *func_XCheckTypedWindowEvent = NULL;BoolDef XCheckTypedWindowEvent( Display* display, Window w, int event_type, XEvent* event_return) { if (!func_XCheckTypedWindowEvent) func_XCheckTypedWindowEvent=(proto_XCheckTypedWindowEvent *)_loadfunc("XCheckTypedWindowEvent"); return (func_XCheckTypedWindowEvent)( display, w, event_type, event_return);}typedef BoolDef (proto_XCheckWindowEvent)( Display *display, Window w, long emask, XEvent *ev);static proto_XCheckWindowEvent *func_XCheckWindowEvent = NULL;BoolDef XCheckWindowEvent( Display *display, Window w, long emask, XEvent *ev) { if (!func_XCheckWindowEvent) func_XCheckWindowEvent=(proto_XCheckWindowEvent *)_loadfunc("XCheckWindowEvent"); return (func_XCheckWindowEvent)( display, w, emask, ev);}typedef int (proto_XClearArea)( Display *display, Window w, int x, int y, unsigned int width, unsigned int height, BoolDef exposures);static proto_XClearArea *func_XClearArea = NULL;int XClearArea( Display *display, Window w, int x, int y, unsigned int width, unsigned int height, BoolDef exposures) { if (!func_XClearArea) func_XClearArea=(proto_XClearArea *)_loadfunc("XClearArea"); return (func_XClearArea)( display, w, x, y, width, height, exposures);}typedef int (proto_XClearWindow)(Display *display, Window w);static proto_XClearWindow *func_XClearWindow = NULL;int XClearWindow(Display *display, Window w) { if (!func_XClearWindow) func_XClearWindow=(proto_XClearWindow *)_loadfunc("XClearWindow"); return (func_XClearWindow)(display, w);}typedef int (proto_XClipBox)( Region hrgn, XRectangle *rect);static proto_XClipBox *func_XClipBox = NULL;int XClipBox( Region hrgn, XRectangle *rect) { if (!func_XClipBox) func_XClipBox=(proto_XClipBox *)_loadfunc("XClipBox"); return (func_XClipBox)( hrgn, rect);}typedef int (proto_XCloseDisplay)(Display *display);static proto_XCloseDisplay *func_XCloseDisplay = NULL;int XCloseDisplay(Display *display) { if (!func_XCloseDisplay) func_XCloseDisplay=(proto_XCloseDisplay *)_loadfunc("XCloseDisplay"); return (func_XCloseDisplay)(display);}typedef StatusDef (proto_XCloseIM)(XIM im);static proto_XCloseIM *func_XCloseIM = NULL;StatusDef XCloseIM(XIM im) { if (!func_XCloseIM) func_XCloseIM=(proto_XCloseIM *)_loadfunc("XCloseIM"); return (func_XCloseIM)(im);}typedef int (proto_XConnectionNumber)(Display* display);static proto_XConnectionNumber *func_XConnectionNumber = NULL;int XConnectionNumber(Display* display) { if (!func_XConnectionNumber) func_XConnectionNumber=(proto_XConnectionNumber *)_loadfunc("XConnectionNumber"); return (func_XConnectionNumber)(display);}typedef int (proto_XConvertSelection)( Display *display, Atom sel, Atom target, Atom prop, Window req, Time time);static proto_XConvertSelection *func_XConvertSelection = NULL;int XConvertSelection( Display *display, Atom sel, Atom target, Atom prop, Window req, Time time) { if (!func_XConvertSelection) func_XConvertSelection=(proto_XConvertSelection *)_loadfunc("XConvertSelection"); return (func_XConvertSelection)( display, sel, target, prop, req, time);}typedef int (proto_XCopyArea)( Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y);static proto_XCopyArea *func_XCopyArea = NULL;int XCopyArea( Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y) { if (!func_XCopyArea) func_XCopyArea=(proto_XCopyArea *)_loadfunc("XCopyArea"); return (func_XCopyArea)( display, src, dest, gc, src_x, src_y, width, height, dest_x, dest_y);}typedef int (proto_XCopyGC)( Display *display, GC sgc, unsigned long vmask, GC dgc);static proto_XCopyGC *func_XCopyGC = NULL;int XCopyGC( Display *display, GC sgc, unsigned long vmask, GC dgc) { if (!func_XCopyGC) func_XCopyGC=(proto_XCopyGC *)_loadfunc("XCopyGC"); return (func_XCopyGC)( display, sgc, vmask, dgc);}typedef Pixmap (proto_XCreateBitmapFromData)(Display *display, Drawable drawable, const char *data, unsigned int width, unsigned int height);static proto_XCreateBitmapFromData *func_XCreateBitmapFromData = NULL;Pixmap XCreateBitmapFromData(Display *display, Drawable drawable, const char *data, unsigned int width, unsigned int height) { if (!func_XCreateBitmapFromData) func_XCreateBitmapFromData=(proto_XCreateBitmapFromData *)_loadfunc("XCreateBitmapFromData"); return (func_XCreateBitmapFromData)(display, drawable, data, width, height);}typedef Colormap (proto_XCreateColormap)( Display *display, Window w, Visual *visual, int alloc);static proto_XCreateColormap *func_XCreateColormap = NULL;Colormap XCreateColormap( Display *display, Window w, Visual *visual, int alloc) { if (!func_XCreateColormap) func_XCreateColormap=(proto_XCreateColormap *)_loadfunc("XCreateColormap"); return (func_XCreateColormap)( display, w, visual, alloc);}typedef Cursor (proto_XCreateFontCursor)( Display *display, unsigned int shape);static proto_XCreateFontCursor *func_XCreateFontCursor = NULL;Cursor XCreateFontCursor( Display *display, unsigned int shape) { if (!func_XCreateFontCursor) func_XCreateFontCursor=(proto_XCreateFontCursor *)_loadfunc("XCreateFontCursor"); return (func_XCreateFontCursor)( display, shape);}typedef GC (proto_XCreateGC)( Display *display, Drawable window, unsigned long mask, XGCValues *gc_values);static proto_XCreateGC *func_XCreateGC = NULL;GC XCreateGC( Display *display, Drawable window, unsigned long mask, XGCValues *gc_values) { if (!func_XCreateGC) func_XCreateGC=(proto_XCreateGC *)_loadfunc("XCreateGC"); return (func_XCreateGC)( display, window, mask, gc_values);}typedef XImage * (proto_XCreateImage)( Display *display, Visual *visual, unsigned int depth, int format, int offset, char *data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line);static proto_XCreateImage *func_XCreateImage = NULL;XImage * XCreateImage( Display *display, Visual *visual, unsigned int depth, int format, int offset, char *data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line) { if (!func_XCreateImage) func_XCreateImage=(proto_XCreateImage *)_loadfunc("XCreateImage"); return (func_XCreateImage)( display, visual, depth, format, offset, data, width, height, bitmap_pad, bytes_per_line);}typedef Pixmap (proto_XCreatePixmap)( Display *display, Drawable drawable, unsigned int width, unsigned int height, unsigned int depth);static proto_XCreatePixmap *func_XCreatePixmap = NULL;Pixmap XCreatePixmap( Display *display, Drawable drawable, unsigned int width, unsigned int height, unsigned int depth) { if (!func_XCreatePixmap) func_XCreatePixmap=(proto_XCreatePixmap *)_loadfunc("XCreatePixmap"); return (func_XCreatePixmap)( display, drawable, width, height, depth);}typedef Region (proto_XCreateRegion)();static proto_XCreateRegion *func_XCreateRegion = NULL;Region XCreateRegion() { if (!func_XCreateRegion) func_XCreateRegion=(proto_XCreateRegion *)_loadfunc("XCreateRegion"); return (func_XCreateRegion)();}typedef Window (proto_XCreateSimpleWindow)( Display *display, Window parent, int x, int y, unsigned int brd, unsigned int w, unsigned int h, unsigned long bg, unsigned long brd_col);static proto_XCreateSimpleWindow *func_XCreateSimpleWindow = NULL;Window XCreateSimpleWindow( Display *display, Window parent, int x, int y, unsigned int brd, unsigned int w, unsigned int h, unsigned long bg, unsigned long brd_col) { if (!func_XCreateSimpleWindow) func_XCreateSimpleWindow=(proto_XCreateSimpleWindow *)_loadfunc("XCreateSimpleWindow"); return (func_XCreateSimpleWindow)( display, parent, x, y, brd, w, h, bg, brd_col);}typedef Window (proto_XCreateWindow)( Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int bw, int depth, unsigned int class, Visual *visual, unsigned long valuemask, XSetWindowAttributes *attr);static proto_XCreateWindow *func_XCreateWindow = NULL;Window XCreateWindow( Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int bw, int depth, unsigned int class, Visual *visual, unsigned long valuemask, XSetWindowAttributes *attr) { if (!func_XCreateWindow) func_XCreateWindow=(proto_XCreateWindow *)_loadfunc("XCreateWindow"); return (func_XCreateWindow)( display, parent, x, y, width, height, bw, depth, class, visual, valuemask, attr);}typedef Colormap (proto_XDefaultColormap)( Display *display, int screen);static proto_XDefaultColormap *func_XDefaultColormap = NULL;Colormap XDefaultColormap( Display *display, int screen) { if (!func_XDefaultColormap) func_XDefaultColormap=(proto_XDefaultColormap *)_loadfunc("XDefaultColormap"); return (func_XDefaultColormap)( display, screen);}typedef int (proto_XDefaultDepth)( Display *display, int screen);static proto_XDefaultDepth *func_XDefaultDepth = NULL;int XDefaultDepth( Display *display, int screen) { if (!func_XDefaultDepth) func_XDefaultDepth=(proto_XDefaultDepth *)_loadfunc("XDefaultDepth"); return (func_XDefaultDepth)( display, screen);}typedef int (proto_XDefaultScreen)(Display *display);static proto_XDefaultScreen *func_XDefaultScreen = NULL;int XDefaultScreen(Display *display) { if (!func_XDefaultScreen) func_XDefaultScreen=(proto_XDefaultScreen *)_loadfunc("XDefaultScreen"); return (func_XDefaultScreen)(display);}typedef Visual * (proto_XDefaultVisual)( Display *display, int screen);static proto_XDefaultVisual *func_XDefaultVisual = NULL;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -