aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorlecoanet2004-05-14 09:11:24 +0000
committerlecoanet2004-05-14 09:11:24 +0000
commitf8be1e9121b467ea02037f3265b0066f8cf6c832 (patch)
treece0940455a2c331a3c5715ccb405727405879ec4 /generic
parent5694b217b2a47015764813b6a19ceebac59dfde6 (diff)
downloadtkzinc-f8be1e9121b467ea02037f3265b0066f8cf6c832.zip
tkzinc-f8be1e9121b467ea02037f3265b0066f8cf6c832.tar.gz
tkzinc-f8be1e9121b467ea02037f3265b0066f8cf6c832.tar.bz2
tkzinc-f8be1e9121b467ea02037f3265b0066f8cf6c832.tar.xz
Restored the locally defined X function prototypes. They are
really needed under windows (Perl).
Diffstat (limited to 'generic')
-rw-r--r--generic/Types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/generic/Types.h b/generic/Types.h
index 1a9b7bc..19c6507 100644
--- a/generic/Types.h
+++ b/generic/Types.h
@@ -137,13 +137,28 @@ Tk_GetScrollInfo(interp, argc, (Tcl_Obj **) args, fract, count)
# endif
# undef XFillRectangle
+void XFillRectangle(Display *display, Drawable d, GC gc, int x, int y,
+ unsigned int width, unsigned int height);
# undef XFillRectangles
+void XFillRectangles(Display *display, Drawable d, GC gc,
+ XRectangle* rectangles, int nrectangles);
# undef XFillArc
+void XFillArc(Display *display, Drawable d, GC gc, int x, int y, unsigned int width,
+ unsigned int height, int start, int extent);
# undef XFillPolygon
+void XFillPolygon(Display *display, Drawable d, GC gc, XPoint *points, int npoints,
+ int shape, int mode);
# undef XDrawRectangle
+void XDrawRectangle(Display *display, Drawable d, GC gc, int x, int y,
+ unsigned int width, unsigned int height);
# undef XDrawArc
+void XDrawArc(Display *display, Drawable d, GC gc, int x, int y,
+ unsigned int width, unsigned int height, int start, int extent);
# undef XDrawLine
+void XDrawLine(Display *display, Drawable d, GC gc, int x1, int y1, int x2, int y2);
# undef XDrawLines
+void XDrawLines(Display *display, Drawable d, GC gc, XPoint* points,
+ int npoints, int mode);
ZnBool ZnPointInRegion(TkRegion reg, int x, int y);
void ZnUnionRegion(TkRegion sra, TkRegion srb,