diff src/dispextern.h @ 50243:3fb54e5a7201

(struct redisplay_interface): Add active_p argument to draw_window_cursor member. All uses changed.
author Kim F. Storm <storm@cua.dk>
date Fri, 21 Mar 2003 21:47:46 +0000
parents 10510d1bf1b6
children 84e4dd9629ee
line wrap: on
line diff
--- a/src/dispextern.h	Fri Mar 21 21:47:09 2003 +0000
+++ b/src/dispextern.h	Fri Mar 21 21:47:46 2003 +0000
@@ -2258,13 +2258,15 @@
   void (*clear_frame_area) P_ ((struct frame *f, int x, int y,
 				int width, int height));
 
-/* Draw specified cursor NEW_CURSOR_TYPE of width NEW_CURSOR_WIDTH
-   at row GLYPH_ROW on window W.  */
+/* Draw specified cursor CURSOR_TYPE of width CURSOR_WIDTH
+   at row GLYPH_ROW on window W if ON_P is 1.  If ON_P is
+   0, don't draw cursor.  If ACTIVE_P is 1, system caret
+   should track this cursor (when applicable).  */
   void (*draw_window_cursor) P_ ((struct window *w,
 				  struct glyph_row *glyph_row,
-				  int on, int x, int y,
-				  int new_cursor_type,
-				  int new_cursor_width));
+				  int x, int y,
+				  int cursor_type, int cursor_width,
+				  int on_p, int active_p));
 
 /* Draw vertical border for window W from (X,Y0) to (X,Y1).  */
   void (*draw_vertical_window_border) P_ ((struct window *w,