summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-12-10 08:54:11 +0000
committerGerd Moellmann <gerd@gnu.org>1999-12-10 08:54:11 +0000
commit3da48525dc9e69c4f1917734d8e9f4f5bad2ed81 (patch)
tree93c01ef1cf801629ce7e05beb37ee3469fcc5b37 /src
parentec18280fd82a04f26c1003fc35aad2144e77a107 (diff)
downloademacs-3da48525dc9e69c4f1917734d8e9f4f5bad2ed81.tar.gz
(FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
[!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h.
Diffstat (limited to 'src')
-rw-r--r--src/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 00434610317..d1c16705e66 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -71,6 +71,10 @@ struct x_output
#endif /* ! HAVE_X_WINDOWS */
+
+#define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)
+#define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)
+
/* A structure describing a termcap frame display. */
extern struct x_output tty_display;