Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
952291d9
Commit
952291d9
authored
Jul 19, 2000
by
Gerd Moellmann
Browse files
Add some more prototypes.
parent
2e621225
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
21 deletions
+30
-21
src/xterm.c
src/xterm.c
+12
-5
src/xterm.h
src/xterm.h
+18
-16
No files found.
src/xterm.c
View file @
952291d9
...
...
@@ -101,8 +101,9 @@ Boston, MA 02111-1307, USA. */
#ifdef USE_X_TOOLKIT
extern void free_frame_menubar ();
extern FRAME_PTR x_menubar_window_to_frame ();
extern void free_frame_menubar P_ ((struct frame *));
extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *,
int));
#if (XtSpecificationRelease >= 5) && !defined(NO_EDITRES)
#define HACK_EDITRES
...
...
@@ -384,8 +385,8 @@ extern int extra_keyboard_modifiers;
static Lisp_Object Qvendor_specific_keysyms;
extern XrmDatabase x_load_resources
(
);
extern Lisp_Object x_icon_type
(
);
extern XrmDatabase x_load_resources
P_ ((Display *, char *, char *, char *)
);
extern Lisp_Object x_icon_type
P_ ((struct frame *)
);
/* 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 *));
static void x_draw_row_bitmaps P_ ((struct window *, struct glyph_row *));
static void note_overwritten_text_cursor P_ ((struct window *, int, int));
static void x_flush P_ ((struct frame *f));
static void x_update_begin P_ ((struct frame *));
static void x_update_window_begin P_ ((struct window *));
static void x_draw_vertical_border P_ ((struct window *));
static void x_after_update_window_line P_ ((struct glyph_row *));
static INLINE void take_vertical_position_into_account P_ ((struct it *));
static void x_produce_stretch_glyph P_ ((struct it *));
/* Flush display of frame F, or of all frames if F is null. */
...
...
src/xterm.h
View file @
952291d9
...
...
@@ -106,17 +106,6 @@ Boston, MA 02111-1307, USA. */
| EnterWindowMask \
| VisibilityChangeMask)
/* This checks to make sure we have a display. */
extern
void
check_x
();
extern
struct
frame
*
x_window_to_frame
();
#ifdef USE_X_TOOLKIT
extern
struct
frame
*
x_any_window_to_frame
();
extern
struct
frame
*
x_non_menubar_window_to_frame
();
extern
struct
frame
*
x_top_window_to_frame
();
#endif
enum
text_cursor_kinds
{
NO_CURSOR
=
-
1
,
...
...
@@ -352,6 +341,17 @@ struct x_display_info
#endif
};
/* This checks to make sure we have a display. */
extern
void
check_x
P_
((
void
));
extern
struct
frame
*
x_window_to_frame
P_
((
struct
x_display_info
*
,
int
));
#ifdef USE_X_TOOLKIT
extern
struct
frame
*
x_any_window_to_frame
P_
((
struct
x_display_info
*
,
int
));
extern
struct
frame
*
x_non_menubar_window_to_frame
P_
((
struct
x_display_info
*
,
int
));
extern
struct
frame
*
x_top_window_to_frame
P_
((
struct
x_display_info
*
,
int
));
#endif
/* This is a chain of structures for all the X displays currently in use. */
extern
struct
x_display_info
*
x_display_list
;
...
...
@@ -367,15 +367,17 @@ extern Lisp_Object Vx_pixel_size_width_font_regexp;
/* A flag to control how to display unibyte 8-bit character. */
extern
int
unibyte_display_via_language_environment
;
struct
x_display_info
*
x_display_info_for_display
P_
((
Display
*
));
struct
x_display_info
*
x_display_info_for_name
(
);
extern
struct
x_display_info
*
x_display_info_for_display
P_
((
Display
*
));
extern
struct
x_display_info
*
x_display_info_for_name
P_
((
Lisp_Object
)
);
extern
struct
x_display_info
*
x_term_init
(
);
extern
struct
x_display_info
*
x_term_init
P_
((
Lisp_Object
,
char
*
,
char
*
)
);
extern
Lisp_Object
x_list_fonts
P_
((
struct
frame
*
,
Lisp_Object
,
int
,
int
));
extern
void
select_visual
P_
((
struct
x_display_info
*
));
extern
struct
font_info
*
x_get_font_info
(),
*
x_load_font
(),
*
x_query_font
();
extern
void
x_find_ccl_program
();
extern
struct
font_info
*
x_get_font_info
P_
((
struct
frame
*
f
,
int
));
extern
struct
font_info
*
x_load_font
P_
((
struct
frame
*
,
char
*
,
int
));
extern
struct
font_info
*
x_query_font
P_
((
struct
frame
*
,
char
*
));
extern
void
x_find_ccl_program
P_
((
struct
font_info
*
));
/* Each X frame object points to its own struct x_output object
in the output_data.x field. The x_output structure contains
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment