📄 xwrappers.gen
字号:
}typedef int (proto_XGetErrorText)( Display *display, int code, char *buf, int len);static proto_XGetErrorText *func_XGetErrorText = NULL;int XGetErrorText( Display *display, int code, char *buf, int len) { if (!func_XGetErrorText) func_XGetErrorText=(proto_XGetErrorText *)_loadfunc("XGetErrorText"); return (func_XGetErrorText)( display, code, buf, len);}typedef char ** (proto_XGetFontPath)( Display *display, int *nps);static proto_XGetFontPath *func_XGetFontPath = NULL;char ** XGetFontPath( Display *display, int *nps) { if (!func_XGetFontPath) func_XGetFontPath=(proto_XGetFontPath *)_loadfunc("XGetFontPath"); return (func_XGetFontPath)( display, nps);}typedef BoolDef (proto_XGetFontProperty)( XFontStruct *fstruct, Atom atom, unsigned long *val);static proto_XGetFontProperty *func_XGetFontProperty = NULL;BoolDef XGetFontProperty( XFontStruct *fstruct, Atom atom, unsigned long *val) { if (!func_XGetFontProperty) func_XGetFontProperty=(proto_XGetFontProperty *)_loadfunc("XGetFontProperty"); return (func_XGetFontProperty)( fstruct, atom, val);}typedef StatusDef (proto_XGetGeometry)( Display *display, Drawable w, Window *root, int *x, int *y, unsigned int *width, unsigned int *height, unsigned int *bw, unsigned int *depth);static proto_XGetGeometry *func_XGetGeometry = NULL;StatusDef XGetGeometry( Display *display, Drawable w, Window *root, int *x, int *y, unsigned int *width, unsigned int *height, unsigned int *bw, unsigned int *depth) { if (!func_XGetGeometry) func_XGetGeometry=(proto_XGetGeometry *)_loadfunc("XGetGeometry"); return (func_XGetGeometry)( display, w, root, x, y, width, height, bw, depth);}typedef int (proto_XGetIconName)( Display *display, Window w, char **iname);static proto_XGetIconName *func_XGetIconName = NULL;int XGetIconName( Display *display, Window w, char **iname) { if (!func_XGetIconName) func_XGetIconName=(proto_XGetIconName *)_loadfunc("XGetIconName"); return (func_XGetIconName)( display, w, iname);}typedef XImage * (proto_XGetImage)( Display *display, Drawable drawable, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format);static proto_XGetImage *func_XGetImage = NULL;XImage * XGetImage( Display *display, Drawable drawable, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) { if (!func_XGetImage) func_XGetImage=(proto_XGetImage *)_loadfunc("XGetImage"); return (func_XGetImage)( display, drawable, x, y, width, height, plane_mask, format);}typedef int (proto_XGetInputFocus)( Display *display, Window *focus, int *revto);static proto_XGetInputFocus *func_XGetInputFocus = NULL;int XGetInputFocus( Display *display, Window *focus, int *revto) { if (!func_XGetInputFocus) func_XGetInputFocus=(proto_XGetInputFocus *)_loadfunc("XGetInputFocus"); return (func_XGetInputFocus)( display, focus, revto);}typedef XModifierKeymap * (proto_XGetModifierMapping)(Display *display);static proto_XGetModifierMapping *func_XGetModifierMapping = NULL;XModifierKeymap * XGetModifierMapping(Display *display) { if (!func_XGetModifierMapping) func_XGetModifierMapping=(proto_XGetModifierMapping *)_loadfunc("XGetModifierMapping"); return (func_XGetModifierMapping)(display);}typedef Window (proto_XGetSelectionOwner)( Display* display, Atom selection);static proto_XGetSelectionOwner *func_XGetSelectionOwner = NULL;Window XGetSelectionOwner( Display* display, Atom selection) { if (!func_XGetSelectionOwner) func_XGetSelectionOwner=(proto_XGetSelectionOwner *)_loadfunc("XGetSelectionOwner"); return (func_XGetSelectionOwner)( display, selection);}typedef StatusDef (proto_XGetStandardColormap)( Display *display, Window w, XStandardColormap *cmapinf, Atom prop);static proto_XGetStandardColormap *func_XGetStandardColormap = NULL;StatusDef XGetStandardColormap( Display *display, Window w, XStandardColormap *cmapinf, Atom prop) { if (!func_XGetStandardColormap) func_XGetStandardColormap=(proto_XGetStandardColormap *)_loadfunc("XGetStandardColormap"); return (func_XGetStandardColormap)( display, w, cmapinf, prop);}typedef XVisualInfo * (proto_XGetVisualInfo)( Display *display, long vinm, XVisualInfo *vint, int *n);static proto_XGetVisualInfo *func_XGetVisualInfo = NULL;XVisualInfo * XGetVisualInfo( Display *display, long vinm, XVisualInfo *vint, int *n) { if (!func_XGetVisualInfo) func_XGetVisualInfo=(proto_XGetVisualInfo *)_loadfunc("XGetVisualInfo"); return (func_XGetVisualInfo)( display, vinm, vint, n);}typedef StatusDef (proto_XGetWindowAttributes)(Display *display, Window w, XWindowAttributes *wattr);static proto_XGetWindowAttributes *func_XGetWindowAttributes = NULL;StatusDef XGetWindowAttributes(Display *display, Window w, XWindowAttributes *wattr) { if (!func_XGetWindowAttributes) func_XGetWindowAttributes=(proto_XGetWindowAttributes *)_loadfunc("XGetWindowAttributes"); return (func_XGetWindowAttributes)(display, w, wattr);}typedef int (proto_XGetWindowProperty)( Display *display, Window window, Atom property, long long_offset, long long_length, BoolDef delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char **prop_return);static proto_XGetWindowProperty *func_XGetWindowProperty = NULL;int XGetWindowProperty( Display *display, Window window, Atom property, long long_offset, long long_length, BoolDef delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char **prop_return) { if (!func_XGetWindowProperty) func_XGetWindowProperty=(proto_XGetWindowProperty *)_loadfunc("XGetWindowProperty"); return (func_XGetWindowProperty)( display, window, property, long_offset, long_length, delete, req_type, actual_type_return, actual_format_return, nitems_return, bytes_after_return, prop_return);}typedef int (proto_XGrabServer)(Display *display);static proto_XGrabServer *func_XGrabServer = NULL;int XGrabServer(Display *display) { if (!func_XGrabServer) func_XGrabServer=(proto_XGrabServer *)_loadfunc("XGrabServer"); return (func_XGrabServer)(display);}typedef int (proto_XIconifyWindow)(Display *display, Window w, int screen_number);static proto_XIconifyWindow *func_XIconifyWindow = NULL;int XIconifyWindow(Display *display, Window w, int screen_number) { if (!func_XIconifyWindow) func_XIconifyWindow=(proto_XIconifyWindow *)_loadfunc("XIconifyWindow"); return (func_XIconifyWindow)(display, w, screen_number);}typedef XExtCodes * (proto_XInitExtension)(Display *display, const char *name);static proto_XInitExtension *func_XInitExtension = NULL;XExtCodes * XInitExtension(Display *display, const char *name) { if (!func_XInitExtension) func_XInitExtension=(proto_XInitExtension *)_loadfunc("XInitExtension"); return (func_XInitExtension)(display, name);}typedef Atom (proto_XInternAtom)( Display *display, const char *property_name, BoolDef only_if_exists);static proto_XInternAtom *func_XInternAtom = NULL;Atom XInternAtom( Display *display, const char *property_name, BoolDef only_if_exists) { if (!func_XInternAtom) func_XInternAtom=(proto_XInternAtom *)_loadfunc("XInternAtom"); return (func_XInternAtom)( display, property_name, only_if_exists);}typedef KeySym (proto_XKeycodeToKeysym)( Display *display, unsigned int keycode, int index);static proto_XKeycodeToKeysym *func_XKeycodeToKeysym = NULL;KeySym XKeycodeToKeysym( Display *display, unsigned int keycode, int index) { if (!func_XKeycodeToKeysym) func_XKeycodeToKeysym=(proto_XKeycodeToKeysym *)_loadfunc("XKeycodeToKeysym"); return (func_XKeycodeToKeysym)( display, keycode, index);}typedef KeyCode (proto_XKeysymToKeycode)( Display *display, KeySym keysym);static proto_XKeysymToKeycode *func_XKeysymToKeycode = NULL;KeyCode XKeysymToKeycode( Display *display, KeySym keysym) { if (!func_XKeysymToKeycode) func_XKeysymToKeycode=(proto_XKeysymToKeycode *)_loadfunc("XKeysymToKeycode"); return (func_XKeysymToKeycode)( display, keysym);}typedef char ** (proto_XListExtensions)( Display *display, int *ret_num);static proto_XListExtensions *func_XListExtensions = NULL;char ** XListExtensions( Display *display, int *ret_num) { if (!func_XListExtensions) func_XListExtensions=(proto_XListExtensions *)_loadfunc("XListExtensions"); return (func_XListExtensions)( display, ret_num);}typedef XFontStruct * (proto_XLoadQueryFont)(Display *display, const char *name);static proto_XLoadQueryFont *func_XLoadQueryFont = NULL;XFontStruct * XLoadQueryFont(Display *display, const char *name) { if (!func_XLoadQueryFont) func_XLoadQueryFont=(proto_XLoadQueryFont *)_loadfunc("XLoadQueryFont"); return (func_XLoadQueryFont)(display, name);}typedef int (proto_XLookupString)( XKeyEvent *event, char *buf, int nbytes, KeySym *keysym, XComposeStatus *status);static proto_XLookupString *func_XLookupString = NULL;int XLookupString( XKeyEvent *event, char *buf, int nbytes, KeySym *keysym, XComposeStatus *status) { if (!func_XLookupString) func_XLookupString=(proto_XLookupString *)_loadfunc("XLookupString"); return (func_XLookupString)( event, buf, nbytes, keysym, status);}typedef int (proto_XLowerWindow)(Display *display, Window w);static proto_XLowerWindow *func_XLowerWindow = NULL;int XLowerWindow(Display *display, Window w) { if (!func_XLowerWindow) func_XLowerWindow=(proto_XLowerWindow *)_loadfunc("XLowerWindow"); return (func_XLowerWindow)(display, w);}typedef int (proto_XMapRaised)( Display *display, Window w);static proto_XMapRaised *func_XMapRaised = NULL;int XMapRaised( Display *display, Window w) { if (!func_XMapRaised) func_XMapRaised=(proto_XMapRaised *)_loadfunc("XMapRaised"); return (func_XMapRaised)( display, w);}typedef int (proto_XMapSubwindows)( Display *display, Window w);static proto_XMapSubwindows *func_XMapSubwindows = NULL;int XMapSubwindows( Display *display, Window w) { if (!func_XMapSubwindows) func_XMapSubwindows=(proto_XMapSubwindows *)_loadfunc("XMapSubwindows"); return (func_XMapSubwindows)( display, w);}typedef int (proto_XMapWindow)(Display *display, Window window);static proto_XMapWindow *func_XMapWindow = NULL;int XMapWindow(Display *display, Window window) { if (!func_XMapWindow) func_XMapWindow=(proto_XMapWindow *)_loadfunc("XMapWindow"); return (func_XMapWindow)(display, window);}typedef StatusDef (proto_XMatchVisualInfo)( Display* display, int screen, int depth, int class, XVisualInfo* vinfo_return);static proto_XMatchVisualInfo *func_XMatchVisualInfo = NULL;StatusDef XMatchVisualInfo( Display* display, int screen, int depth, int class, XVisualInfo* vinfo_return) { if (!func_XMatchVisualInfo) func_XMatchVisualInfo=(proto_XMatchVisualInfo *)_loadfunc("XMatchVisualInfo"); return (func_XMatchVisualInfo)( display, screen, depth, class, vinfo_return);}typedef int (proto_XMoveResizeWindow)( Display* display, Window w, int x, int y, unsigned int width, unsigned int height);static proto_XMoveResizeWindow *func_XMoveResizeWindow = NULL;int XMoveResizeWindow( Display* display, Window w, int x, int y, unsigned int width, unsigned int height) { if (!func_XMoveResizeWindow) func_XMoveResizeWindow=(proto_XMoveResizeWindow *)_loadfunc("XMoveResizeWindow"); return (func_XMoveResizeWindow)( display, w, x, y, width, height);}typedef int (proto_XMoveWindow)( Display* display, Window w, int x, int y);static proto_XMoveWindow *func_XMoveWindow = NULL;int XMoveWindow( Display* display, Window w, int x, int y) { if (!func_XMoveWindow) func_XMoveWindow=(proto_XMoveWindow *)_loadfunc("XMoveWindow"); return (func_XMoveWindow)( display, w, x, y);}typedef int (proto_XNextEvent)( Display *display, XEvent *event);static proto_XNextEvent *func_XNextEvent = NULL;int XNextEvent( Display *display, XEvent *event) { if (!func_XNextEvent) func_XNextEvent=(proto_XNextEvent *)_loadfunc("XNextEvent"); return (func_XNextEvent)( display, event);}typedef XIM (proto_XOpenIM)( Display* dpy, struct _XrmHashBucketRec* rdb, char* res_name, char* res_class);static proto_XOpenIM *func_XOpenIM = NULL;XIM XOpenIM( Display* dpy, struct _XrmHashBucketRec* rdb, char* res_name, char* res_class) { if (!func_XOpenIM) func_XOpenIM=(proto_XOpenIM *)_loadfunc("XOpenIM"); return (func_XOpenIM)( dpy, rdb, res_name, res_class);}typedef StatusDef (proto_XParseColor)( Display *display, Colormap map, const char* spec, XColor *colorPtr);static proto_XParseColor *func_XParseColor = NULL;StatusDef XParseColor( Display *display, Colormap map, const char* spec, XColor *colorPtr) { if (!func_XParseColor) func_XParseColor=(proto_XParseColor *)_loadfunc("XParseColor"); return (func_XParseColor)( display, map, spec, colorPtr);}typedef int (proto_XParseGeometry)( const char* string, int* x, int* y, unsigned int* width, unsigned int* height);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -