comparison src/dispextern.h @ 30162:b90768fb8580

(struct redisplay_interface): Add parameter MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. (clear_mouse_face): New function pointer member.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 12 Jul 2000 15:10:50 +0000
parents de813a66787a
children 2e0e027ab8f8
comparison
equal deleted inserted replaced
30161:8be2bf27e9ad 30162:b90768fb8580
1860 /* Function to call before beginning to update window W in 1860 /* Function to call before beginning to update window W in
1861 window-based redisplay. */ 1861 window-based redisplay. */
1862 void (*update_window_begin_hook) P_ ((struct window *w)); 1862 void (*update_window_begin_hook) P_ ((struct window *w));
1863 1863
1864 /* Function to call after window W has been updated in window-based 1864 /* Function to call after window W has been updated in window-based
1865 redisplay. CURSOR_ON_P non-zero means switch cursor on. */ 1865 redisplay. CURSOR_ON_P non-zero means switch cursor on.
1866 void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p)); 1866 MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W
1867 that contained glyphs in mouse-face were overwritten, so we
1868 have to update the mouse hightlight. */
1869 void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p,
1870 int mouse_face_overwritten_p));
1867 1871
1868 /* Move cursor to row/column position VPOS/HPOS, pixel coordinates 1872 /* Move cursor to row/column position VPOS/HPOS, pixel coordinates
1869 Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y 1873 Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y
1870 are window-relative pixel positions. */ 1874 are window-relative pixel positions. */
1871 void (*cursor_to) P_ ((int vpos, int hpos, int y, int x)); 1875 void (*cursor_to) P_ ((int vpos, int hpos, int y, int x));
1872 1876
1873 /* Flush the display of frame F. For X, this is XFlush. */ 1877 /* Flush the display of frame F. For X, this is XFlush. */
1874 void (*flush_display) P_ ((struct frame *f)); 1878 void (*flush_display) P_ ((struct frame *f));
1879
1880 /* Clear the mouse hightlight in windwo W, if there is any. */
1881 void (*clear_mouse_face) P_ ((struct window *w));
1875 1882
1876 /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on 1883 /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on
1877 frame F. */ 1884 frame F. */
1878 void (*get_glyph_overhangs) P_ ((struct glyph *glyph, struct frame *f, 1885 void (*get_glyph_overhangs) P_ ((struct glyph *glyph, struct frame *f,
1879 int *left, int *right)); 1886 int *left, int *right));