diff options
author | stanton <stanton> | 1999-03-30 04:12:25 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-03-30 04:12:25 (GMT) |
commit | 69b4a640eb954dbb23cc09e9d993c41b214e765c (patch) | |
tree | 9c7829d5b7ec21222f3c63c81049c1b1bbcce655 | |
parent | 7c06d03ab6d53059992c07a0bb27f97eae021be3 (diff) | |
download | tk-69b4a640eb954dbb23cc09e9d993c41b214e765c.zip tk-69b4a640eb954dbb23cc09e9d993c41b214e765c.tar.gz tk-69b4a640eb954dbb23cc09e9d993c41b214e765c.tar.bz2 |
* xlib/X11/Xlib.h:
* generic/tkInt.decls: Added XParseColor to xlib stub
tables. [Bug: 1574]
-rw-r--r-- | generic/tkInt.decls | 10 | ||||
-rw-r--r-- | xlib/X11/Xlib.h | 9 |
2 files changed, 9 insertions, 10 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index 20be677..cf990ac 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.2.2.3 1999/03/14 19:26:02 stanton Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.2.2.4 1999/03/30 04:12:25 stanton Exp $ library tk @@ -1418,6 +1418,10 @@ declare 80 win { # XSetClipRectangles(Display *display, GC gc, int clip_x_origin, \ # int clip_y_origin, XRectangle rectangles[], int n, int ordering) # } +declare 82 win { + Status XParseColor (Display *display, Colormap map, \ + _Xconst char* spec, XColor *colorPtr) +} # X functions for Mac @@ -1683,5 +1687,9 @@ declare 57 mac { GC gc, XImage* image, int src_x, int src_y, \ int dest_x, int dest_y, unsigned int width, \ unsigned int height) +} +declare 58 mac { + Status XParseColor (Display *display, Colormap map, \ + _Xconst char* spec, XColor *colorPtr) } diff --git a/xlib/X11/Xlib.h b/xlib/X11/Xlib.h index daefec3..4dc8adf 100644 --- a/xlib/X11/Xlib.h +++ b/xlib/X11/Xlib.h @@ -1241,15 +1241,6 @@ extern void XFreeGC( #endif ); -extern Status XParseColor( -#if NeedFunctionPrototypes - Display* /* display */, - Colormap /* colormap */, - _Xconst char* /* spec */, - XColor* /* exact_def_return */ -#endif -); - extern void XSetClipMask( #if NeedFunctionPrototypes Display* /* display */, |