diff options
Diffstat (limited to 'src/macterm.h')
| -rw-r--r-- | src/macterm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/macterm.h b/src/macterm.h index db284fe7788..80276b45102 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -335,6 +335,11 @@ struct mac_output { | |||
| 335 | /* Hints for the size and the position of a window. */ | 335 | /* Hints for the size and the position of a window. */ |
| 336 | XSizeHints *size_hints; | 336 | XSizeHints *size_hints; |
| 337 | 337 | ||
| 338 | #if TARGET_API_MAC_CARBON | ||
| 339 | /* File name for the proxy icon of this frame. Might be NULL. */ | ||
| 340 | char *file_name; | ||
| 341 | #endif | ||
| 342 | |||
| 338 | #if USE_CG_DRAWING | 343 | #if USE_CG_DRAWING |
| 339 | /* Quartz 2D graphics context. */ | 344 | /* Quartz 2D graphics context. */ |
| 340 | CGContextRef cg_context; | 345 | CGContextRef cg_context; |
| @@ -357,6 +362,8 @@ typedef struct mac_output mac_output; | |||
| 357 | 362 | ||
| 358 | #define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) | 363 | #define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) |
| 359 | 364 | ||
| 365 | #define FRAME_FILE_NAME(f) ((f)->output_data.mac->file_name) | ||
| 366 | |||
| 360 | /* This gives the mac_display_info structure for the display F is on. */ | 367 | /* This gives the mac_display_info structure for the display F is on. */ |
| 361 | #define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) | 368 | #define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) |
| 362 | #define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) | 369 | #define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) |
| @@ -603,6 +610,7 @@ extern int x_char_width P_ ((struct frame *)); | |||
| 603 | extern int x_char_height P_ ((struct frame *)); | 610 | extern int x_char_height P_ ((struct frame *)); |
| 604 | extern void x_sync P_ ((struct frame *)); | 611 | extern void x_sync P_ ((struct frame *)); |
| 605 | extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 612 | extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| 613 | extern void mac_update_title_bar P_ ((struct frame *, int)); | ||
| 606 | 614 | ||
| 607 | /* Defined in macmenu.c */ | 615 | /* Defined in macmenu.c */ |
| 608 | 616 | ||