changeset 9547:b0cf6d689f7a

(FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) (FRAME_FONT): New macros.
author Richard M. Stallman <rms@gnu.org>
date Sat, 15 Oct 1994 23:52:23 +0000
parents c5a0a84a76a7
children 6c1db50b798d
files src/xterm.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Sat Oct 15 23:51:54 1994 +0000
+++ b/src/xterm.h	Sat Oct 15 23:52:23 1994 +0000
@@ -427,6 +427,10 @@
 /* Return the window associated with the frame F.  */
 #define FRAME_X_WINDOW(f) ((f)->display.x->window_desc)
 
+#define FRAME_FOREGROUND_PIXEL(f) ((f)->display.x->foreground_pixel)
+#define FRAME_BACKGROUND_PIXEL(f) ((f)->display.x->background_pixel)
+#define FRAME_FONT(f) ((f)->display.x->font)
+
 #define FRAME_X_SCREEN(f) ((f)->display.x->x_screen)
 
 /* This is the `Display *' which frame F is on.  */