PageRenderTime 49ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/Master/tlpkg/tlperl/lib/Tk/pTk/Xlib.h

https://bitbucket.org/preining/tex-live
C Header | 151 lines | 150 code | 1 blank | 0 comment | 0 complexity | 0377ea2b34069558ef34d905f26d2ee2 MD5 | raw file
  1. #ifndef _XLIB
  2. #define _XLIB
  3. #ifndef _XLIB_H_
  4. #ifndef _X11_XLIB_H_
  5. extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *));
  6. extern XModifierKeymap *XGetModifierMapping _ANSI_ARGS_((Display *));
  7. extern XImage *XCreateImage _ANSI_ARGS_((Display *, Visual *, unsigned int, int, int, char *, unsigned int, unsigned int, int, int));
  8. extern XImage *XGetImage _ANSI_ARGS_((Display *, Drawable, int, int, unsigned int, unsigned int, long unsigned int, int));
  9. extern Display *XOpenDisplay _ANSI_ARGS_((const char *));
  10. extern char *XGetAtomName _ANSI_ARGS_((Display *, Atom));
  11. extern char *XKeysymToString _ANSI_ARGS_((KeySym));
  12. extern Atom XInternAtom _ANSI_ARGS_((Display *, const char *, int));
  13. extern Colormap XCreateColormap _ANSI_ARGS_((Display *, Window, Visual *, int));
  14. extern Cursor XCreatePixmapCursor _ANSI_ARGS_((Display *, Pixmap, Pixmap, XColor *, XColor *, unsigned int, unsigned int));
  15. extern Cursor XCreateGlyphCursor _ANSI_ARGS_((Display *, Font, Font, unsigned int, unsigned int, XColor const *, XColor const *));
  16. extern Font XLoadFont _ANSI_ARGS_((Display *, const char *));
  17. extern GC XCreateGC _ANSI_ARGS_((Display *, Drawable, long unsigned int, XGCValues *));
  18. extern GContext XGContextFromGC _ANSI_ARGS_((GC));
  19. extern Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display *, Drawable, const char *, unsigned int, unsigned int));
  20. extern Window XCreateWindow _ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, Visual *, long unsigned int, XSetWindowAttributes *));
  21. extern Atom *XListProperties _ANSI_ARGS_((Display *, Window, int *));
  22. extern XHostAddress *XListHosts _ANSI_ARGS_((Display *, int *, int *));
  23. extern KeySym XKeycodeToKeysym _ANSI_ARGS_((Display *, unsigned int, int));
  24. extern KeySym XStringToKeysym _ANSI_ARGS_((const char *));
  25. extern VisualID XVisualIDFromVisual _ANSI_ARGS_((Visual *));
  26. extern Window XRootWindow _ANSI_ARGS_((Display *, int));
  27. extern Visual *XDefaultVisual _ANSI_ARGS_((Display *, int));
  28. extern Colormap XDefaultColormap _ANSI_ARGS_((Display *, int));
  29. extern XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler));
  30. extern int XIconifyWindow _ANSI_ARGS_((Display *, Window, int));
  31. extern int XWithdrawWindow _ANSI_ARGS_((Display *, Window, int));
  32. extern int XGetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window **, int *));
  33. extern int XSetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window *, int));
  34. extern int XSetTransientForHint _ANSI_ARGS_((Display *, Window, Window));
  35. extern int XAllocColor _ANSI_ARGS_((Display *, Colormap, XColor *));
  36. extern int XAllocNamedColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *));
  37. extern int XBell _ANSI_ARGS_((Display *, int));
  38. extern int XChangeProperty _ANSI_ARGS_((Display *, Window, Atom, Atom, int, int, const unsigned char *, int));
  39. extern int XChangeWindowAttributes _ANSI_ARGS_((Display *, Window, long unsigned int, XSetWindowAttributes *));
  40. extern int XCheckIfEvent _ANSI_ARGS_((Display *, XEvent *, int (*) (Display *, XEvent *, char *), char *));
  41. extern int XCheckWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *));
  42. extern int XClearWindow _ANSI_ARGS_((Display *, Window));
  43. extern int XConfigureWindow _ANSI_ARGS_((Display *, Window, unsigned int, XWindowChanges *));
  44. extern int XConvertSelection _ANSI_ARGS_((Display *, Atom, Atom, Atom, Window, Time));
  45. extern int XCopyArea _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int));
  46. extern int XCopyPlane _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int, long unsigned int));
  47. extern int XDefaultDepth _ANSI_ARGS_((Display *, int));
  48. extern int XDefaultScreen _ANSI_ARGS_((Display *));
  49. extern int XDefineCursor _ANSI_ARGS_((Display *, Window, Cursor));
  50. extern int XDeleteProperty _ANSI_ARGS_((Display *, Window, Atom));
  51. extern int XDestroyWindow _ANSI_ARGS_((Display *, Window));
  52. extern int XDrawArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int));
  53. extern int XDrawLine _ANSI_ARGS_((Display *, Drawable, GC, int, int, int, int));
  54. extern int XDrawLines _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int));
  55. extern int XDrawRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int));
  56. extern int XDrawString _ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int));
  57. extern int XEventsQueued _ANSI_ARGS_((Display *, int));
  58. extern int XFillArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int));
  59. extern int XFillPolygon _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int, int));
  60. extern int XFillRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int));
  61. extern int XFillRectangles _ANSI_ARGS_((Display *, Drawable, GC, XRectangle *, int));
  62. extern int XFlush _ANSI_ARGS_((Display *));
  63. extern int XFree _ANSI_ARGS_((XFree_arg_t *));
  64. extern int XFreeColormap _ANSI_ARGS_((Display *, Colormap));
  65. extern int XFreeColors _ANSI_ARGS_((Display *, Colormap, long unsigned int *, int, long unsigned int));
  66. extern int XFreeCursor _ANSI_ARGS_((Display *, Cursor));
  67. extern int XFreeFont _ANSI_ARGS_((Display *, XFontStruct *));
  68. extern int XFreeGC _ANSI_ARGS_((Display *, GC));
  69. extern int XFreeModifiermap _ANSI_ARGS_((XModifierKeymap *));
  70. extern int XGetFontProperty _ANSI_ARGS_((XFontStruct *, Atom, long unsigned int *));
  71. extern int XGetGeometry _ANSI_ARGS_((Display *, Drawable, Window *, int *, int *, unsigned int *, unsigned int *, unsigned int *, unsigned int *));
  72. extern int XGetInputFocus _ANSI_ARGS_((Display *, Window *, int *));
  73. extern int XGetWindowProperty _ANSI_ARGS_((Display *, Window, Atom, long int, long int, int, Atom, Atom *, int *, long unsigned int *, long unsigned int *, unsigned char **));
  74. extern int XGetWindowAttributes _ANSI_ARGS_((Display *, Window, XWindowAttributes *));
  75. extern int XGrabKeyboard _ANSI_ARGS_((Display *, Window, int, int, int, Time));
  76. extern int XGrabPointer _ANSI_ARGS_((Display *, Window, int, unsigned int, int, int, Window, Cursor, Time));
  77. extern int XGrabServer _ANSI_ARGS_((Display *));
  78. extern int XLookupColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *));
  79. extern int XLowerWindow _ANSI_ARGS_((Display *, Window));
  80. extern int XMapWindow _ANSI_ARGS_((Display *, Window));
  81. extern int XMoveResizeWindow _ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int));
  82. extern int XMoveWindow _ANSI_ARGS_((Display *, Window, int, int));
  83. extern int XNextEvent _ANSI_ARGS_((Display *, XEvent *));
  84. extern int XNoOp _ANSI_ARGS_((Display *));
  85. extern int XParseColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *));
  86. extern int XPutBackEvent _ANSI_ARGS_((Display *, XEvent *));
  87. extern int XPutImage _ANSI_ARGS_((Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int));
  88. extern int XQueryColors _ANSI_ARGS_((Display *, Colormap, XColor *, int));
  89. extern int XQueryPointer _ANSI_ARGS_((Display *, Window, Window *, Window *, int *, int *, int *, int *, unsigned int *));
  90. extern int XQueryTree _ANSI_ARGS_((Display *, Window, Window *, Window *, Window **, unsigned int *));
  91. extern int XRaiseWindow _ANSI_ARGS_((Display *, Window));
  92. extern int XReadBitmapFile _ANSI_ARGS_((Display *, Drawable, const char *, unsigned int *, unsigned int *, Pixmap *, int *, int *));
  93. extern int XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent *));
  94. extern int XResizeWindow _ANSI_ARGS_((Display *, Window, unsigned int, unsigned int));
  95. extern int XSelectInput _ANSI_ARGS_((Display *, Window, long int));
  96. extern int XSendEvent _ANSI_ARGS_((Display *, Window, int, long int, XEvent *));
  97. extern int XSetClipMask _ANSI_ARGS_((Display *, GC, Pixmap));
  98. extern int XSetClipOrigin _ANSI_ARGS_((Display *, GC, int, int));
  99. extern int XSetCommand _ANSI_ARGS_((Display *, Window, char **, int));
  100. extern int XSetDashes _ANSI_ARGS_((Display *, GC, int, const char *, int));
  101. extern int XSetForeground _ANSI_ARGS_((Display *, GC, long unsigned int));
  102. extern int XSetIconName _ANSI_ARGS_((Display *, Window, const char *));
  103. extern int XSetInputFocus _ANSI_ARGS_((Display *, Window, int, Time));
  104. extern int XSetSelectionOwner _ANSI_ARGS_((Display *, Atom, Window, Time));
  105. extern int XSetTSOrigin _ANSI_ARGS_((Display *, GC, int, int));
  106. extern int XSetWindowBackground _ANSI_ARGS_((Display *, Window, long unsigned int));
  107. extern int XSetWindowBackgroundPixmap _ANSI_ARGS_((Display *, Window, Pixmap));
  108. extern int XSetWindowBorder _ANSI_ARGS_((Display *, Window, long unsigned int));
  109. extern int XSetWindowBorderPixmap _ANSI_ARGS_((Display *, Window, Pixmap));
  110. extern int XSetWindowBorderWidth _ANSI_ARGS_((Display *, Window, unsigned int));
  111. extern int XSetWindowColormap _ANSI_ARGS_((Display *, Window, Colormap));
  112. extern int XSync _ANSI_ARGS_((Display *, int));
  113. extern int XTextExtents _ANSI_ARGS_((XFontStruct *, const char *, int, int *, int *, int *, XCharStruct *));
  114. extern int XTextWidth _ANSI_ARGS_((XFontStruct *, const char *, int));
  115. extern int XTranslateCoordinates _ANSI_ARGS_((Display *, Window, Window, int, int, int *, int *, Window *));
  116. extern int XUngrabKeyboard _ANSI_ARGS_((Display *, Time));
  117. extern int XUngrabPointer _ANSI_ARGS_((Display *, Time));
  118. extern int XUngrabServer _ANSI_ARGS_((Display *));
  119. extern int XUnmapWindow _ANSI_ARGS_((Display *, Window));
  120. extern int XWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *));
  121. extern Region XCreateRegion _ANSI_ARGS_((void));
  122. extern XVisualInfo *XGetVisualInfo _ANSI_ARGS_((Display *, long int, XVisualInfo *, int *));
  123. extern XSizeHints *XAllocSizeHints _ANSI_ARGS_((void));
  124. extern XClassHint *XAllocClassHint _ANSI_ARGS_((void));
  125. extern void XSetWMNormalHints _ANSI_ARGS_((Display *, Window, XSizeHints *));
  126. extern void XSetWMName _ANSI_ARGS_((Display *, Window, XTextProperty *));
  127. extern void XSetWMClientMachine _ANSI_ARGS_((Display *, Window, XTextProperty *));
  128. extern int XStringListToTextProperty _ANSI_ARGS_((char **, int, XTextProperty *));
  129. extern int XClipBox _ANSI_ARGS_((Region, XRectangle *));
  130. extern int XDestroyRegion _ANSI_ARGS_((Region));
  131. extern int XIntersectRegion _ANSI_ARGS_((Region, Region, Region));
  132. extern int XLookupString _ANSI_ARGS_((XKeyEvent *, char *, int, KeySym *, XComposeStatus *));
  133. extern int XSetClassHint _ANSI_ARGS_((Display *, Window, XClassHint *));
  134. extern int XSetWMHints _ANSI_ARGS_((Display *, Window, XWMHints *));
  135. extern int XSetRegion _ANSI_ARGS_((Display *, GC, Region));
  136. extern int XUnionRectWithRegion _ANSI_ARGS_((XRectangle *, Region, Region));
  137. extern int XSetBackground _ANSI_ARGS_((Display *, GC, unsigned long));
  138. extern int XDrawImageString _ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int));
  139. extern int XWarpPointer _ANSI_ARGS_(( Display *, Window, Window, int, int, unsigned int, unsigned int, int, int ));
  140. extern int XDrawPoints _ANSI_ARGS_(( Display*, Drawable, GC, XPoint*, int, int));
  141. extern int XChangeGC _ANSI_ARGS_(( Display*, GC, unsigned long, XGCValues *));
  142. extern char **XListFonts _ANSI_ARGS_(( Display*, const char *, int, int *));
  143. extern int XFreeFontNames _ANSI_ARGS_((char **));
  144. extern Window XGetSelectionOwner _ANSI_ARGS_((Display *, Atom));
  145. extern int XRectInRegion _ANSI_ARGS_((Region,int,int,unsigned,unsigned));
  146. extern int XSubtractRegion _ANSI_ARGS_((Region, Region, Region));
  147. #endif /* _X11_XLIB_H_ */
  148. #endif /* _XLIB_H_ */
  149. extern int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
  150. #endif /* _XLIB */