12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703 |
- /*
- * tkIntXlibDecls.h --
- *
- * This file contains the declarations for all platform dependent
- * unsupported functions that are exported by the Tk library. These
- * interfaces are not guaranteed to remain the same between
- * versions. Use at your own risk.
- *
- * Copyright (c) 1998-1999 by Scriptics Corporation.
- * All rights reserved.
- */
- #ifndef _TKINTXLIBDECLS
- #define _TKINTXLIBDECLS
- /*
- * WARNING: This file is automatically generated by the tools/genStubs.tcl
- * script. Any modifications to the function declarations below should be made
- * in the generic/tkInt.decls script.
- */
- #ifndef _TCL
- # include <tcl.h>
- #endif
- /* Some (older) versions of X11/Xutil.h have a wrong signature of those
- two functions, so move them out of the way temporarly. */
- #define XOffsetRegion _XOffsetRegion
- #define XUnionRegion _XUnionRegion
- #include "X11/Xutil.h"
- #undef XOffsetRegion
- #undef XUnionRegion
- #ifdef BUILD_tk
- #undef TCL_STORAGE_CLASS
- #define TCL_STORAGE_CLASS DLLEXPORT
- #endif
- typedef int (*XAfterFunction) ( /* WARNING, this type not in Xlib spec */
- Display* /* display */
- );
- /* !BEGIN!: Do not edit below this line. */
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * Exported function declarations:
- */
- #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
- /* 0 */
- EXTERN int XSetDashes(Display *display, GC gc, int dash_offset,
- _Xconst char *dash_list, int n);
- /* 1 */
- EXTERN XModifierKeymap * XGetModifierMapping(Display *d);
- /* 2 */
- EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1,
- int i1, int i2, char *cp, unsigned int ui2,
- unsigned int ui3, int i3, int i4);
- /* 3 */
- EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2,
- unsigned int ui1, unsigned int ui2,
- unsigned long ul, int i3);
- /* 4 */
- EXTERN char * XGetAtomName(Display *d, Atom a);
- /* 5 */
- EXTERN char * XKeysymToString(KeySym k);
- /* 6 */
- EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v,
- int i);
- /* 7 */
- EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
- XColor *x1, XColor *x2, unsigned int ui1,
- unsigned int ui2);
- /* 8 */
- EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
- unsigned int ui1, unsigned int ui2,
- XColor _Xconst *x1, XColor _Xconst *x2);
- /* 9 */
- EXTERN GContext XGContextFromGC(GC g);
- /* 10 */
- EXTERN XHostAddress * XListHosts(Display *d, int *i, Bool *b);
- /* 11 */
- EXTERN KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i);
- /* 12 */
- EXTERN KeySym XStringToKeysym(_Xconst char *c);
- /* 13 */
- EXTERN Window XRootWindow(Display *d, int i);
- /* 14 */
- EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x);
- /* 15 */
- EXTERN Status XIconifyWindow(Display *d, Window w, int i);
- /* 16 */
- EXTERN Status XWithdrawWindow(Display *d, Window w, int i);
- /* 17 */
- EXTERN Status XGetWMColormapWindows(Display *d, Window w,
- Window **wpp, int *ip);
- /* 18 */
- EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp);
- /* 19 */
- EXTERN int XBell(Display *d, int i);
- /* 20 */
- EXTERN int XChangeProperty(Display *d, Window w, Atom a1,
- Atom a2, int i1, int i2,
- _Xconst unsigned char *c, int i3);
- /* 21 */
- EXTERN int XChangeWindowAttributes(Display *d, Window w,
- unsigned long ul, XSetWindowAttributes *x);
- /* 22 */
- EXTERN int XClearWindow(Display *d, Window w);
- /* 23 */
- EXTERN int XConfigureWindow(Display *d, Window w,
- unsigned int i, XWindowChanges *x);
- /* 24 */
- EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4);
- /* 25 */
- EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4,
- unsigned long ul);
- /* 26 */
- EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d,
- _Xconst char *data, unsigned int width,
- unsigned int height);
- /* 27 */
- EXTERN int XDefineCursor(Display *d, Window w, Cursor c);
- /* 28 */
- EXTERN int XDeleteProperty(Display *d, Window w, Atom a);
- /* 29 */
- EXTERN int XDestroyWindow(Display *d, Window w);
- /* 30 */
- EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- /* 31 */
- EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x,
- int i1, int i2);
- /* 32 */
- EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- /* 33 */
- EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- /* 34 */
- EXTERN int XFillPolygon(Display *d, Drawable dr, GC g,
- XPoint *x, int i1, int i2, int i3);
- /* 35 */
- EXTERN int XFillRectangles(Display *d, Drawable dr, GC g,
- XRectangle *x, int i);
- /* 36 */
- EXTERN int XForceScreenSaver(Display *d, int i);
- /* 37 */
- EXTERN int XFreeColormap(Display *d, Colormap c);
- /* 38 */
- EXTERN int XFreeColors(Display *d, Colormap c,
- unsigned long *ulp, int i, unsigned long ul);
- /* 39 */
- EXTERN int XFreeCursor(Display *d, Cursor c);
- /* 40 */
- EXTERN int XFreeModifiermap(XModifierKeymap *x);
- /* 41 */
- EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w,
- int *i1, int *i2, unsigned int *ui1,
- unsigned int *ui2, unsigned int *ui3,
- unsigned int *ui4);
- /* 42 */
- EXTERN int XGetInputFocus(Display *d, Window *w, int *i);
- /* 43 */
- EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1,
- long l1, long l2, Bool b, Atom a2, Atom *ap,
- int *ip, unsigned long *ulp1,
- unsigned long *ulp2, unsigned char **cpp);
- /* 44 */
- EXTERN Status XGetWindowAttributes(Display *d, Window w,
- XWindowAttributes *x);
- /* 45 */
- EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1,
- int i2, Time t);
- /* 46 */
- EXTERN int XGrabPointer(Display *d, Window w1, Bool b,
- unsigned int ui, int i1, int i2, Window w2,
- Cursor c, Time t);
- /* 47 */
- EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k);
- /* 48 */
- EXTERN Status XLookupColor(Display *d, Colormap c1,
- _Xconst char *c2, XColor *x1, XColor *x2);
- /* 49 */
- EXTERN int XMapWindow(Display *d, Window w);
- /* 50 */
- EXTERN int XMoveResizeWindow(Display *d, Window w, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- /* 51 */
- EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2);
- /* 52 */
- EXTERN int XNextEvent(Display *d, XEvent *x);
- /* 53 */
- EXTERN int XPutBackEvent(Display *d, XEvent *x);
- /* 54 */
- EXTERN int XQueryColors(Display *d, Colormap c, XColor *x,
- int i);
- /* 55 */
- EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2,
- Window *w3, int *i1, int *i2, int *i3,
- int *i4, unsigned int *ui);
- /* 56 */
- EXTERN Status XQueryTree(Display *d, Window w1, Window *w2,
- Window *w3, Window **w4, unsigned int *ui);
- /* 57 */
- EXTERN int XRaiseWindow(Display *d, Window w);
- /* 58 */
- EXTERN int XRefreshKeyboardMapping(XMappingEvent *x);
- /* 59 */
- EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1,
- unsigned int ui2);
- /* 60 */
- EXTERN int XSelectInput(Display *d, Window w, long l);
- /* 61 */
- EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l,
- XEvent *x);
- /* 62 */
- EXTERN int XSetCommand(Display *d, Window w, char **c, int i);
- /* 63 */
- EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c);
- /* 64 */
- EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t);
- /* 65 */
- EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w,
- Time t);
- /* 66 */
- EXTERN int XSetWindowBackground(Display *d, Window w,
- unsigned long ul);
- /* 67 */
- EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w,
- Pixmap p);
- /* 68 */
- EXTERN int XSetWindowBorder(Display *d, Window w,
- unsigned long ul);
- /* 69 */
- EXTERN int XSetWindowBorderPixmap(Display *d, Window w,
- Pixmap p);
- /* 70 */
- EXTERN int XSetWindowBorderWidth(Display *d, Window w,
- unsigned int ui);
- /* 71 */
- EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c);
- /* 72 */
- EXTERN Bool XTranslateCoordinates(Display *d, Window w1,
- Window w2, int i1, int i2, int *i3, int *i4,
- Window *w3);
- /* 73 */
- EXTERN int XUngrabKeyboard(Display *d, Time t);
- /* 74 */
- EXTERN int XUngrabPointer(Display *d, Time t);
- /* 75 */
- EXTERN int XUnmapWindow(Display *d, Window w);
- /* 76 */
- EXTERN int XWindowEvent(Display *d, Window w, long l, XEvent *x);
- /* 77 */
- EXTERN void XDestroyIC(XIC x);
- /* 78 */
- EXTERN Bool XFilterEvent(XEvent *x, Window w);
- /* 79 */
- EXTERN int XmbLookupString(XIC xi, XKeyPressedEvent *xk,
- char *c, int i, KeySym *k, Status *s);
- /* 80 */
- EXTERN int TkPutImage(unsigned long *colors, int ncolors,
- Display *display, Drawable d, GC gc,
- XImage *image, int src_x, int src_y,
- int dest_x, int dest_y, unsigned int width,
- unsigned int height);
- /* Slot 81 is reserved */
- /* 82 */
- EXTERN Status XParseColor(Display *display, Colormap map,
- _Xconst char *spec, XColor *colorPtr);
- /* 83 */
- EXTERN GC XCreateGC(Display *display, Drawable d,
- unsigned long valuemask, XGCValues *values);
- /* 84 */
- EXTERN int XFreeGC(Display *display, GC gc);
- /* 85 */
- EXTERN Atom XInternAtom(Display *display,
- _Xconst char *atom_name, Bool only_if_exists);
- /* 86 */
- EXTERN int XSetBackground(Display *display, GC gc,
- unsigned long foreground);
- /* 87 */
- EXTERN int XSetForeground(Display *display, GC gc,
- unsigned long foreground);
- /* 88 */
- EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap);
- /* 89 */
- EXTERN int XSetClipOrigin(Display *display, GC gc,
- int clip_x_origin, int clip_y_origin);
- /* 90 */
- EXTERN int XSetTSOrigin(Display *display, GC gc,
- int ts_x_origin, int ts_y_origin);
- /* 91 */
- EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask,
- XGCValues *values);
- /* 92 */
- EXTERN int XSetFont(Display *display, GC gc, Font font);
- /* 93 */
- EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode);
- /* 94 */
- EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple);
- /* 95 */
- EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule);
- /* 96 */
- EXTERN int XSetFillStyle(Display *display, GC gc,
- int fill_style);
- /* 97 */
- EXTERN int XSetFunction(Display *display, GC gc, int function);
- /* 98 */
- EXTERN int XSetLineAttributes(Display *display, GC gc,
- unsigned int line_width, int line_style,
- int cap_style, int join_style);
- /* 99 */
- EXTERN int _XInitImageFuncPtrs(XImage *image);
- /* 100 */
- EXTERN XIC XCreateIC(XIM xim, ...);
- /* 101 */
- EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask,
- XVisualInfo *vinfo_template,
- int *nitems_return);
- /* 102 */
- EXTERN void XSetWMClientMachine(Display *display, Window w,
- XTextProperty *text_prop);
- /* 103 */
- EXTERN Status XStringListToTextProperty(char **list, int count,
- XTextProperty *text_prop_return);
- /* 104 */
- EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1,
- int y1, int x2, int y2);
- /* 105 */
- EXTERN int XWarpPointer(Display *d, Window s, Window dw, int sx,
- int sy, unsigned int sw, unsigned int sh,
- int dx, int dy);
- /* 106 */
- EXTERN int XFillRectangle(Display *display, Drawable d, GC gc,
- int x, int y, unsigned int width,
- unsigned int height);
- /* 107 */
- EXTERN int XFlush(Display *display);
- /* 108 */
- EXTERN int XGrabServer(Display *display);
- /* 109 */
- EXTERN int XUngrabServer(Display *display);
- /* 110 */
- EXTERN int XFree(void *data);
- /* 111 */
- EXTERN int XNoOp(Display *display);
- /* 112 */
- EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff);
- /* 113 */
- EXTERN int XSync(Display *display, Bool discard);
- /* 114 */
- EXTERN VisualID XVisualIDFromVisual(Visual *visual);
- /* Slot 115 is reserved */
- /* Slot 116 is reserved */
- /* Slot 117 is reserved */
- /* Slot 118 is reserved */
- /* Slot 119 is reserved */
- /* 120 */
- EXTERN int XOffsetRegion(Region rgn, int dx, int dy);
- /* 121 */
- EXTERN int XUnionRegion(Region srca, Region srcb,
- Region dr_return);
- /* 122 */
- EXTERN Window XCreateWindow(Display *display, Window parent, int x,
- int y, unsigned int width,
- unsigned int height,
- unsigned int border_width, int depth,
- unsigned int clazz, Visual *visual,
- unsigned long value_mask,
- XSetWindowAttributes *attributes);
- /* Slot 123 is reserved */
- /* Slot 124 is reserved */
- /* Slot 125 is reserved */
- /* Slot 126 is reserved */
- /* Slot 127 is reserved */
- /* Slot 128 is reserved */
- /* 129 */
- EXTERN int XLowerWindow(Display *d, Window w);
- /* 130 */
- EXTERN int XFillArcs(Display *d, Drawable dr, GC gc, XArc *a,
- int n);
- /* 131 */
- EXTERN int XDrawArcs(Display *d, Drawable dr, GC gc, XArc *a,
- int n);
- /* 132 */
- EXTERN int XDrawRectangles(Display *d, Drawable dr, GC gc,
- XRectangle *r, int n);
- /* 133 */
- EXTERN int XDrawSegments(Display *d, Drawable dr, GC gc,
- XSegment *s, int n);
- /* 134 */
- EXTERN int XDrawPoint(Display *d, Drawable dr, GC gc, int x,
- int y);
- /* 135 */
- EXTERN int XDrawPoints(Display *d, Drawable dr, GC gc,
- XPoint *p, int n, int m);
- /* 136 */
- EXTERN int XReparentWindow(Display *d, Window w, Window p,
- int x, int y);
- /* 137 */
- EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
- int sx, int sy, int dx, int dy,
- unsigned int w, unsigned int h);
- /* Slot 138 is reserved */
- /* Slot 139 is reserved */
- /* Slot 140 is reserved */
- /* Slot 141 is reserved */
- /* Slot 142 is reserved */
- /* Slot 143 is reserved */
- /* Slot 144 is reserved */
- /* Slot 145 is reserved */
- /* Slot 146 is reserved */
- /* Slot 147 is reserved */
- /* Slot 148 is reserved */
- /* Slot 149 is reserved */
- /* Slot 150 is reserved */
- /* Slot 151 is reserved */
- /* Slot 152 is reserved */
- /* Slot 153 is reserved */
- /* Slot 154 is reserved */
- /* Slot 155 is reserved */
- /* Slot 156 is reserved */
- /* Slot 157 is reserved */
- /* 158 */
- EXTERN void TkUnusedStubEntry(void);
- #endif /* WIN */
- #ifdef MAC_OSX_TK /* AQUA */
- /* 0 */
- EXTERN int XSetDashes(Display *display, GC gc, int dash_offset,
- _Xconst char *dash_list, int n);
- /* 1 */
- EXTERN XModifierKeymap * XGetModifierMapping(Display *d);
- /* 2 */
- EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1,
- int i1, int i2, char *cp, unsigned int ui2,
- unsigned int ui3, int i3, int i4);
- /* 3 */
- EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2,
- unsigned int ui1, unsigned int ui2,
- unsigned long ul, int i3);
- /* 4 */
- EXTERN char * XGetAtomName(Display *d, Atom a);
- /* 5 */
- EXTERN char * XKeysymToString(KeySym k);
- /* 6 */
- EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v,
- int i);
- /* 7 */
- EXTERN GContext XGContextFromGC(GC g);
- /* 8 */
- EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i);
- /* 9 */
- EXTERN KeySym XStringToKeysym(_Xconst char *c);
- /* 10 */
- EXTERN Window XRootWindow(Display *d, int i);
- /* 11 */
- EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x);
- /* 12 */
- EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp);
- /* 13 */
- EXTERN int XBell(Display *d, int i);
- /* 14 */
- EXTERN int XChangeProperty(Display *d, Window w, Atom a1,
- Atom a2, int i1, int i2,
- _Xconst unsigned char *c, int i3);
- /* 15 */
- EXTERN int XChangeWindowAttributes(Display *d, Window w,
- unsigned long ul, XSetWindowAttributes *x);
- /* 16 */
- EXTERN int XConfigureWindow(Display *d, Window w,
- unsigned int i, XWindowChanges *x);
- /* 17 */
- EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4);
- /* 18 */
- EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4,
- unsigned long ul);
- /* 19 */
- EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d,
- _Xconst char *data, unsigned int width,
- unsigned int height);
- /* 20 */
- EXTERN int XDefineCursor(Display *d, Window w, Cursor c);
- /* 21 */
- EXTERN int XDestroyWindow(Display *d, Window w);
- /* 22 */
- EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- /* 23 */
- EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x,
- int i1, int i2);
- /* 24 */
- EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- /* 25 */
- EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- /* 26 */
- EXTERN int XFillPolygon(Display *d, Drawable dr, GC g,
- XPoint *x, int i1, int i2, int i3);
- /* 27 */
- EXTERN int XFillRectangles(Display *d, Drawable dr, GC g,
- XRectangle *x, int i);
- /* 28 */
- EXTERN int XFreeColormap(Display *d, Colormap c);
- /* 29 */
- EXTERN int XFreeColors(Display *d, Colormap c,
- unsigned long *ulp, int i, unsigned long ul);
- /* 30 */
- EXTERN int XFreeModifiermap(XModifierKeymap *x);
- /* 31 */
- EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w,
- int *i1, int *i2, unsigned int *ui1,
- unsigned int *ui2, unsigned int *ui3,
- unsigned int *ui4);
- /* 32 */
- EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1,
- long l1, long l2, Bool b, Atom a2, Atom *ap,
- int *ip, unsigned long *ulp1,
- unsigned long *ulp2, unsigned char **cpp);
- /* 33 */
- EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1,
- int i2, Time t);
- /* 34 */
- EXTERN int XGrabPointer(Display *d, Window w1, Bool b,
- unsigned int ui, int i1, int i2, Window w2,
- Cursor c, Time t);
- /* 35 */
- EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k);
- /* 36 */
- EXTERN int XMapWindow(Display *d, Window w);
- /* 37 */
- EXTERN int XMoveResizeWindow(Display *d, Window w, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- /* 38 */
- EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2);
- /* 39 */
- EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2,
- Window *w3, int *i1, int *i2, int *i3,
- int *i4, unsigned int *ui);
- /* 40 */
- EXTERN int XRaiseWindow(Display *d, Window w);
- /* 41 */
- EXTERN int XRefreshKeyboardMapping(XMappingEvent *x);
- /* 42 */
- EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1,
- unsigned int ui2);
- /* 43 */
- EXTERN int XSelectInput(Display *d, Window w, long l);
- /* 44 */
- EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l,
- XEvent *x);
- /* 45 */
- EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c);
- /* 46 */
- EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t);
- /* 47 */
- EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w,
- Time t);
- /* 48 */
- EXTERN int XSetWindowBackground(Display *d, Window w,
- unsigned long ul);
- /* 49 */
- EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w,
- Pixmap p);
- /* 50 */
- EXTERN int XSetWindowBorder(Display *d, Window w,
- unsigned long ul);
- /* 51 */
- EXTERN int XSetWindowBorderPixmap(Display *d, Window w,
- Pixmap p);
- /* 52 */
- EXTERN int XSetWindowBorderWidth(Display *d, Window w,
- unsigned int ui);
- /* 53 */
- EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c);
- /* 54 */
- EXTERN int XUngrabKeyboard(Display *d, Time t);
- /* 55 */
- EXTERN int XUngrabPointer(Display *d, Time t);
- /* 56 */
- EXTERN int XUnmapWindow(Display *d, Window w);
- /* 57 */
- EXTERN int TkPutImage(unsigned long *colors, int ncolors,
- Display *display, Drawable d, GC gc,
- XImage *image, int src_x, int src_y,
- int dest_x, int dest_y, unsigned int width,
- unsigned int height);
- /* 58 */
- EXTERN Status XParseColor(Display *display, Colormap map,
- _Xconst char *spec, XColor *colorPtr);
- /* 59 */
- EXTERN GC XCreateGC(Display *display, Drawable d,
- unsigned long valuemask, XGCValues *values);
- /* 60 */
- EXTERN int XFreeGC(Display *display, GC gc);
- /* 61 */
- EXTERN Atom XInternAtom(Display *display,
- _Xconst char *atom_name, Bool only_if_exists);
- /* 62 */
- EXTERN int XSetBackground(Display *display, GC gc,
- unsigned long foreground);
- /* 63 */
- EXTERN int XSetForeground(Display *display, GC gc,
- unsigned long foreground);
- /* 64 */
- EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap);
- /* 65 */
- EXTERN int XSetClipOrigin(Display *display, GC gc,
- int clip_x_origin, int clip_y_origin);
- /* 66 */
- EXTERN int XSetTSOrigin(Display *display, GC gc,
- int ts_x_origin, int ts_y_origin);
- /* 67 */
- EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask,
- XGCValues *values);
- /* 68 */
- EXTERN int XSetFont(Display *display, GC gc, Font font);
- /* 69 */
- EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode);
- /* 70 */
- EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple);
- /* 71 */
- EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule);
- /* 72 */
- EXTERN int XSetFillStyle(Display *display, GC gc,
- int fill_style);
- /* 73 */
- EXTERN int XSetFunction(Display *display, GC gc, int function);
- /* 74 */
- EXTERN int XSetLineAttributes(Display *display, GC gc,
- unsigned int line_width, int line_style,
- int cap_style, int join_style);
- /* 75 */
- EXTERN int _XInitImageFuncPtrs(XImage *image);
- /* 76 */
- EXTERN XIC XCreateIC(XIM xim, ...);
- /* 77 */
- EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask,
- XVisualInfo *vinfo_template,
- int *nitems_return);
- /* 78 */
- EXTERN void XSetWMClientMachine(Display *display, Window w,
- XTextProperty *text_prop);
- /* 79 */
- EXTERN Status XStringListToTextProperty(char **list, int count,
- XTextProperty *text_prop_return);
- /* 80 */
- EXTERN int XDrawSegments(Display *display, Drawable d, GC gc,
- XSegment *segments, int nsegments);
- /* 81 */
- EXTERN int XForceScreenSaver(Display *display, int mode);
- /* 82 */
- EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1,
- int y1, int x2, int y2);
- /* 83 */
- EXTERN int XFillRectangle(Display *display, Drawable d, GC gc,
- int x, int y, unsigned int width,
- unsigned int height);
- /* 84 */
- EXTERN int XClearWindow(Display *d, Window w);
- /* 85 */
- EXTERN int XDrawPoint(Display *display, Drawable d, GC gc,
- int x, int y);
- /* 86 */
- EXTERN int XDrawPoints(Display *display, Drawable d, GC gc,
- XPoint *points, int npoints, int mode);
- /* 87 */
- EXTERN int XWarpPointer(Display *display, Window src_w,
- Window dest_w, int src_x, int src_y,
- unsigned int src_width,
- unsigned int src_height, int dest_x,
- int dest_y);
- /* 88 */
- EXTERN int XQueryColor(Display *display, Colormap colormap,
- XColor *def_in_out);
- /* 89 */
- EXTERN int XQueryColors(Display *display, Colormap colormap,
- XColor *defs_in_out, int ncolors);
- /* 90 */
- EXTERN Status XQueryTree(Display *d, Window w1, Window *w2,
- Window *w3, Window **w4, unsigned int *ui);
- /* 91 */
- EXTERN int XSync(Display *display, Bool discard);
- /* Slot 92 is reserved */
- /* Slot 93 is reserved */
- /* Slot 94 is reserved */
- /* Slot 95 is reserved */
- /* Slot 96 is reserved */
- /* Slot 97 is reserved */
- /* Slot 98 is reserved */
- /* Slot 99 is reserved */
- /* Slot 100 is reserved */
- /* Slot 101 is reserved */
- /* Slot 102 is reserved */
- /* Slot 103 is reserved */
- /* Slot 104 is reserved */
- /* Slot 105 is reserved */
- /* 106 */
- EXTERN int XSetClipRectangles(Display *display, GC gc,
- int clip_x_origin, int clip_y_origin,
- XRectangle rectangles[], int n, int ordering);
- /* 107 */
- EXTERN int XFlush(Display *display);
- /* 108 */
- EXTERN int XGrabServer(Display *display);
- /* 109 */
- EXTERN int XUngrabServer(Display *display);
- /* 110 */
- EXTERN int XFree(void *data);
- /* 111 */
- EXTERN int XNoOp(Display *display);
- /* 112 */
- EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff);
- /* Slot 113 is reserved */
- /* 114 */
- EXTERN VisualID XVisualIDFromVisual(Visual *visual);
- /* Slot 115 is reserved */
- /* Slot 116 is reserved */
- /* Slot 117 is reserved */
- /* Slot 118 is reserved */
- /* Slot 119 is reserved */
- /* 120 */
- EXTERN int XOffsetRegion(void *rgn, int dx, int dy);
- /* Slot 121 is reserved */
- /* Slot 122 is reserved */
- /* Slot 123 is reserved */
- /* Slot 124 is reserved */
- /* Slot 125 is reserved */
- /* Slot 126 is reserved */
- /* Slot 127 is reserved */
- /* Slot 128 is reserved */
- /* 129 */
- EXTERN int XLowerWindow(Display *d, Window w);
- /* Slot 130 is reserved */
- /* Slot 131 is reserved */
- /* Slot 132 is reserved */
- /* Slot 133 is reserved */
- /* Slot 134 is reserved */
- /* Slot 135 is reserved */
- /* Slot 136 is reserved */
- /* 137 */
- EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
- int sx, int sy, int dx, int dy,
- unsigned int w, unsigned int h);
- /* Slot 138 is reserved */
- /* Slot 139 is reserved */
- /* Slot 140 is reserved */
- /* Slot 141 is reserved */
- /* Slot 142 is reserved */
- /* Slot 143 is reserved */
- /* 144 */
- EXTERN void XDestroyIC(XIC xic);
- /* 145 */
- EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
- XColor *x1, XColor *x2, unsigned int ui1,
- unsigned int ui2);
- /* 146 */
- EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
- unsigned int ui1, unsigned int ui2,
- XColor _Xconst *x1, XColor _Xconst *x2);
- /* Slot 147 is reserved */
- /* Slot 148 is reserved */
- /* Slot 149 is reserved */
- /* Slot 150 is reserved */
- /* Slot 151 is reserved */
- /* Slot 152 is reserved */
- /* Slot 153 is reserved */
- /* Slot 154 is reserved */
- /* Slot 155 is reserved */
- /* Slot 156 is reserved */
- /* 157 */
- EXTERN KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g,
- int i);
- /* 158 */
- EXTERN void TkUnusedStubEntry(void);
- #endif /* AQUA */
- typedef struct TkIntXlibStubs {
- int magic;
- void *hooks;
- #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
- int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */
- XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */
- XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
- XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
- char * (*xGetAtomName) (Display *d, Atom a); /* 4 */
- char * (*xKeysymToString) (KeySym k); /* 5 */
- Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */
- Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 7 */
- Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 8 */
- GContext (*xGContextFromGC) (GC g); /* 9 */
- XHostAddress * (*xListHosts) (Display *d, int *i, Bool *b); /* 10 */
- KeySym (*xKeycodeToKeysym) (Display *d, unsigned int k, int i); /* 11 */
- KeySym (*xStringToKeysym) (_Xconst char *c); /* 12 */
- Window (*xRootWindow) (Display *d, int i); /* 13 */
- XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */
- Status (*xIconifyWindow) (Display *d, Window w, int i); /* 15 */
- Status (*xWithdrawWindow) (Display *d, Window w, int i); /* 16 */
- Status (*xGetWMColormapWindows) (Display *d, Window w, Window **wpp, int *ip); /* 17 */
- Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 18 */
- int (*xBell) (Display *d, int i); /* 19 */
- int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 20 */
- int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 21 */
- int (*xClearWindow) (Display *d, Window w); /* 22 */
- int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 23 */
- int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */
- int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */
- Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 26 */
- int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 27 */
- int (*xDeleteProperty) (Display *d, Window w, Atom a); /* 28 */
- int (*xDestroyWindow) (Display *d, Window w); /* 29 */
- int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */
- int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 31 */
- int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */
- int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */
- int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 34 */
- int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 35 */
- int (*xForceScreenSaver) (Display *d, int i); /* 36 */
- int (*xFreeColormap) (Display *d, Colormap c); /* 37 */
- int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 38 */
- int (*xFreeCursor) (Display *d, Cursor c); /* 39 */
- int (*xFreeModifiermap) (XModifierKeymap *x); /* 40 */
- Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 41 */
- int (*xGetInputFocus) (Display *d, Window *w, int *i); /* 42 */
- int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 43 */
- Status (*xGetWindowAttributes) (Display *d, Window w, XWindowAttributes *x); /* 44 */
- int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 45 */
- int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */
- KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 47 */
- Status (*xLookupColor) (Display *d, Colormap c1, _Xconst char *c2, XColor *x1, XColor *x2); /* 48 */
- int (*xMapWindow) (Display *d, Window w); /* 49 */
- int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */
- int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 51 */
- int (*xNextEvent) (Display *d, XEvent *x); /* 52 */
- int (*xPutBackEvent) (Display *d, XEvent *x); /* 53 */
- int (*xQueryColors) (Display *d, Colormap c, XColor *x, int i); /* 54 */
- Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 55 */
- Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 56 */
- int (*xRaiseWindow) (Display *d, Window w); /* 57 */
- int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 58 */
- int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */
- int (*xSelectInput) (Display *d, Window w, long l); /* 60 */
- Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 61 */
- int (*xSetCommand) (Display *d, Window w, char **c, int i); /* 62 */
- int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 63 */
- int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 64 */
- int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 65 */
- int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 66 */
- int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 67 */
- int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 68 */
- int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 69 */
- int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 70 */
- int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 71 */
- Bool (*xTranslateCoordinates) (Display *d, Window w1, Window w2, int i1, int i2, int *i3, int *i4, Window *w3); /* 72 */
- int (*xUngrabKeyboard) (Display *d, Time t); /* 73 */
- int (*xUngrabPointer) (Display *d, Time t); /* 74 */
- int (*xUnmapWindow) (Display *d, Window w); /* 75 */
- int (*xWindowEvent) (Display *d, Window w, long l, XEvent *x); /* 76 */
- void (*xDestroyIC) (XIC x); /* 77 */
- Bool (*xFilterEvent) (XEvent *x, Window w); /* 78 */
- int (*xmbLookupString) (XIC xi, XKeyPressedEvent *xk, char *c, int i, KeySym *k, Status *s); /* 79 */
- int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */
- void (*reserved81)(void);
- Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 82 */
- GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 83 */
- int (*xFreeGC) (Display *display, GC gc); /* 84 */
- Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 85 */
- int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 86 */
- int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 87 */
- int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 88 */
- int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */
- int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */
- int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 91 */
- int (*xSetFont) (Display *display, GC gc, Font font); /* 92 */
- int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 93 */
- int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 94 */
- int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 95 */
- int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 96 */
- int (*xSetFunction) (Display *display, GC gc, int function); /* 97 */
- int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */
- int (*_XInitImageFuncPtrs) (XImage *image); /* 99 */
- XIC (*xCreateIC) (XIM xim, ...); /* 100 */
- XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 101 */
- void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 102 */
- Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 103 */
- int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */
- int (*xWarpPointer) (Display *d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */
- int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */
- int (*xFlush) (Display *display); /* 107 */
- int (*xGrabServer) (Display *display); /* 108 */
- int (*xUngrabServer) (Display *display); /* 109 */
- int (*xFree) (void *data); /* 110 */
- int (*xNoOp) (Display *display); /* 111 */
- XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */
- int (*xSync) (Display *display, Bool discard); /* 113 */
- VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */
- void (*reserved115)(void);
- void (*reserved116)(void);
- void (*reserved117)(void);
- void (*reserved118)(void);
- void (*reserved119)(void);
- int (*xOffsetRegion) (Region rgn, int dx, int dy); /* 120 */
- int (*xUnionRegion) (Region srca, Region srcb, Region dr_return); /* 121 */
- Window (*xCreateWindow) (Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int clazz, Visual *visual, unsigned long value_mask, XSetWindowAttributes *attributes); /* 122 */
- void (*reserved123)(void);
- void (*reserved124)(void);
- void (*reserved125)(void);
- void (*reserved126)(void);
- void (*reserved127)(void);
- void (*reserved128)(void);
- int (*xLowerWindow) (Display *d, Window w); /* 129 */
- int (*xFillArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 130 */
- int (*xDrawArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 131 */
- int (*xDrawRectangles) (Display *d, Drawable dr, GC gc, XRectangle *r, int n); /* 132 */
- int (*xDrawSegments) (Display *d, Drawable dr, GC gc, XSegment *s, int n); /* 133 */
- int (*xDrawPoint) (Display *d, Drawable dr, GC gc, int x, int y); /* 134 */
- int (*xDrawPoints) (Display *d, Drawable dr, GC gc, XPoint *p, int n, int m); /* 135 */
- int (*xReparentWindow) (Display *d, Window w, Window p, int x, int y); /* 136 */
- int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */
- void (*reserved138)(void);
- void (*reserved139)(void);
- void (*reserved140)(void);
- void (*reserved141)(void);
- void (*reserved142)(void);
- void (*reserved143)(void);
- void (*reserved144)(void);
- void (*reserved145)(void);
- void (*reserved146)(void);
- void (*reserved147)(void);
- void (*reserved148)(void);
- void (*reserved149)(void);
- void (*reserved150)(void);
- void (*reserved151)(void);
- void (*reserved152)(void);
- void (*reserved153)(void);
- void (*reserved154)(void);
- void (*reserved155)(void);
- void (*reserved156)(void);
- void (*reserved157)(void);
- void (*tkUnusedStubEntry) (void); /* 158 */
- #endif /* WIN */
- #ifdef MAC_OSX_TK /* AQUA */
- int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */
- XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */
- XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
- XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
- char * (*xGetAtomName) (Display *d, Atom a); /* 4 */
- char * (*xKeysymToString) (KeySym k); /* 5 */
- Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */
- GContext (*xGContextFromGC) (GC g); /* 7 */
- KeySym (*xKeycodeToKeysym) (Display *d, KeyCode k, int i); /* 8 */
- KeySym (*xStringToKeysym) (_Xconst char *c); /* 9 */
- Window (*xRootWindow) (Display *d, int i); /* 10 */
- XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */
- Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 12 */
- int (*xBell) (Display *d, int i); /* 13 */
- int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 14 */
- int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 15 */
- int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 16 */
- int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */
- int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */
- Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 19 */
- int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 20 */
- int (*xDestroyWindow) (Display *d, Window w); /* 21 */
- int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */
- int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 23 */
- int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */
- int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */
- int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 26 */
- int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 27 */
- int (*xFreeColormap) (Display *d, Colormap c); /* 28 */
- int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 29 */
- int (*xFreeModifiermap) (XModifierKeymap *x); /* 30 */
- Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 31 */
- int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 32 */
- int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 33 */
- int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */
- KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 35 */
- int (*xMapWindow) (Display *d, Window w); /* 36 */
- int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */
- int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 38 */
- Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 39 */
- int (*xRaiseWindow) (Display *d, Window w); /* 40 */
- int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 41 */
- int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 42 */
- int (*xSelectInput) (Display *d, Window w, long l); /* 43 */
- Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 44 */
- int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 45 */
- int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 46 */
- int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 47 */
- int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 48 */
- int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 49 */
- int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 50 */
- int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 51 */
- int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 52 */
- int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 53 */
- int (*xUngrabKeyboard) (Display *d, Time t); /* 54 */
- int (*xUngrabPointer) (Display *d, Time t); /* 55 */
- int (*xUnmapWindow) (Display *d, Window w); /* 56 */
- int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 57 */
- Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 58 */
- GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 59 */
- int (*xFreeGC) (Display *display, GC gc); /* 60 */
- Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 61 */
- int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 62 */
- int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 63 */
- int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 64 */
- int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 65 */
- int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 66 */
- int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 67 */
- int (*xSetFont) (Display *display, GC gc, Font font); /* 68 */
- int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 69 */
- int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 70 */
- int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 71 */
- int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 72 */
- int (*xSetFunction) (Display *display, GC gc, int function); /* 73 */
- int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 74 */
- int (*_XInitImageFuncPtrs) (XImage *image); /* 75 */
- XIC (*xCreateIC) (XIM xim, ...); /* 76 */
- XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 77 */
- void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 78 */
- Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 79 */
- int (*xDrawSegments) (Display *display, Drawable d, GC gc, XSegment *segments, int nsegments); /* 80 */
- int (*xForceScreenSaver) (Display *display, int mode); /* 81 */
- int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 82 */
- int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 83 */
- int (*xClearWindow) (Display *d, Window w); /* 84 */
- int (*xDrawPoint) (Display *display, Drawable d, GC gc, int x, int y); /* 85 */
- int (*xDrawPoints) (Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode); /* 86 */
- int (*xWarpPointer) (Display *display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y); /* 87 */
- int (*xQueryColor) (Display *display, Colormap colormap, XColor *def_in_out); /* 88 */
- int (*xQueryColors) (Display *display, Colormap colormap, XColor *defs_in_out, int ncolors); /* 89 */
- Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 90 */
- int (*xSync) (Display *display, Bool discard); /* 91 */
- void (*reserved92)(void);
- void (*reserved93)(void);
- void (*reserved94)(void);
- void (*reserved95)(void);
- void (*reserved96)(void);
- void (*reserved97)(void);
- void (*reserved98)(void);
- void (*reserved99)(void);
- void (*reserved100)(void);
- void (*reserved101)(void);
- void (*reserved102)(void);
- void (*reserved103)(void);
- void (*reserved104)(void);
- void (*reserved105)(void);
- int (*xSetClipRectangles) (Display *display, GC gc, int clip_x_origin, int clip_y_origin, XRectangle rectangles[], int n, int ordering); /* 106 */
- int (*xFlush) (Display *display); /* 107 */
- int (*xGrabServer) (Display *display); /* 108 */
- int (*xUngrabServer) (Display *display); /* 109 */
- int (*xFree) (void *data); /* 110 */
- int (*xNoOp) (Display *display); /* 111 */
- XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */
- void (*reserved113)(void);
- VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */
- void (*reserved115)(void);
- void (*reserved116)(void);
- void (*reserved117)(void);
- void (*reserved118)(void);
- void (*reserved119)(void);
- int (*xOffsetRegion) (void *rgn, int dx, int dy); /* 120 */
- void (*reserved121)(void);
- void (*reserved122)(void);
- void (*reserved123)(void);
- void (*reserved124)(void);
- void (*reserved125)(void);
- void (*reserved126)(void);
- void (*reserved127)(void);
- void (*reserved128)(void);
- int (*xLowerWindow) (Display *d, Window w); /* 129 */
- void (*reserved130)(void);
- void (*reserved131)(void);
- void (*reserved132)(void);
- void (*reserved133)(void);
- void (*reserved134)(void);
- void (*reserved135)(void);
- void (*reserved136)(void);
- int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */
- void (*reserved138)(void);
- void (*reserved139)(void);
- void (*reserved140)(void);
- void (*reserved141)(void);
- void (*reserved142)(void);
- void (*reserved143)(void);
- void (*xDestroyIC) (XIC xic); /* 144 */
- Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 145 */
- Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 146 */
- void (*reserved147)(void);
- void (*reserved148)(void);
- void (*reserved149)(void);
- void (*reserved150)(void);
- void (*reserved151)(void);
- void (*reserved152)(void);
- void (*reserved153)(void);
- void (*reserved154)(void);
- void (*reserved155)(void);
- void (*reserved156)(void);
- KeySym (*xkbKeycodeToKeysym) (Display *d, unsigned int k, int g, int i); /* 157 */
- void (*tkUnusedStubEntry) (void); /* 158 */
- #endif /* AQUA */
- } TkIntXlibStubs;
- extern const TkIntXlibStubs *tkIntXlibStubsPtr;
- #ifdef __cplusplus
- }
- #endif
- #if defined(USE_TK_STUBS)
- /*
- * Inline function declarations:
- */
- #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
- #define XSetDashes \
- (tkIntXlibStubsPtr->xSetDashes) /* 0 */
- #define XGetModifierMapping \
- (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
- #define XCreateImage \
- (tkIntXlibStubsPtr->xCreateImage) /* 2 */
- #define XGetImage \
- (tkIntXlibStubsPtr->xGetImage) /* 3 */
- #define XGetAtomName \
- (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
- #define XKeysymToString \
- (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
- #define XCreateColormap \
- (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
- #define XCreatePixmapCursor \
- (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */
- #define XCreateGlyphCursor \
- (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */
- #define XGContextFromGC \
- (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */
- #define XListHosts \
- (tkIntXlibStubsPtr->xListHosts) /* 10 */
- #define XKeycodeToKeysym \
- (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */
- #define XStringToKeysym \
- (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */
- #define XRootWindow \
- (tkIntXlibStubsPtr->xRootWindow) /* 13 */
- #define XSetErrorHandler \
- (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */
- #define XIconifyWindow \
- (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */
- #define XWithdrawWindow \
- (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */
- #define XGetWMColormapWindows \
- (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */
- #define XAllocColor \
- (tkIntXlibStubsPtr->xAllocColor) /* 18 */
- #define XBell \
- (tkIntXlibStubsPtr->xBell) /* 19 */
- #define XChangeProperty \
- (tkIntXlibStubsPtr->xChangeProperty) /* 20 */
- #define XChangeWindowAttributes \
- (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */
- #define XClearWindow \
- (tkIntXlibStubsPtr->xClearWindow) /* 22 */
- #define XConfigureWindow \
- (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */
- #define XCopyArea \
- (tkIntXlibStubsPtr->xCopyArea) /* 24 */
- #define XCopyPlane \
- (tkIntXlibStubsPtr->xCopyPlane) /* 25 */
- #define XCreateBitmapFromData \
- (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */
- #define XDefineCursor \
- (tkIntXlibStubsPtr->xDefineCursor) /* 27 */
- #define XDeleteProperty \
- (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */
- #define XDestroyWindow \
- (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */
- #define XDrawArc \
- (tkIntXlibStubsPtr->xDrawArc) /* 30 */
- #define XDrawLines \
- (tkIntXlibStubsPtr->xDrawLines) /* 31 */
- #define XDrawRectangle \
- (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */
- #define XFillArc \
- (tkIntXlibStubsPtr->xFillArc) /* 33 */
- #define XFillPolygon \
- (tkIntXlibStubsPtr->xFillPolygon) /* 34 */
- #define XFillRectangles \
- (tkIntXlibStubsPtr->xFillRectangles) /* 35 */
- #define XForceScreenSaver \
- (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */
- #define XFreeColormap \
- (tkIntXlibStubsPtr->xFreeColormap) /* 37 */
- #define XFreeColors \
- (tkIntXlibStubsPtr->xFreeColors) /* 38 */
- #define XFreeCursor \
- (tkIntXlibStubsPtr->xFreeCursor) /* 39 */
- #define XFreeModifiermap \
- (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */
- #define XGetGeometry \
- (tkIntXlibStubsPtr->xGetGeometry) /* 41 */
- #define XGetInputFocus \
- (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */
- #define XGetWindowProperty \
- (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */
- #define XGetWindowAttributes \
- (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */
- #define XGrabKeyboard \
- (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */
- #define XGrabPointer \
- (tkIntXlibStubsPtr->xGrabPointer) /* 46 */
- #define XKeysymToKeycode \
- (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */
- #define XLookupColor \
- (tkIntXlibStubsPtr->xLookupColor) /* 48 */
- #define XMapWindow \
- (tkIntXlibStubsPtr->xMapWindow) /* 49 */
- #define XMoveResizeWindow \
- (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */
- #define XMoveWindow \
- (tkIntXlibStubsPtr->xMoveWindow) /* 51 */
- #define XNextEvent \
- (tkIntXlibStubsPtr->xNextEvent) /* 52 */
- #define XPutBackEvent \
- (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */
- #define XQueryColors \
- (tkIntXlibStubsPtr->xQueryColors) /* 54 */
- #define XQueryPointer \
- (tkIntXlibStubsPtr->xQueryPointer) /* 55 */
- #define XQueryTree \
- (tkIntXlibStubsPtr->xQueryTree) /* 56 */
- #define XRaiseWindow \
- (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */
- #define XRefreshKeyboardMapping \
- (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */
- #define XResizeWindow \
- (tkIntXlibStubsPtr->xResizeWindow) /* 59 */
- #define XSelectInput \
- (tkIntXlibStubsPtr->xSelectInput) /* 60 */
- #define XSendEvent \
- (tkIntXlibStubsPtr->xSendEvent) /* 61 */
- #define XSetCommand \
- (tkIntXlibStubsPtr->xSetCommand) /* 62 */
- #define XSetIconName \
- (tkIntXlibStubsPtr->xSetIconName) /* 63 */
- #define XSetInputFocus \
- (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */
- #define XSetSelectionOwner \
- (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */
- #define XSetWindowBackground \
- (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */
- #define XSetWindowBackgroundPixmap \
- (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */
- #define XSetWindowBorder \
- (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */
- #define XSetWindowBorderPixmap \
- (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */
- #define XSetWindowBorderWidth \
- (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */
- #define XSetWindowColormap \
- (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */
- #define XTranslateCoordinates \
- (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */
- #define XUngrabKeyboard \
- (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */
- #define XUngrabPointer \
- (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */
- #define XUnmapWindow \
- (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */
- #define XWindowEvent \
- (tkIntXlibStubsPtr->xWindowEvent) /* 76 */
- #define XDestroyIC \
- (tkIntXlibStubsPtr->xDestroyIC) /* 77 */
- #define XFilterEvent \
- (tkIntXlibStubsPtr->xFilterEvent) /* 78 */
- #define XmbLookupString \
- (tkIntXlibStubsPtr->xmbLookupString) /* 79 */
- #define TkPutImage \
- (tkIntXlibStubsPtr->tkPutImage) /* 80 */
- /* Slot 81 is reserved */
- #define XParseColor \
- (tkIntXlibStubsPtr->xParseColor) /* 82 */
- #define XCreateGC \
- (tkIntXlibStubsPtr->xCreateGC) /* 83 */
- #define XFreeGC \
- (tkIntXlibStubsPtr->xFreeGC) /* 84 */
- #define XInternAtom \
- (tkIntXlibStubsPtr->xInternAtom) /* 85 */
- #define XSetBackground \
- (tkIntXlibStubsPtr->xSetBackground) /* 86 */
- #define XSetForeground \
- (tkIntXlibStubsPtr->xSetForeground) /* 87 */
- #define XSetClipMask \
- (tkIntXlibStubsPtr->xSetClipMask) /* 88 */
- #define XSetClipOrigin \
- (tkIntXlibStubsPtr->xSetClipOrigin) /* 89 */
- #define XSetTSOrigin \
- (tkIntXlibStubsPtr->xSetTSOrigin) /* 90 */
- #define XChangeGC \
- (tkIntXlibStubsPtr->xChangeGC) /* 91 */
- #define XSetFont \
- (tkIntXlibStubsPtr->xSetFont) /* 92 */
- #define XSetArcMode \
- (tkIntXlibStubsPtr->xSetArcMode) /* 93 */
- #define XSetStipple \
- (tkIntXlibStubsPtr->xSetStipple) /* 94 */
- #define XSetFillRule \
- (tkIntXlibStubsPtr->xSetFillRule) /* 95 */
- #define XSetFillStyle \
- (tkIntXlibStubsPtr->xSetFillStyle) /* 96 */
- #define XSetFunction \
- (tkIntXlibStubsPtr->xSetFunction) /* 97 */
- #define XSetLineAttributes \
- (tkIntXlibStubsPtr->xSetLineAttributes) /* 98 */
- #define _XInitImageFuncPtrs \
- (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 99 */
- #define XCreateIC \
- (tkIntXlibStubsPtr->xCreateIC) /* 100 */
- #define XGetVisualInfo \
- (tkIntXlibStubsPtr->xGetVisualInfo) /* 101 */
- #define XSetWMClientMachine \
- (tkIntXlibStubsPtr->xSetWMClientMachine) /* 102 */
- #define XStringListToTextProperty \
- (tkIntXlibStubsPtr->xStringListToTextProperty) /* 103 */
- #define XDrawLine \
- (tkIntXlibStubsPtr->xDrawLine) /* 104 */
- #define XWarpPointer \
- (tkIntXlibStubsPtr->xWarpPointer) /* 105 */
- #define XFillRectangle \
- (tkIntXlibStubsPtr->xFillRectangle) /* 106 */
- #define XFlush \
- (tkIntXlibStubsPtr->xFlush) /* 107 */
- #define XGrabServer \
- (tkIntXlibStubsPtr->xGrabServer) /* 108 */
- #define XUngrabServer \
- (tkIntXlibStubsPtr->xUngrabServer) /* 109 */
- #define XFree \
- (tkIntXlibStubsPtr->xFree) /* 110 */
- #define XNoOp \
- (tkIntXlibStubsPtr->xNoOp) /* 111 */
- #define XSynchronize \
- (tkIntXlibStubsPtr->xSynchronize) /* 112 */
- #define XSync \
- (tkIntXlibStubsPtr->xSync) /* 113 */
- #define XVisualIDFromVisual \
- (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */
- /* Slot 115 is reserved */
- /* Slot 116 is reserved */
- /* Slot 117 is reserved */
- /* Slot 118 is reserved */
- /* Slot 119 is reserved */
- #define XOffsetRegion \
- (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */
- #define XUnionRegion \
- (tkIntXlibStubsPtr->xUnionRegion) /* 121 */
- #define XCreateWindow \
- (tkIntXlibStubsPtr->xCreateWindow) /* 122 */
- /* Slot 123 is reserved */
- /* Slot 124 is reserved */
- /* Slot 125 is reserved */
- /* Slot 126 is reserved */
- /* Slot 127 is reserved */
- /* Slot 128 is reserved */
- #define XLowerWindow \
- (tkIntXlibStubsPtr->xLowerWindow) /* 129 */
- #define XFillArcs \
- (tkIntXlibStubsPtr->xFillArcs) /* 130 */
- #define XDrawArcs \
- (tkIntXlibStubsPtr->xDrawArcs) /* 131 */
- #define XDrawRectangles \
- (tkIntXlibStubsPtr->xDrawRectangles) /* 132 */
- #define XDrawSegments \
- (tkIntXlibStubsPtr->xDrawSegments) /* 133 */
- #define XDrawPoint \
- (tkIntXlibStubsPtr->xDrawPoint) /* 134 */
- #define XDrawPoints \
- (tkIntXlibStubsPtr->xDrawPoints) /* 135 */
- #define XReparentWindow \
- (tkIntXlibStubsPtr->xReparentWindow) /* 136 */
- #define XPutImage \
- (tkIntXlibStubsPtr->xPutImage) /* 137 */
- /* Slot 138 is reserved */
- /* Slot 139 is reserved */
- /* Slot 140 is reserved */
- /* Slot 141 is reserved */
- /* Slot 142 is reserved */
- /* Slot 143 is reserved */
- /* Slot 144 is reserved */
- /* Slot 145 is reserved */
- /* Slot 146 is reserved */
- /* Slot 147 is reserved */
- /* Slot 148 is reserved */
- /* Slot 149 is reserved */
- /* Slot 150 is reserved */
- /* Slot 151 is reserved */
- /* Slot 152 is reserved */
- /* Slot 153 is reserved */
- /* Slot 154 is reserved */
- /* Slot 155 is reserved */
- /* Slot 156 is reserved */
- /* Slot 157 is reserved */
- #define TkUnusedStubEntry \
- (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */
- #endif /* WIN */
- #ifdef MAC_OSX_TK /* AQUA */
- #define XSetDashes \
- (tkIntXlibStubsPtr->xSetDashes) /* 0 */
- #define XGetModifierMapping \
- (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
- #define XCreateImage \
- (tkIntXlibStubsPtr->xCreateImage) /* 2 */
- #define XGetImage \
- (tkIntXlibStubsPtr->xGetImage) /* 3 */
- #define XGetAtomName \
- (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
- #define XKeysymToString \
- (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
- #define XCreateColormap \
- (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
- #define XGContextFromGC \
- (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */
- #define XKeycodeToKeysym \
- (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */
- #define XStringToKeysym \
- (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */
- #define XRootWindow \
- (tkIntXlibStubsPtr->xRootWindow) /* 10 */
- #define XSetErrorHandler \
- (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */
- #define XAllocColor \
- (tkIntXlibStubsPtr->xAllocColor) /* 12 */
- #define XBell \
- (tkIntXlibStubsPtr->xBell) /* 13 */
- #define XChangeProperty \
- (tkIntXlibStubsPtr->xChangeProperty) /* 14 */
- #define XChangeWindowAttributes \
- (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */
- #define XConfigureWindow \
- (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */
- #define XCopyArea \
- (tkIntXlibStubsPtr->xCopyArea) /* 17 */
- #define XCopyPlane \
- (tkIntXlibStubsPtr->xCopyPlane) /* 18 */
- #define XCreateBitmapFromData \
- (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */
- #define XDefineCursor \
- (tkIntXlibStubsPtr->xDefineCursor) /* 20 */
- #define XDestroyWindow \
- (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */
- #define XDrawArc \
- (tkIntXlibStubsPtr->xDrawArc) /* 22 */
- #define XDrawLines \
- (tkIntXlibStubsPtr->xDrawLines) /* 23 */
- #define XDrawRectangle \
- (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */
- #define XFillArc \
- (tkIntXlibStubsPtr->xFillArc) /* 25 */
- #define XFillPolygon \
- (tkIntXlibStubsPtr->xFillPolygon) /* 26 */
- #define XFillRectangles \
- (tkIntXlibStubsPtr->xFillRectangles) /* 27 */
- #define XFreeColormap \
- (tkIntXlibStubsPtr->xFreeColormap) /* 28 */
- #define XFreeColors \
- (tkIntXlibStubsPtr->xFreeColors) /* 29 */
- #define XFreeModifiermap \
- (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */
- #define XGetGeometry \
- (tkIntXlibStubsPtr->xGetGeometry) /* 31 */
- #define XGetWindowProperty \
- (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */
- #define XGrabKeyboard \
- (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */
- #define XGrabPointer \
- (tkIntXlibStubsPtr->xGrabPointer) /* 34 */
- #define XKeysymToKeycode \
- (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */
- #define XMapWindow \
- (tkIntXlibStubsPtr->xMapWindow) /* 36 */
- #define XMoveResizeWindow \
- (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */
- #define XMoveWindow \
- (tkIntXlibStubsPtr->xMoveWindow) /* 38 */
- #define XQueryPointer \
- (tkIntXlibStubsPtr->xQueryPointer) /* 39 */
- #define XRaiseWindow \
- (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */
- #define XRefreshKeyboardMapping \
- (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */
- #define XResizeWindow \
- (tkIntXlibStubsPtr->xResizeWindow) /* 42 */
- #define XSelectInput \
- (tkIntXlibStubsPtr->xSelectInput) /* 43 */
- #define XSendEvent \
- (tkIntXlibStubsPtr->xSendEvent) /* 44 */
- #define XSetIconName \
- (tkIntXlibStubsPtr->xSetIconName) /* 45 */
- #define XSetInputFocus \
- (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */
- #define XSetSelectionOwner \
- (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */
- #define XSetWindowBackground \
- (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */
- #define XSetWindowBackgroundPixmap \
- (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */
- #define XSetWindowBorder \
- (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */
- #define XSetWindowBorderPixmap \
- (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */
- #define XSetWindowBorderWidth \
- (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */
- #define XSetWindowColormap \
- (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */
- #define XUngrabKeyboard \
- (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */
- #define XUngrabPointer \
- (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */
- #define XUnmapWindow \
- (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */
- #define TkPutImage \
- (tkIntXlibStubsPtr->tkPutImage) /* 57 */
- #define XParseColor \
- (tkIntXlibStubsPtr->xParseColor) /* 58 */
- #define XCreateGC \
- (tkIntXlibStubsPtr->xCreateGC) /* 59 */
- #define XFreeGC \
- (tkIntXlibStubsPtr->xFreeGC) /* 60 */
- #define XInternAtom \
- (tkIntXlibStubsPtr->xInternAtom) /* 61 */
- #define XSetBackground \
- (tkIntXlibStubsPtr->xSetBackground) /* 62 */
- #define XSetForeground \
- (tkIntXlibStubsPtr->xSetForeground) /* 63 */
- #define XSetClipMask \
- (tkIntXlibStubsPtr->xSetClipMask) /* 64 */
- #define XSetClipOrigin \
- (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */
- #define XSetTSOrigin \
- (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */
- #define XChangeGC \
- (tkIntXlibStubsPtr->xChangeGC) /* 67 */
- #define XSetFont \
- (tkIntXlibStubsPtr->xSetFont) /* 68 */
- #define XSetArcMode \
- (tkIntXlibStubsPtr->xSetArcMode) /* 69 */
- #define XSetStipple \
- (tkIntXlibStubsPtr->xSetStipple) /* 70 */
- #define XSetFillRule \
- (tkIntXlibStubsPtr->xSetFillRule) /* 71 */
- #define XSetFillStyle \
- (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */
- #define XSetFunction \
- (tkIntXlibStubsPtr->xSetFunction) /* 73 */
- #define XSetLineAttributes \
- (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */
- #define _XInitImageFuncPtrs \
- (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */
- #define XCreateIC \
- (tkIntXlibStubsPtr->xCreateIC) /* 76 */
- #define XGetVisualInfo \
- (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */
- #define XSetWMClientMachine \
- (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */
- #define XStringListToTextProperty \
- (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */
- #define XDrawSegments \
- (tkIntXlibStubsPtr->xDrawSegments) /* 80 */
- #define XForceScreenSaver \
- (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */
- #define XDrawLine \
- (tkIntXlibStubsPtr->xDrawLine) /* 82 */
- #define XFillRectangle \
- (tkIntXlibStubsPtr->xFillRectangle) /* 83 */
- #define XClearWindow \
- (tkIntXlibStubsPtr->xClearWindow) /* 84 */
- #define XDrawPoint \
- (tkIntXlibStubsPtr->xDrawPoint) /* 85 */
- #define XDrawPoints \
- (tkIntXlibStubsPtr->xDrawPoints) /* 86 */
- #define XWarpPointer \
- (tkIntXlibStubsPtr->xWarpPointer) /* 87 */
- #define XQueryColor \
- (tkIntXlibStubsPtr->xQueryColor) /* 88 */
- #define XQueryColors \
- (tkIntXlibStubsPtr->xQueryColors) /* 89 */
- #define XQueryTree \
- (tkIntXlibStubsPtr->xQueryTree) /* 90 */
- #define XSync \
- (tkIntXlibStubsPtr->xSync) /* 91 */
- /* Slot 92 is reserved */
- /* Slot 93 is reserved */
- /* Slot 94 is reserved */
- /* Slot 95 is reserved */
- /* Slot 96 is reserved */
- /* Slot 97 is reserved */
- /* Slot 98 is reserved */
- /* Slot 99 is reserved */
- /* Slot 100 is reserved */
- /* Slot 101 is reserved */
- /* Slot 102 is reserved */
- /* Slot 103 is reserved */
- /* Slot 104 is reserved */
- /* Slot 105 is reserved */
- #define XSetClipRectangles \
- (tkIntXlibStubsPtr->xSetClipRectangles) /* 106 */
- #define XFlush \
- (tkIntXlibStubsPtr->xFlush) /* 107 */
- #define XGrabServer \
- (tkIntXlibStubsPtr->xGrabServer) /* 108 */
- #define XUngrabServer \
- (tkIntXlibStubsPtr->xUngrabServer) /* 109 */
- #define XFree \
- (tkIntXlibStubsPtr->xFree) /* 110 */
- #define XNoOp \
- (tkIntXlibStubsPtr->xNoOp) /* 111 */
- #define XSynchronize \
- (tkIntXlibStubsPtr->xSynchronize) /* 112 */
- /* Slot 113 is reserved */
- #define XVisualIDFromVisual \
- (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */
- /* Slot 115 is reserved */
- /* Slot 116 is reserved */
- /* Slot 117 is reserved */
- /* Slot 118 is reserved */
- /* Slot 119 is reserved */
- #define XOffsetRegion \
- (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */
- /* Slot 121 is reserved */
- /* Slot 122 is reserved */
- /* Slot 123 is reserved */
- /* Slot 124 is reserved */
- /* Slot 125 is reserved */
- /* Slot 126 is reserved */
- /* Slot 127 is reserved */
- /* Slot 128 is reserved */
- #define XLowerWindow \
- (tkIntXlibStubsPtr->xLowerWindow) /* 129 */
- /* Slot 130 is reserved */
- /* Slot 131 is reserved */
- /* Slot 132 is reserved */
- /* Slot 133 is reserved */
- /* Slot 134 is reserved */
- /* Slot 135 is reserved */
- /* Slot 136 is reserved */
- #define XPutImage \
- (tkIntXlibStubsPtr->xPutImage) /* 137 */
- /* Slot 138 is reserved */
- /* Slot 139 is reserved */
- /* Slot 140 is reserved */
- /* Slot 141 is reserved */
- /* Slot 142 is reserved */
- /* Slot 143 is reserved */
- #define XDestroyIC \
- (tkIntXlibStubsPtr->xDestroyIC) /* 144 */
- #define XCreatePixmapCursor \
- (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 145 */
- #define XCreateGlyphCursor \
- (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 146 */
- /* Slot 147 is reserved */
- /* Slot 148 is reserved */
- /* Slot 149 is reserved */
- /* Slot 150 is reserved */
- /* Slot 151 is reserved */
- /* Slot 152 is reserved */
- /* Slot 153 is reserved */
- /* Slot 154 is reserved */
- /* Slot 155 is reserved */
- /* Slot 156 is reserved */
- #define XkbKeycodeToKeysym \
- (tkIntXlibStubsPtr->xkbKeycodeToKeysym) /* 157 */
- #define TkUnusedStubEntry \
- (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */
- #endif /* AQUA */
- #endif /* defined(USE_TK_STUBS) */
- /* !END!: Do not edit above this line. */
- #undef TCL_STORAGE_CLASS
- #define TCL_STORAGE_CLASS DLLIMPORT
- #undef TkUnusedStubEntry
- #endif /* _TKINTXLIBDECLS */
|