comparison src/console.h @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c42ec1d1cded
children e11d67e05968
comparison
equal deleted inserted replaced
283:fa3d41851a08 284:558f606b08ae
46 /* GCC does not like forward enum declaration. This needs to be 46 /* GCC does not like forward enum declaration. This needs to be
47 defined here. What a disgust! */ 47 defined here. What a disgust! */
48 48
49 enum device_metrics 49 enum device_metrics
50 { 50 {
51 color_default, color_select, color_balloon, color_3d_face, color_3d_light, 51 DM_color_default, DM_color_select, DM_color_balloon, DM_color_3d_face,
52 color_3d_dark, color_menu, color_menu_high, color_menu_button, 52 DM_color_3d_light, DM_color_3d_dark, DM_color_menu, DM_color_menu_highlight,
53 color_menu_unsel, color_toolbar, color_scrollbar, color_desktop, 53 DM_color_menu_button, DM_color_menu_disabled, DM_color_toolbar,
54 color_workspace, font_default, font_menubar, font_dialog, size_cursor, 54 DM_color_scrollbar, DM_color_desktop, DM_color_workspace, DM_font_default,
55 size_scrollbar, size_menu, size_toolbar, size_tbbutton, size_tbborder, 55 DM_font_menubar, DM_font_dialog, DM_size_cursor, DM_size_scrollbar,
56 size_icon, size_icon_small, size_device, size_workspace, size_device_mm, 56 DM_size_menu, DM_size_toolbar, DM_size_toolbar_button,
57 device_dpi, num_bit_planes, num_color_cells,mouse_buttons, 57 DM_size_toolbar_border, DM_size_icon, DM_size_icon_small, DM_size_device,
58 swap_buttons, show_sounds, slow_device, security, dbcs, ime, mid_east 58 DM_size_workspace, DM_size_device_mm, DM_device_dpi, DM_num_bit_planes,
59 DM_num_color_cells, DM_mouse_buttons, DM_swap_buttons, DM_show_sounds,
60 DM_slow_device, DM_security
59 }; 61 };
60 62
61 struct console_methods 63 struct console_methods
62 { 64 {
63 CONST char *name; /* Used by print_console, print_device, print_frame */ 65 CONST char *name; /* Used by print_console, print_device, print_frame */
131 int (*right_margin_width_method) (struct window *); 133 int (*right_margin_width_method) (struct window *);
132 int (*text_width_method) (struct frame *f, struct face_cachel *cachel, 134 int (*text_width_method) (struct frame *f, struct face_cachel *cachel,
133 CONST Emchar *str, Charcount len); 135 CONST Emchar *str, Charcount len);
134 void (*output_display_block_method) (struct window *, struct display_line *, 136 void (*output_display_block_method) (struct window *, struct display_line *,
135 int, int, int, int, int, int, int); 137 int, int, int, int, int, int, int);
136 int (*divider_width_method) (void);
137 int (*divider_height_method) (void); 138 int (*divider_height_method) (void);
138 int (*eol_cursor_width_method) (void); 139 int (*eol_cursor_width_method) (void);
139 void (*output_vertical_divider_method) (struct window *, int); 140 void (*output_vertical_divider_method) (struct window *, int);
140 void (*clear_to_window_end_method) (struct window *, int, int); 141 void (*clear_to_window_end_method) (struct window *, int, int);
141 void (*clear_region_method) (Lisp_Object, face_index, int, int, int, int); 142 void (*clear_region_method) (Lisp_Object, face_index, int, int, int, int);
264 void (*free_frame_menubars_method) (struct frame *); 265 void (*free_frame_menubars_method) (struct frame *);
265 #endif 266 #endif
266 267
267 #ifdef HAVE_DIALOGS 268 #ifdef HAVE_DIALOGS
268 /* dialog methods */ 269 /* dialog methods */
270 void (*popup_dialog_box_method) (struct frame *, Lisp_Object dbox_desc);
269 #endif 271 #endif
270 }; 272 };
271 273
272 /* 274 /*
273 * Constants returned by device_implementation_flags_method 275 * Constants returned by device_implementation_flags_method