aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorlecoanet2006-12-22 14:57:50 +0000
committerlecoanet2006-12-22 14:57:50 +0000
commit81fa7338d94c665148cd3ab3ef82c37edab881b8 (patch)
treeba80559f745ff099a57741284831852b1c54c555 /win
parent566adb1f8a12ab2d56ca6c16d56664e3e1261498 (diff)
downloadtkzinc-81fa7338d94c665148cd3ab3ef82c37edab881b8.zip
tkzinc-81fa7338d94c665148cd3ab3ef82c37edab881b8.tar.gz
tkzinc-81fa7338d94c665148cd3ab3ef82c37edab881b8.tar.bz2
tkzinc-81fa7338d94c665148cd3ab3ef82c37edab881b8.tar.xz
Renamed local X11 emulation functions to avoid name clashes with Tk
Diffstat (limited to 'win')
-rw-r--r--win/WinPort.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/win/WinPort.c b/win/WinPort.c
index 812165a..0a5df7f 100644
--- a/win/WinPort.c
+++ b/win/WinPort.c
@@ -151,7 +151,7 @@ ZnPolygonRegion(XPoint *points,
* Translation table between X gc functions and Win32 raster op modes.
*/
-int tkpWinRopModes[] = {
+static int tkpWinRopModes[] = {
R2_BLACK, /* GXclear */
R2_MASKPEN, /* GXand */
R2_MASKPENNOT, /* GXandReverse */
@@ -365,7 +365,7 @@ ConvertPoints(points, npoints, mode, bbox)
*----------------------------------------------------------------------
*/
void
-XFillRectangles(display, d, gc, rectangles, nrectangles)
+ZnXFillRectangles(display, d, gc, rectangles, nrectangles)
Display* display;
Drawable d;
GC gc;
@@ -472,7 +472,7 @@ XFillRectangles(display, d, gc, rectangles, nrectangles)
*/
void
-XFillRectangle(display, d, gc, x, y, width, height)
+ZnXFillRectangle(display, d, gc, x, y, width, height)
Display* display;
Drawable d;
GC gc;
@@ -642,7 +642,7 @@ RenderObject(dc, gc, points, npoints, mode, pen, func)
*/
void
-XDrawLines(display, d, gc, points, npoints, mode)
+ZnXDrawLines(display, d, gc, points, npoints, mode)
Display* display;
Drawable d;
GC gc;
@@ -690,7 +690,7 @@ XDrawLines(display, d, gc, points, npoints, mode)
*/
void
-XDrawLine(display, d, gc, x1, y1, x2, y2)
+ZnXDrawLine(display, d, gc, x1, y1, x2, y2)
Display* display;
Drawable d;
GC gc;
@@ -722,7 +722,7 @@ XDrawLine(display, d, gc, x1, y1, x2, y2)
*/
void
-XFillPolygon(display, d, gc, points, npoints, shape, mode)
+ZnXFillPolygon(display, d, gc, points, npoints, shape, mode)
Display* display;
Drawable d;
GC gc;
@@ -764,7 +764,7 @@ XFillPolygon(display, d, gc, points, npoints, shape, mode)
*/
void
-XDrawRectangle(display, d, gc, x, y, width, height)
+ZnXDrawRectangle(display, d, gc, x, y, width, height)
Display* display;
Drawable d;
GC gc;
@@ -979,7 +979,7 @@ DrawOrFillArc(display, d, gc, x, y, width, height, start, extent, fill)
*/
void
-XDrawArc(display, d, gc, x, y, width, height, start, extent)
+ZnXDrawArc(display, d, gc, x, y, width, height, start, extent)
Display* display;
Drawable d;
GC gc;
@@ -1012,7 +1012,7 @@ XDrawArc(display, d, gc, x, y, width, height, start, extent)
*/
void
-XFillArc(display, d, gc, x, y, width, height, start, extent)
+ZnXFillArc(display, d, gc, x, y, width, height, start, extent)
Display* display;
Drawable d;
GC gc;