comparison src/console.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 441bb1e64a06
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
103 void (*set_frame_size_method) (struct frame *f, int width, int height); 103 void (*set_frame_size_method) (struct frame *f, int width, int height);
104 void (*set_frame_position_method) (struct frame *f, int xoff, int yoff); 104 void (*set_frame_position_method) (struct frame *f, int xoff, int yoff);
105 int (*frame_visible_p_method) (struct frame *f); 105 int (*frame_visible_p_method) (struct frame *f);
106 int (*frame_totally_visible_p_method) (struct frame *f); 106 int (*frame_totally_visible_p_method) (struct frame *f);
107 int (*frame_iconified_p_method) (struct frame *f); 107 int (*frame_iconified_p_method) (struct frame *f);
108 void (*set_title_from_char_method) (struct frame *f, char *title); 108 void (*set_title_from_bufbyte_method) (struct frame *f, Bufbyte *title);
109 void (*set_icon_name_from_char_method) (struct frame *f, char *title); 109 void (*set_icon_name_from_bufbyte_method) (struct frame *f, Bufbyte *title);
110 void (*set_frame_pointer_method) (struct frame *f); 110 void (*set_frame_pointer_method) (struct frame *f);
111 void (*set_frame_icon_method) (struct frame *f); 111 void (*set_frame_icon_method) (struct frame *f);
112 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event); 112 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event);
113 Lisp_Object (*get_frame_parent_method) (struct frame *f); 113 Lisp_Object (*get_frame_parent_method) (struct frame *f);
114 114
521 #define CONSOLE_SELECTED_FRAME(con) \ 521 #define CONSOLE_SELECTED_FRAME(con) \
522 DEVICE_SELECTED_FRAME (XDEVICE ((con)->selected_device)) 522 DEVICE_SELECTED_FRAME (XDEVICE ((con)->selected_device))
523 #define CONSOLE_LAST_NONMINIBUF_FRAME(con) NON_LVALUE ((con)->_last_nonminibuf_frame) 523 #define CONSOLE_LAST_NONMINIBUF_FRAME(con) NON_LVALUE ((con)->_last_nonminibuf_frame)
524 #define CONSOLE_QUIT_CHAR(con) ((con)->quit_char) 524 #define CONSOLE_QUIT_CHAR(con) ((con)->quit_char)
525 525
526 #define CDFW_CONSOLE(obj) \ 526 #define CDFW_CONSOLE(obj) \
527 (WINDOWP (obj) \ 527 (WINDOWP (obj) ? WINDOW_CONSOLE (XWINDOW (obj)) \
528 ? WINDOW_CONSOLE (XWINDOW (obj)) \ 528 : (FRAMEP (obj) ? FRAME_CONSOLE (XFRAME (obj)) \
529 : (FRAMEP (obj) \ 529 : (DEVICEP (obj) ? DEVICE_CONSOLE (XDEVICE (obj)) \
530 ? FRAME_CONSOLE (XFRAME (obj)) \ 530 : (CONSOLEP (obj) ? obj \
531 : (DEVICEP (obj) \ 531 : Qnil))))
532 ? DEVICE_CONSOLE (XDEVICE (obj)) \
533 : (CONSOLEP (obj) \
534 ? obj \
535 : Qnil))))
536 532
537 #define CONSOLE_LOOP(concons) LIST_LOOP (concons, Vconsole_list) 533 #define CONSOLE_LOOP(concons) LIST_LOOP (concons, Vconsole_list)
538 #define CONSOLE_DEVICE_LOOP(devcons, con) \ 534 #define CONSOLE_DEVICE_LOOP(devcons, con) \
539 LIST_LOOP (devcons, CONSOLE_DEVICE_LIST (con)) 535 LIST_LOOP (devcons, CONSOLE_DEVICE_LIST (con))
540 536