aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorAlexander Gramiak2019-03-23 11:19:40 -0600
committerAlexander Gramiak2019-04-26 16:10:49 -0600
commitff4e31fa328a2cee5197beb20f068eb021712b5c (patch)
treed49388dd87c3cf11f6231baae8a85089b3344c0f /src/w32term.c
parent86b6e91091ba14edb4811427fec8fe194f6520d4 (diff)
downloademacs-ff4e31fa328a2cee5197beb20f068eb021712b5c.tar.gz
emacs-ff4e31fa328a2cee5197beb20f068eb021712b5c.zip
Rename generic x_* procedures in xdisp.c
* src/xdisp.c (x_consider_frame_title, x_get_glyph_overhangs) (x_produce_glyphs, x_write_glyphs, x_insert_glyphs) (x_clear_end_of_line), x_fix_overlapping_area) (x_update_cursor, x_clear_cursor, x_clear_window_mouse_face) (x_draw_vertical_border, x_draw_right_divider, x_draw_bottom_divider) (x_intersect_rectangles): Rename with a gui prefix to indicate non-X-specific functionality. * src/composite.c: * src/dispextern.h: * src/nsfns.m: * src/nsterm.m: * src/w32fns.c: * src/w32term.c: * src/window.c: * src/xfns.c: * src/xterm.c: Use the renamed procedures.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/w32term.c b/src/w32term.c
index bb1f0bad018..a43d43c5583 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -363,7 +363,7 @@ w32_draw_underwave (struct glyph_string *s, COLORREF color)
363 get_glyph_string_clip_rect (s, &w32_string_clip); 363 get_glyph_string_clip_rect (s, &w32_string_clip);
364 CONVERT_TO_XRECT (string_clip, w32_string_clip); 364 CONVERT_TO_XRECT (string_clip, w32_string_clip);
365 365
366 if (!x_intersect_rectangles (&wave_clip, &string_clip, &final_clip)) 366 if (!gui_intersect_rectangles (&wave_clip, &string_clip, &final_clip))
367 return; 367 return;
368 368
369 hp = CreatePen (PS_SOLID, thickness, color); 369 hp = CreatePen (PS_SOLID, thickness, color);
@@ -713,9 +713,9 @@ x_update_window_end (struct window *w, bool cursor_on_p,
713 if (draw_window_fringes (w, true)) 713 if (draw_window_fringes (w, true))
714 { 714 {
715 if (WINDOW_RIGHT_DIVIDER_WIDTH (w)) 715 if (WINDOW_RIGHT_DIVIDER_WIDTH (w))
716 x_draw_right_divider (w); 716 gui_draw_right_divider (w);
717 else 717 else
718 x_draw_vertical_border (w); 718 gui_draw_vertical_border (w);
719 } 719 }
720 720
721 unblock_input (); 721 unblock_input ();
@@ -2863,7 +2863,7 @@ x_scroll_run (struct window *w, struct run *run)
2863 block_input (); 2863 block_input ();
2864 2864
2865 /* Cursor off. Will be switched on again in x_update_window_end. */ 2865 /* Cursor off. Will be switched on again in x_update_window_end. */
2866 x_clear_cursor (w); 2866 gui_clear_cursor (w);
2867 2867
2868 { 2868 {
2869 RECT from; 2869 RECT from;
@@ -2906,14 +2906,14 @@ x_scroll_run (struct window *w, struct run *run)
2906static void 2906static void
2907frame_highlight (struct frame *f) 2907frame_highlight (struct frame *f)
2908{ 2908{
2909 x_update_cursor (f, 1); 2909 gui_update_cursor (f, 1);
2910 x_set_frame_alpha (f); 2910 x_set_frame_alpha (f);
2911} 2911}
2912 2912
2913static void 2913static void
2914frame_unhighlight (struct frame *f) 2914frame_unhighlight (struct frame *f)
2915{ 2915{
2916 x_update_cursor (f, 1); 2916 gui_update_cursor (f, 1);
2917 x_set_frame_alpha (f); 2917 x_set_frame_alpha (f);
2918} 2918}
2919 2919
@@ -7092,18 +7092,18 @@ extern frame_parm_handler w32_frame_parm_handlers[];
7092static struct redisplay_interface w32_redisplay_interface = 7092static struct redisplay_interface w32_redisplay_interface =
7093{ 7093{
7094 w32_frame_parm_handlers, 7094 w32_frame_parm_handlers,
7095 x_produce_glyphs, 7095 gui_produce_glyphs,
7096 x_write_glyphs, 7096 gui_write_glyphs,
7097 x_insert_glyphs, 7097 gui_insert_glyphs,
7098 x_clear_end_of_line, 7098 gui_clear_end_of_line,
7099 x_scroll_run, 7099 x_scroll_run,
7100 x_after_update_window_line, 7100 x_after_update_window_line,
7101 x_update_window_begin, 7101 x_update_window_begin,
7102 x_update_window_end, 7102 x_update_window_end,
7103 0, /* flush_display */ 7103 0, /* flush_display */
7104 x_clear_window_mouse_face, 7104 gui_clear_window_mouse_face,
7105 x_get_glyph_overhangs, 7105 gui_get_glyph_overhangs,
7106 x_fix_overlapping_area, 7106 gui_fix_overlapping_area,
7107 w32_draw_fringe_bitmap, 7107 w32_draw_fringe_bitmap,
7108 w32_define_fringe_bitmap, 7108 w32_define_fringe_bitmap,
7109 w32_destroy_fringe_bitmap, 7109 w32_destroy_fringe_bitmap,