aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-19 15:47:10 +0000
committerGerd Moellmann2000-07-19 15:47:10 +0000
commit952291d9f6328ef637ae64050c78c03ff8ece013 (patch)
tree44e20c860990ef4c54eaedb06d8a420a9a14f79d /src
parent2e621225898b2e2d898100a69bf2d963953ad416 (diff)
downloademacs-952291d9f6328ef637ae64050c78c03ff8ece013.tar.gz
emacs-952291d9f6328ef637ae64050c78c03ff8ece013.zip
Add some more prototypes.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c17
-rw-r--r--src/xterm.h34
2 files changed, 30 insertions, 21 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 48caa78bffc..966459952c5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -101,8 +101,9 @@ Boston, MA 02111-1307, USA. */
101 101
102#ifdef USE_X_TOOLKIT 102#ifdef USE_X_TOOLKIT
103 103
104extern void free_frame_menubar (); 104extern void free_frame_menubar P_ ((struct frame *));
105extern FRAME_PTR x_menubar_window_to_frame (); 105extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *,
106 int));
106 107
107#if (XtSpecificationRelease >= 5) && !defined(NO_EDITRES) 108#if (XtSpecificationRelease >= 5) && !defined(NO_EDITRES)
108#define HACK_EDITRES 109#define HACK_EDITRES
@@ -384,8 +385,8 @@ extern int extra_keyboard_modifiers;
384 385
385static Lisp_Object Qvendor_specific_keysyms; 386static Lisp_Object Qvendor_specific_keysyms;
386 387
387extern XrmDatabase x_load_resources (); 388extern XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *));
388extern Lisp_Object x_icon_type (); 389extern Lisp_Object x_icon_type P_ ((struct frame *));
389 390
390 391
391/* Enumeration for overriding/changing the face to use for drawing 392/* Enumeration for overriding/changing the face to use for drawing
@@ -474,7 +475,13 @@ static int x_phys_cursor_in_rect_p P_ ((struct window *, XRectangle *));
474static void x_draw_row_bitmaps P_ ((struct window *, struct glyph_row *)); 475static void x_draw_row_bitmaps P_ ((struct window *, struct glyph_row *));
475static void note_overwritten_text_cursor P_ ((struct window *, int, int)); 476static void note_overwritten_text_cursor P_ ((struct window *, int, int));
476static void x_flush P_ ((struct frame *f)); 477static void x_flush P_ ((struct frame *f));
477 478static void x_update_begin P_ ((struct frame *));
479static void x_update_window_begin P_ ((struct window *));
480static void x_draw_vertical_border P_ ((struct window *));
481static void x_after_update_window_line P_ ((struct glyph_row *));
482static INLINE void take_vertical_position_into_account P_ ((struct it *));
483static void x_produce_stretch_glyph P_ ((struct it *));
484
478 485
479/* Flush display of frame F, or of all frames if F is null. */ 486/* Flush display of frame F, or of all frames if F is null. */
480 487
diff --git a/src/xterm.h b/src/xterm.h
index 81d1a7c6634..6380af5839c 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -106,17 +106,6 @@ Boston, MA 02111-1307, USA. */
106 | EnterWindowMask \ 106 | EnterWindowMask \
107 | VisibilityChangeMask) 107 | VisibilityChangeMask)
108 108
109/* This checks to make sure we have a display. */
110extern void check_x ();
111
112extern struct frame *x_window_to_frame ();
113
114#ifdef USE_X_TOOLKIT
115extern struct frame *x_any_window_to_frame ();
116extern struct frame *x_non_menubar_window_to_frame ();
117extern struct frame *x_top_window_to_frame ();
118#endif
119
120enum text_cursor_kinds 109enum text_cursor_kinds
121{ 110{
122 NO_CURSOR = -1, 111 NO_CURSOR = -1,
@@ -352,6 +341,17 @@ struct x_display_info
352#endif 341#endif
353}; 342};
354 343
344/* This checks to make sure we have a display. */
345extern void check_x P_ ((void));
346
347extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int));
348
349#ifdef USE_X_TOOLKIT
350extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int));
351extern struct frame *x_non_menubar_window_to_frame P_ ((struct x_display_info *, int));
352extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int));
353#endif
354
355/* This is a chain of structures for all the X displays currently in use. */ 355/* This is a chain of structures for all the X displays currently in use. */
356extern struct x_display_info *x_display_list; 356extern struct x_display_info *x_display_list;
357 357
@@ -367,15 +367,17 @@ extern Lisp_Object Vx_pixel_size_width_font_regexp;
367/* A flag to control how to display unibyte 8-bit character. */ 367/* A flag to control how to display unibyte 8-bit character. */
368extern int unibyte_display_via_language_environment; 368extern int unibyte_display_via_language_environment;
369 369
370struct x_display_info *x_display_info_for_display P_ ((Display *)); 370extern struct x_display_info *x_display_info_for_display P_ ((Display *));
371struct x_display_info *x_display_info_for_name (); 371extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object));
372 372
373extern struct x_display_info *x_term_init (); 373extern struct x_display_info *x_term_init P_ ((Lisp_Object, char *, char *));
374 374
375extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int)); 375extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int));
376extern void select_visual P_ ((struct x_display_info *)); 376extern void select_visual P_ ((struct x_display_info *));
377extern struct font_info *x_get_font_info(), *x_load_font (), *x_query_font (); 377extern struct font_info *x_get_font_info P_ ((struct frame *f, int));
378extern void x_find_ccl_program(); 378extern struct font_info *x_load_font P_ ((struct frame *, char *, int));
379extern struct font_info *x_query_font P_ ((struct frame *, char *));
380extern void x_find_ccl_program P_ ((struct font_info *));
379 381
380/* Each X frame object points to its own struct x_output object 382/* Each X frame object points to its own struct x_output object
381 in the output_data.x field. The x_output structure contains 383 in the output_data.x field. The x_output structure contains