Mercurial > hg > xemacs-beta
comparison src/console-x.h @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
379 | 379 |
380 extern struct console_type *x_console_type; | 380 extern struct console_type *x_console_type; |
381 extern Lisp_Object Vdefault_x_device; | 381 extern Lisp_Object Vdefault_x_device; |
382 | 382 |
383 /* Number of pixels below each line. */ | 383 /* Number of pixels below each line. */ |
384 extern int x_interline_space; | 384 extern int x_interline_space; /* #### implement me */ |
385 | 385 |
386 extern int x_selection_timeout; | 386 extern int x_selection_timeout; |
387 | 387 |
388 struct frame *x_any_window_to_frame (struct device *d, Window); | 388 struct frame *x_any_window_to_frame (struct device *d, Window); |
389 struct frame *x_any_widget_or_parent_to_frame (struct device *d, | 389 struct frame *x_any_widget_or_parent_to_frame (struct device *d, |
418 Emchar_dynarr *buf, int xpos, int xoffset, | 418 Emchar_dynarr *buf, int xpos, int xoffset, |
419 int start_pixpos, int width, face_index findex, | 419 int start_pixpos, int width, face_index findex, |
420 int cursor, int cursor_start, int cursor_width, | 420 int cursor, int cursor_start, int cursor_width, |
421 int cursor_height); | 421 int cursor_height); |
422 void x_output_x_pixmap (struct frame *f, struct Lisp_Image_Instance *p, | 422 void x_output_x_pixmap (struct frame *f, struct Lisp_Image_Instance *p, |
423 int x, int y, int clip_x, int clip_y, | 423 int x, int y, int xoffset, int yoffset, |
424 int clip_width, int clip_height, int width, | 424 int width, int height, |
425 int height, int pixmap_offset, | |
426 unsigned long fg, unsigned long bg, | 425 unsigned long fg, unsigned long bg, |
427 GC override_gc); | 426 GC override_gc); |
428 void x_output_shadows (struct frame *f, int x, int y, int width, | 427 void x_output_shadows (struct frame *f, int x, int y, int width, |
429 int height, GC top_shadow_gc, | 428 int height, GC top_shadow_gc, |
430 GC bottom_shadow_gc, GC background_gc, | 429 GC bottom_shadow_gc, GC background_gc, |
431 int shadow_thickness); | 430 int shadow_thickness, int edges); |
432 void x_generate_shadow_pixels (struct frame *f, | 431 void x_generate_shadow_pixels (struct frame *f, |
433 unsigned long *top_shadow, | 432 unsigned long *top_shadow, |
434 unsigned long *bottom_shadow, | 433 unsigned long *bottom_shadow, |
435 unsigned long background, | 434 unsigned long background, |
436 unsigned long core_background); | 435 unsigned long core_background); |
437 | 436 |
438 int x_initialize_frame_menubar (struct frame *f); | 437 int x_initialize_frame_menubar (struct frame *f); |
439 void x_init_modifier_mapping (struct device *d); | 438 void x_init_modifier_mapping (struct device *d); |
440 | 439 |
441 #define X_ERROR_OCCURRED(dpy, body) \ | 440 #define X_ERROR_OCCURRED(dpy, body) \ |
442 (expect_x_error ((dpy)), (body), x_error_occurred_p (dpy)) | 441 (expect_x_error (dpy), body, x_error_occurred_p (dpy)) |
443 | 442 |
444 #define HANDLING_X_ERROR(dpy, body) \ | 443 #define HANDLING_X_ERROR(dpy, body) \ |
445 ( expect_x_error ((dpy)), (body), signal_if_x_error ((dpy), 0)) | 444 (expect_x_error (dpy), body, signal_if_x_error (dpy, 0)) |
446 | 445 |
447 void Initialize_Locale (void); | 446 void Initialize_Locale (void); |
448 | 447 |
449 #ifdef HAVE_XIM | 448 #ifdef HAVE_XIM |
450 | 449 |