From: Kim F. Storm Date: Sun, 16 Mar 2003 20:49:50 +0000 (+0000) Subject: (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): X-Git-Tag: ttn-vms-21-2-B4~10878 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c3f34b36879f0c3cacee35a951fcb6338b9812f;p=emacs.git (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for consolidation. --- diff --git a/src/macterm.h b/src/macterm.h index 615666e0483..1884fa61c03 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -402,8 +402,12 @@ struct mac_output { typedef struct mac_output mac_output; +/* Return the X output data for frame F. */ +#define FRAME_X_OUTPUT(f) ((f)->output_data.mac) + /* Return the Mac window used for displaying data in frame F. */ #define FRAME_MAC_WINDOW(f) ((f)->output_data.mac->mWP) +#define FRAME_X_WINDOW(f) ((f)->output_data.mac->mWP) #define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel) #define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel) @@ -426,6 +430,7 @@ typedef struct mac_output mac_output; /* This is the `Display *' which frame F is on. */ #define FRAME_MAC_DISPLAY(f) (0) +#define FRAME_X_DISPLAY(f) (0) /* This is the 'font_info *' which frame F has. */ #define FRAME_MAC_FONT_TABLE(f) (FRAME_MAC_DISPLAY_INFO (f)->font_table) @@ -648,3 +653,6 @@ struct scroll_bar { struct frame * check_x_frame (Lisp_Object); +#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 +#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 +