📄 xwrappers.gen
字号:
Visual * XDefaultVisual( Display *display, int screen) { if (!func_XDefaultVisual) func_XDefaultVisual=(proto_XDefaultVisual *)_loadfunc("XDefaultVisual"); return (func_XDefaultVisual)( display, screen);}typedef int (proto_XDefineCursor)(Display* display,Window w,Cursor cursor);static proto_XDefineCursor *func_XDefineCursor = NULL;int XDefineCursor(Display* display,Window w,Cursor cursor) { if (!func_XDefineCursor) func_XDefineCursor=(proto_XDefineCursor *)_loadfunc("XDefineCursor"); return (func_XDefineCursor)(display,w,cursor);}typedef int (proto_XDestroyRegion)(Region hrgn);static proto_XDestroyRegion *func_XDestroyRegion = NULL;int XDestroyRegion(Region hrgn) { if (!func_XDestroyRegion) func_XDestroyRegion=(proto_XDestroyRegion *)_loadfunc("XDestroyRegion"); return (func_XDestroyRegion)(hrgn);}typedef int (proto_XDestroyWindow)( Display *display, Window w);static proto_XDestroyWindow *func_XDestroyWindow = NULL;int XDestroyWindow( Display *display, Window w) { if (!func_XDestroyWindow) func_XDestroyWindow=(proto_XDestroyWindow *)_loadfunc("XDestroyWindow"); return (func_XDestroyWindow)( display, w);}typedef char * (proto_XDisplayString)(Display *display);static proto_XDisplayString *func_XDisplayString = NULL;char * XDisplayString(Display *display) { if (!func_XDisplayString) func_XDisplayString=(proto_XDisplayString *)_loadfunc("XDisplayString"); return (func_XDisplayString)(display);}typedef int (proto_XDoesBackingStore)(Screen *scr);static proto_XDoesBackingStore *func_XDoesBackingStore = NULL;int XDoesBackingStore(Screen *scr) { if (!func_XDoesBackingStore) func_XDoesBackingStore=(proto_XDoesBackingStore *)_loadfunc("XDoesBackingStore"); return (func_XDoesBackingStore)(scr);}typedef int (proto_XDrawArc)( Display *display, Drawable w, GC gc, int x, int y, unsigned int width,unsigned int height, int a1, int a2);static proto_XDrawArc *func_XDrawArc = NULL;int XDrawArc( Display *display, Drawable w, GC gc, int x, int y, unsigned int width,unsigned int height, int a1, int a2) { if (!func_XDrawArc) func_XDrawArc=(proto_XDrawArc *)_loadfunc("XDrawArc"); return (func_XDrawArc)( display, w, gc, x, y, width,height, a1, a2);}typedef int (proto_XDrawImageString)( Display* display, Drawable d, GC gc, int x, int y, const char* string, int length);static proto_XDrawImageString *func_XDrawImageString = NULL;int XDrawImageString( Display* display, Drawable d, GC gc, int x, int y, const char* string, int length) { if (!func_XDrawImageString) func_XDrawImageString=(proto_XDrawImageString *)_loadfunc("XDrawImageString"); return (func_XDrawImageString)( display, d, gc, x, y, string, length);}typedef int (proto_XDrawImageString16)(Display *display, Drawable window, GC gc, int x, int y, const XChar2b* str, int len);static proto_XDrawImageString16 *func_XDrawImageString16 = NULL;int XDrawImageString16(Display *display, Drawable window, GC gc, int x, int y, const XChar2b* str, int len) { if (!func_XDrawImageString16) func_XDrawImageString16=(proto_XDrawImageString16 *)_loadfunc("XDrawImageString16"); return (func_XDrawImageString16)(display, window, gc, x, y, str, len);}typedef int (proto_XDrawLine)( Display *display, Drawable w, GC gc, int x1,int y1, int x2,int y2);static proto_XDrawLine *func_XDrawLine = NULL;int XDrawLine( Display *display, Drawable w, GC gc, int x1,int y1, int x2,int y2) { if (!func_XDrawLine) func_XDrawLine=(proto_XDrawLine *)_loadfunc("XDrawLine"); return (func_XDrawLine)( display, w, gc, x1,y1, x2,y2);}typedef int (proto_XDrawLines)( Display *display, Drawable w, GC gc, XPoint *points, int nps,int mode);static proto_XDrawLines *func_XDrawLines = NULL;int XDrawLines( Display *display, Drawable w, GC gc, XPoint *points, int nps,int mode) { if (!func_XDrawLines) func_XDrawLines=(proto_XDrawLines *)_loadfunc("XDrawLines"); return (func_XDrawLines)( display, w, gc, points, nps,mode);}typedef int (proto_XDrawPoint)( Display *display, Drawable w, GC gc, int x, int y);static proto_XDrawPoint *func_XDrawPoint = NULL;int XDrawPoint( Display *display, Drawable w, GC gc, int x, int y) { if (!func_XDrawPoint) func_XDrawPoint=(proto_XDrawPoint *)_loadfunc("XDrawPoint"); return (func_XDrawPoint)( display, w, gc, x, y);}typedef int (proto_XDrawPoints)( Display *display, Drawable w, GC gc, XPoint *points, int nps, int mode);static proto_XDrawPoints *func_XDrawPoints = NULL;int XDrawPoints( Display *display, Drawable w, GC gc, XPoint *points, int nps, int mode) { if (!func_XDrawPoints) func_XDrawPoints=(proto_XDrawPoints *)_loadfunc("XDrawPoints"); return (func_XDrawPoints)( display, w, gc, points, nps, mode);}typedef int (proto_XDrawRectangle)( Display *display, Drawable w, GC gc, int x, int y, unsigned int width, unsigned int height);static proto_XDrawRectangle *func_XDrawRectangle = NULL;int XDrawRectangle( Display *display, Drawable w, GC gc, int x, int y, unsigned int width, unsigned int height) { if (!func_XDrawRectangle) func_XDrawRectangle=(proto_XDrawRectangle *)_loadfunc("XDrawRectangle"); return (func_XDrawRectangle)( display, w, gc, x, y, width, height);}typedef int (proto_XDrawSegments)( Display *display, Drawable w, GC gc, XSegment *segs, int nsegs);static proto_XDrawSegments *func_XDrawSegments = NULL;int XDrawSegments( Display *display, Drawable w, GC gc, XSegment *segs, int nsegs) { if (!func_XDrawSegments) func_XDrawSegments=(proto_XDrawSegments *)_loadfunc("XDrawSegments"); return (func_XDrawSegments)( display, w, gc, segs, nsegs);}typedef int (proto_XDrawString)(Display *display, Drawable window, GC gc, int x, int y, const char* str, int len);static proto_XDrawString *func_XDrawString = NULL;int XDrawString(Display *display, Drawable window, GC gc, int x, int y, const char* str, int len) { if (!func_XDrawString) func_XDrawString=(proto_XDrawString *)_loadfunc("XDrawString"); return (func_XDrawString)(display, window, gc, x, y, str, len);}typedef int (proto_XDrawString16)(Display *display, Drawable window, GC gc, int x, int y, const XChar2b* str, int len);static proto_XDrawString16 *func_XDrawString16 = NULL;int XDrawString16(Display *display, Drawable window, GC gc, int x, int y, const XChar2b* str, int len) { if (!func_XDrawString16) func_XDrawString16=(proto_XDrawString16 *)_loadfunc("XDrawString16"); return (func_XDrawString16)(display, window, gc, x, y, str, len);}typedef StatusDef (proto_XFetchName)( Display *display, Window w, char **window_name_return);static proto_XFetchName *func_XFetchName = NULL;StatusDef XFetchName( Display *display, Window w, char **window_name_return) { if (!func_XFetchName) func_XFetchName=(proto_XFetchName *)_loadfunc("XFetchName"); return (func_XFetchName)( display, w, window_name_return);}typedef int (proto_XFillArc)( Display *display, Drawable w, GC gc, int x, int y, unsigned int width,unsigned height, int a1, int a2);static proto_XFillArc *func_XFillArc = NULL;int XFillArc( Display *display, Drawable w, GC gc, int x, int y, unsigned int width,unsigned height, int a1, int a2) { if (!func_XFillArc) func_XFillArc=(proto_XFillArc *)_loadfunc("XFillArc"); return (func_XFillArc)( display, w, gc, x, y, width,height, a1, a2);}typedef int (proto_XFillPolygon)( Display *display, Drawable w, GC gc, XPoint *points, int nps, int shape, int mode);static proto_XFillPolygon *func_XFillPolygon = NULL;int XFillPolygon( Display *display, Drawable w, GC gc, XPoint *points, int nps, int shape, int mode) { if (!func_XFillPolygon) func_XFillPolygon=(proto_XFillPolygon *)_loadfunc("XFillPolygon"); return (func_XFillPolygon)( display, w, gc, points, nps, shape, mode);}typedef int (proto_XFillRectangle)( Display *display, Drawable window, GC gc, int x, int y, unsigned int w, unsigned int h);static proto_XFillRectangle *func_XFillRectangle = NULL;int XFillRectangle( Display *display, Drawable window, GC gc, int x, int y, unsigned int w, unsigned int h) { if (!func_XFillRectangle) func_XFillRectangle=(proto_XFillRectangle *)_loadfunc("XFillRectangle"); return (func_XFillRectangle)( display, window, gc, x, y, w, h);}typedef BoolDef (proto_XFilterEvent)(XEvent* event,Window window);static proto_XFilterEvent *func_XFilterEvent = NULL;BoolDef XFilterEvent(XEvent* event,Window window) { if (!func_XFilterEvent) func_XFilterEvent=(proto_XFilterEvent *)_loadfunc("XFilterEvent"); return (func_XFilterEvent)(event,window);}typedef int (proto_XFlush)(Display *display);static proto_XFlush *func_XFlush = NULL;int XFlush(Display *display) { if (!func_XFlush) func_XFlush=(proto_XFlush *)_loadfunc("XFlush"); return (func_XFlush)(display);}typedef int (proto_XFree)(void *data);static proto_XFree *func_XFree = NULL;int XFree(void *data) { if (!func_XFree) func_XFree=(proto_XFree *)_loadfunc("XFree"); return (func_XFree)(data);}typedef int (proto_XFreeColors)(Display *display, Colormap cmap, unsigned long pixels[], int npixels, unsigned long planes);static proto_XFreeColors *func_XFreeColors = NULL;int XFreeColors(Display *display, Colormap cmap, unsigned long pixels[], int npixels, unsigned long planes) { if (!func_XFreeColors) func_XFreeColors=(proto_XFreeColors *)_loadfunc("XFreeColors"); return (func_XFreeColors)(display, cmap, pixels, npixels, planes);}typedef int (proto_XFreeExtensionList)(char **list);static proto_XFreeExtensionList *func_XFreeExtensionList = NULL;int XFreeExtensionList(char **list) { if (!func_XFreeExtensionList) func_XFreeExtensionList=(proto_XFreeExtensionList *)_loadfunc("XFreeExtensionList"); return (func_XFreeExtensionList)(list);}typedef int (proto_XFreeFont)(Display* display,XFontStruct* font_struct);static proto_XFreeFont *func_XFreeFont = NULL;int XFreeFont(Display* display,XFontStruct* font_struct) { if (!func_XFreeFont) func_XFreeFont=(proto_XFreeFont *)_loadfunc("XFreeFont"); return (func_XFreeFont)(display,font_struct);}typedef int (proto_XFreeGC)( Display *display, GC gc);static proto_XFreeGC *func_XFreeGC = NULL;int XFreeGC( Display *display, GC gc) { if (!func_XFreeGC) func_XFreeGC=(proto_XFreeGC *)_loadfunc("XFreeGC"); return (func_XFreeGC)( display, gc);}typedef int (proto_XFreeModifiermap)(XModifierKeymap *modmap);static proto_XFreeModifiermap *func_XFreeModifiermap = NULL;int XFreeModifiermap(XModifierKeymap *modmap) { if (!func_XFreeModifiermap) func_XFreeModifiermap=(proto_XFreeModifiermap *)_loadfunc("XFreeModifiermap"); return (func_XFreeModifiermap)(modmap);}typedef int (proto_XFreePixmap)( Display *display, Pixmap pixmap);static proto_XFreePixmap *func_XFreePixmap = NULL;int XFreePixmap( Display *display, Pixmap pixmap) { if (!func_XFreePixmap) func_XFreePixmap=(proto_XFreePixmap *)_loadfunc("XFreePixmap"); return (func_XFreePixmap)( display, pixmap);}typedef void (proto_XFreeStringList)(char **list);static proto_XFreeStringList *func_XFreeStringList = NULL;void XFreeStringList(char **list) { if (!func_XFreeStringList) func_XFreeStringList=(proto_XFreeStringList *)_loadfunc("XFreeStringList"); (func_XFreeStringList)(list);}typedef char * (proto_XGetAtomName)( Display *display, Atom atom);static proto_XGetAtomName *func_XGetAtomName = NULL;char * XGetAtomName( Display *display, Atom atom) { if (!func_XGetAtomName) func_XGetAtomName=(proto_XGetAtomName *)_loadfunc("XGetAtomName"); return (func_XGetAtomName)( display, atom);}typedef int (proto_XGetErrorDatabaseText)( Display *display, const char *name, const char *msg, const char *defstr, char *buf, int len);static proto_XGetErrorDatabaseText *func_XGetErrorDatabaseText = NULL;int XGetErrorDatabaseText( Display *display, const char *name, const char *msg, const char *defstr, char *buf, int len) { if (!func_XGetErrorDatabaseText) func_XGetErrorDatabaseText=(proto_XGetErrorDatabaseText *)_loadfunc("XGetErrorDatabaseText"); return (func_XGetErrorDatabaseText)( display, name, msg, defstr, buf, len);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -