diff options
author | hobbs <hobbs> | 1999-07-31 03:36:49 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-07-31 03:36:49 (GMT) |
commit | 4b6fc34cb54c1772dd9e2242f90fe9bd913fb362 (patch) | |
tree | b958c380f80005c614689d4cfcb361db1c27e370 /generic/tkIntXlibDecls.h | |
parent | c57cafd660a628dcc78a30e31a10ae99cb6834c3 (diff) | |
download | tk-4b6fc34cb54c1772dd9e2242f90fe9bd913fb362.zip tk-4b6fc34cb54c1772dd9e2242f90fe9bd913fb362.tar.gz tk-4b6fc34cb54c1772dd9e2242f90fe9bd913fb362.tar.bz2 |
1999-07-30 Jeff Hobbs <hobbs@scriptics.com>
* tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r-- | generic/tkIntXlibDecls.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h index 8ad8fd2..d76165f 100644 --- a/generic/tkIntXlibDecls.h +++ b/generic/tkIntXlibDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.10 1999/06/16 20:11:28 surles Exp $ + * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.11 1999/07/31 03:36:49 hobbs Exp $ */ #ifndef _TKINTXLIBDECLS @@ -354,6 +354,11 @@ EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list, /* 104 */ EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); +/* Slot 105 is reserved */ +/* 106 */ +EXTERN void XFillRectangle _ANSI_ARGS_((Display* display, + Drawable d, GC gc, int x, int y, + unsigned int width, unsigned int height)); #endif /* __WIN32__ */ #ifdef MAC_TCL /* Slot 0 is reserved */ @@ -611,6 +616,10 @@ EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display, /* 82 */ EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); +/* 83 */ +EXTERN void XFillRectangle _ANSI_ARGS_((Display* display, + Drawable d, GC gc, int x, int y, + unsigned int width, unsigned int height)); #endif /* MAC_TCL */ typedef struct TkIntXlibStubs { @@ -723,6 +732,8 @@ typedef struct TkIntXlibStubs { void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 102 */ Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 103 */ void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 104 */ + void *reserved105; + void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 106 */ #endif /* __WIN32__ */ #ifdef MAC_TCL void *reserved0; @@ -808,6 +819,7 @@ typedef struct TkIntXlibStubs { void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */ void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */ void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */ + void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */ #endif /* MAC_TCL */ } TkIntXlibStubs; @@ -1240,6 +1252,11 @@ extern TkIntXlibStubs *tkIntXlibStubsPtr; #define XDrawLine \ (tkIntXlibStubsPtr->xDrawLine) /* 104 */ #endif +/* Slot 105 is reserved */ +#ifndef XFillRectangle +#define XFillRectangle \ + (tkIntXlibStubsPtr->xFillRectangle) /* 106 */ +#endif #endif /* __WIN32__ */ #ifdef MAC_TCL /* Slot 0 is reserved */ @@ -1571,6 +1588,10 @@ extern TkIntXlibStubs *tkIntXlibStubsPtr; #define XDrawLine \ (tkIntXlibStubsPtr->xDrawLine) /* 82 */ #endif +#ifndef XFillRectangle +#define XFillRectangle \ + (tkIntXlibStubsPtr->xFillRectangle) /* 83 */ +#endif #endif /* MAC_TCL */ #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ |