Mercurial > emacs
comparison src/xterm.h @ 30321:1f4d6c2c8a7a
Add some more prototypes.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 19 Jul 2000 15:47:10 +0000 |
parents | 1c42f2313b4f |
children | ff13c4812848 |
comparison
equal
deleted
inserted
replaced
30320:a1f02a10e391 | 30321:1f4d6c2c8a7a |
---|---|
103 | StructureNotifyMask \ | 103 | StructureNotifyMask \ |
104 | FocusChangeMask \ | 104 | FocusChangeMask \ |
105 | LeaveWindowMask \ | 105 | LeaveWindowMask \ |
106 | EnterWindowMask \ | 106 | EnterWindowMask \ |
107 | VisibilityChangeMask) | 107 | VisibilityChangeMask) |
108 | |
109 /* This checks to make sure we have a display. */ | |
110 extern void check_x (); | |
111 | |
112 extern struct frame *x_window_to_frame (); | |
113 | |
114 #ifdef USE_X_TOOLKIT | |
115 extern struct frame *x_any_window_to_frame (); | |
116 extern struct frame *x_non_menubar_window_to_frame (); | |
117 extern struct frame *x_top_window_to_frame (); | |
118 #endif | |
119 | 108 |
120 enum text_cursor_kinds | 109 enum text_cursor_kinds |
121 { | 110 { |
122 NO_CURSOR = -1, | 111 NO_CURSOR = -1, |
123 FILLED_BOX_CURSOR, | 112 FILLED_BOX_CURSOR, |
350 XIM xim; | 339 XIM xim; |
351 XIMStyles *xim_styles; | 340 XIMStyles *xim_styles; |
352 #endif | 341 #endif |
353 }; | 342 }; |
354 | 343 |
344 /* This checks to make sure we have a display. */ | |
345 extern void check_x P_ ((void)); | |
346 | |
347 extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int)); | |
348 | |
349 #ifdef USE_X_TOOLKIT | |
350 extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int)); | |
351 extern struct frame *x_non_menubar_window_to_frame P_ ((struct x_display_info *, int)); | |
352 extern 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. */ |
356 extern struct x_display_info *x_display_list; | 356 extern struct x_display_info *x_display_list; |
357 | 357 |
358 /* This is a list of cons cells, each of the form (NAME . FONT-LIST-CACHE), | 358 /* This is a list of cons cells, each of the form (NAME . FONT-LIST-CACHE), |
359 one for each element of x_display_list and in the same order. | 359 one for each element of x_display_list and in the same order. |
365 extern Lisp_Object Vx_pixel_size_width_font_regexp; | 365 extern Lisp_Object Vx_pixel_size_width_font_regexp; |
366 | 366 |
367 /* A flag to control how to display unibyte 8-bit character. */ | 367 /* A flag to control how to display unibyte 8-bit character. */ |
368 extern int unibyte_display_via_language_environment; | 368 extern int unibyte_display_via_language_environment; |
369 | 369 |
370 struct x_display_info *x_display_info_for_display P_ ((Display *)); | 370 extern struct x_display_info *x_display_info_for_display P_ ((Display *)); |
371 struct x_display_info *x_display_info_for_name (); | 371 extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); |
372 | 372 |
373 extern struct x_display_info *x_term_init (); | 373 extern struct x_display_info *x_term_init P_ ((Lisp_Object, char *, char *)); |
374 | 374 |
375 extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int)); | 375 extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int)); |
376 extern void select_visual P_ ((struct x_display_info *)); | 376 extern void select_visual P_ ((struct x_display_info *)); |
377 extern struct font_info *x_get_font_info(), *x_load_font (), *x_query_font (); | 377 extern struct font_info *x_get_font_info P_ ((struct frame *f, int)); |
378 extern void x_find_ccl_program(); | 378 extern struct font_info *x_load_font P_ ((struct frame *, char *, int)); |
379 extern struct font_info *x_query_font P_ ((struct frame *, char *)); | |
380 extern 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 |
382 the information that is specific to X windows. */ | 384 the information that is specific to X windows. */ |
383 | 385 |