218 |
struct image_cache *image_cache; |
struct image_cache *image_cache; |
219 |
}; |
}; |
220 |
|
|
221 |
|
/* This checks to make sure we have a display. */ |
222 |
|
extern void check_mac P_ ((void)); |
223 |
|
|
224 |
#define x_display_info mac_display_info |
#define x_display_info mac_display_info |
225 |
|
|
226 |
/* This is a chain of structures for all the X displays currently in use. */ |
/* This is a chain of structures for all the X displays currently in use. */ |
391 |
/* The background for which the above relief GCs were set up. |
/* The background for which the above relief GCs were set up. |
392 |
They are changed only when a different background is involved. */ |
They are changed only when a different background is involved. */ |
393 |
unsigned long relief_background; |
unsigned long relief_background; |
394 |
|
|
395 |
|
/* Hints for the size and the position of a window. */ |
396 |
|
XSizeHints *size_hints; |
397 |
}; |
}; |
398 |
|
|
399 |
typedef struct mac_output mac_output; |
typedef struct mac_output mac_output; |
413 |
|
|
414 |
#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset) |
#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset) |
415 |
|
|
416 |
|
#define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) |
417 |
|
|
418 |
/* This gives the w32_display_info structure for the display F is on. */ |
/* This gives the w32_display_info structure for the display F is on. */ |
419 |
#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) |
#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) |
420 |
#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) |
#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) |
604 |
extern void XSetForeground P_ ((Display *, GC, unsigned long)); |
extern void XSetForeground P_ ((Display *, GC, unsigned long)); |
605 |
extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, |
extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, |
606 |
int, int)); |
int, int)); |
607 |
|
extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
608 |
|
|
609 |
#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
610 |
#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |