Mercurial > hg > xemacs-beta
comparison lwlib/lwlib.c @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 538048ae2ab8 |
children | 5a88923fcbfe |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
22 #ifdef NeXT | 22 #ifdef NeXT |
23 #undef __STRICT_BSD__ /* ick */ | 23 #undef __STRICT_BSD__ /* ick */ |
24 #endif | 24 #endif |
25 | 25 |
26 #include <config.h> | 26 #include <config.h> |
27 #include <stdio.h> | |
27 #include <stdlib.h> | 28 #include <stdlib.h> |
29 #include <string.h> | |
30 #include <sys/types.h> | |
31 #ifdef HAVE_UNISTD_H | |
28 #include <unistd.h> | 32 #include <unistd.h> |
29 #include <sys/types.h> | 33 #endif |
30 #include <string.h> | |
31 #include <stdio.h> | |
32 #include <X11/StringDefs.h> | 34 #include <X11/StringDefs.h> |
33 #include "lwlib-internal.h" | 35 #include "lwlib-internal.h" |
34 #include "lwlib-utils.h" | 36 #include "lwlib-utils.h" |
35 | 37 |
36 #ifdef NEED_LUCID | 38 #ifdef NEED_LUCID |
1255 widget_to_invert = w; | 1257 widget_to_invert = w; |
1256 | 1258 |
1257 XtVaGetValues (widget_to_invert, | 1259 XtVaGetValues (widget_to_invert, |
1258 XtNforeground, &foreground, | 1260 XtNforeground, &foreground, |
1259 XtNbackground, &background, | 1261 XtNbackground, &background, |
1260 0); | 1262 NULL); |
1261 XtVaSetValues (widget_to_invert, | 1263 XtVaSetValues (widget_to_invert, |
1262 XtNforeground, background, | 1264 XtNforeground, background, |
1263 XtNbackground, foreground, | 1265 XtNbackground, foreground, |
1264 0); | 1266 NULL); |
1265 } | 1267 } |
1266 | 1268 |
1267 void | 1269 void |
1268 lw_show_busy (Widget w, Boolean busy) | 1270 lw_show_busy (Widget w, Boolean busy) |
1269 { | 1271 { |