summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 11:40:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 11:40:07 (GMT)
commitc28292a3923e7c09df16322a73d4b53eaff74b79 (patch)
treeeeb37dcb2087a7980c744dcc19b07bfc396caf44 /generic/tkIntXlibDecls.h
parentc24b589a6b793f5112cd11f613af9aa7ae10b55f (diff)
downloadtk-c28292a3923e7c09df16322a73d4b53eaff74b79.zip
tk-c28292a3923e7c09df16322a73d4b53eaff74b79.tar.gz
tk-c28292a3923e7c09df16322a73d4b53eaff74b79.tar.bz2
Add 3 more stub entries to MacOSX X11 stub table, which win32 already has: XDestroyIC(), XCreatePixmapCursor(), XCreateGlyphCursor()
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h28
1 files changed, 19 insertions, 9 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index 7626d9d..7c5d815 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -762,9 +762,16 @@ EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
/* Slot 141 is reserved */
/* Slot 142 is reserved */
/* Slot 143 is reserved */
-/* Slot 144 is reserved */
-/* Slot 145 is reserved */
-/* Slot 146 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 */
@@ -1090,9 +1097,9 @@ typedef struct TkIntXlibStubs {
void (*reserved141)(void);
void (*reserved142)(void);
void (*reserved143)(void);
- void (*reserved144)(void);
- void (*reserved145)(void);
- void (*reserved146)(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);
@@ -1654,9 +1661,12 @@ extern const TkIntXlibStubs *tkIntXlibStubsPtr;
/* Slot 141 is reserved */
/* Slot 142 is reserved */
/* Slot 143 is reserved */
-/* Slot 144 is reserved */
-/* Slot 145 is reserved */
-/* Slot 146 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 */