diff options
author | Steven Tamm <steventamm@mac.com> | 2005-01-16 00:10:18 +0000 |
---|---|---|
committer | Steven Tamm <steventamm@mac.com> | 2005-01-16 00:10:18 +0000 |
commit | 9cdd488421a5154daac4be814bbc20d7b37a6d25 (patch) | |
tree | f37262e7260fc68c775832efe5c3e42443a86e05 /src/macterm.h | |
parent | 5092b64401d41a879f2f59b2a813a58b8f71c263 (diff) | |
download | emacs-9cdd488421a5154daac4be814bbc20d7b37a6d25.tar.gz |
* macfns.c (x_set_foreground_color, x_set_background_color): Sync
with xfns.c.
(mac_window, x_create_tip_frame): Use XSetWindowBackground.
* macterm.c (XSetBackground, XSetWindowBackground): New functions.
* macterm.h (XSetBackground, XSetWindowBackground): Add externs.
Diffstat (limited to 'src/macterm.h')
-rw-r--r-- | src/macterm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macterm.h b/src/macterm.h index fd6b066af4c..f32b13000e6 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -602,6 +602,8 @@ extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, unsigned int)); extern void XFreePixmap P_ ((Display *, Pixmap)); extern void XSetForeground P_ ((Display *, GC, unsigned long)); +extern void XSetBackground P_ ((Display *, GC, unsigned long)); +extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, int, int)); extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |