comparison src/macterm.h @ 70305:5efeadbe7324

(mac_update_title_bar): Add extern. (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. (FRAME_FILE_NAME): New macro.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Mon, 01 May 2006 01:13:29 +0000
parents e8a7cef5ffb5
children c04007f00211 d9f8d2a65d18 2ecafc6d5db7
comparison
equal deleted inserted replaced
70304:085795461ed0 70305:5efeadbe7324
333 unsigned long relief_background; 333 unsigned long relief_background;
334 334
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;
341 #endif 346 #endif
342 }; 347 };
357 #define FRAME_FONTSET(f) ((f)->output_data.mac->fontset) 362 #define FRAME_FONTSET(f) ((f)->output_data.mac->fontset)
358 363
359 #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset) 364 #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset)
360 365
361 #define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) 366 #define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints)
367
368 #define FRAME_FILE_NAME(f) ((f)->output_data.mac->file_name)
362 369
363 /* This gives the mac_display_info structure for the display F is on. */ 370 /* This gives the mac_display_info structure for the display F is on. */
364 #define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) 371 #define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info)
365 #define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) 372 #define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info)
366 373
604 extern int x_pixel_height P_ ((struct frame *)); 611 extern int x_pixel_height P_ ((struct frame *));
605 extern int x_char_width P_ ((struct frame *)); 612 extern int x_char_width P_ ((struct frame *));
606 extern int x_char_height P_ ((struct frame *)); 613 extern int x_char_height P_ ((struct frame *));
607 extern void x_sync P_ ((struct frame *)); 614 extern void x_sync P_ ((struct frame *));
608 extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 615 extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));
616 extern void mac_update_title_bar P_ ((struct frame *, int));
609 617
610 /* Defined in macmenu.c */ 618 /* Defined in macmenu.c */
611 619
612 extern void x_activate_menubar P_ ((struct frame *)); 620 extern void x_activate_menubar P_ ((struct frame *));
613 extern void free_frame_menubar P_ ((struct frame *)); 621 extern void free_frame_menubar P_ ((struct frame *));