comparison src/console.h @ 269:b2472a1930f2 r20-5b33

Import from CVS: tag r20-5b33
author cvs
date Mon, 13 Aug 2007 10:27:19 +0200
parents 8efd647ea9ca
children c5d627a313b1
comparison
equal deleted inserted replaced
268:6ced69ccd85f 269:b2472a1930f2
74 int (*device_pixel_height_method) (struct device *); 74 int (*device_pixel_height_method) (struct device *);
75 int (*device_mm_width_method) (struct device *); 75 int (*device_mm_width_method) (struct device *);
76 int (*device_mm_height_method) (struct device *); 76 int (*device_mm_height_method) (struct device *);
77 int (*device_bitplanes_method) (struct device *); 77 int (*device_bitplanes_method) (struct device *);
78 int (*device_color_cells_method) (struct device *); 78 int (*device_color_cells_method) (struct device *);
79 unsigned int (*device_implementation_flags_method) ();
79 80
80 /* frame methods */ 81 /* frame methods */
81 Lisp_Object *device_specific_frame_props; 82 Lisp_Object *device_specific_frame_props;
82 void (*init_frame_1_method) (struct frame *, Lisp_Object properties); 83 void (*init_frame_1_method) (struct frame *, Lisp_Object properties);
83 void (*init_frame_2_method) (struct frame *, Lisp_Object properties); 84 void (*init_frame_2_method) (struct frame *, Lisp_Object properties);
109 void (*set_icon_name_from_bufbyte_method) (struct frame *f, Bufbyte *title); 110 void (*set_icon_name_from_bufbyte_method) (struct frame *f, Bufbyte *title);
110 void (*set_frame_pointer_method) (struct frame *f); 111 void (*set_frame_pointer_method) (struct frame *f);
111 void (*set_frame_icon_method) (struct frame *f); 112 void (*set_frame_icon_method) (struct frame *f);
112 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event); 113 void (*popup_menu_method) (Lisp_Object menu, Lisp_Object event);
113 Lisp_Object (*get_frame_parent_method) (struct frame *f); 114 Lisp_Object (*get_frame_parent_method) (struct frame *f);
115 void (*update_frame_external_traits_method) (struct frame *f, Lisp_Object name);
114 116
115 /* redisplay methods */ 117 /* redisplay methods */
116 int (*left_margin_width_method) (struct window *); 118 int (*left_margin_width_method) (struct window *);
117 int (*right_margin_width_method) (struct window *); 119 int (*right_margin_width_method) (struct window *);
118 int (*text_width_method) (struct frame *f, struct face_cachel *cachel, 120 int (*text_width_method) (struct frame *f, struct face_cachel *cachel,
252 #ifdef HAVE_DIALOGS 254 #ifdef HAVE_DIALOGS
253 /* dialog methods */ 255 /* dialog methods */
254 #endif 256 #endif
255 }; 257 };
256 258
259 /*
260 * Constants returned by device_implementation_flags_method
261 */
262 /* Set when device uses pixel-based geometry */
263 #define XDEVIMPF_PIXEL_GEOMETRY 0x00000001L
264
265
257 #define CONSOLE_TYPE_NAME(c) ((c)->conmeths->name) 266 #define CONSOLE_TYPE_NAME(c) ((c)->conmeths->name)
258 #define CONSOLE_TYPE(c) ((c)->conmeths->symbol) 267 #define CONSOLE_TYPE(c) ((c)->conmeths->symbol)
259 #define CONMETH_TYPE(meths) ((meths)->symbol) 268 #define CONMETH_TYPE(meths) ((meths)->symbol)
260 269
261 /******** Accessing / calling a console method *********/ 270 /******** Accessing / calling a console method *********/