From f8be1e9121b467ea02037f3265b0066f8cf6c832 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 14 May 2004 09:11:24 +0000 Subject: Restored the locally defined X function prototypes. They are really needed under windows (Perl). --- generic/Types.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'generic') 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, -- cgit v1.1