diff options
author | stanton <stanton@noemail.net> | 1999-03-30 04:12:25 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1999-03-30 04:12:25 (GMT) |
commit | e2b950923ea203847b1e340803d556f3de87b079 (patch) | |
tree | 9c7829d5b7ec21222f3c63c81049c1b1bbcce655 | |
parent | c697c82ce2d370e54ac9021d7e19f872bd65c59a (diff) | |
download | tk-e2b950923ea203847b1e340803d556f3de87b079.zip tk-e2b950923ea203847b1e340803d556f3de87b079.tar.gz tk-e2b950923ea203847b1e340803d556f3de87b079.tar.bz2 |
* xlib/X11/Xlib.h:
* generic/tkInt.decls: Added XParseColor to xlib stub
tables. [Bug: 1574]
FossilOrigin-Name: 25a2cc708a5d018da3756a276b6036e6ba2471e6
-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 */, |