changeset 47098:7746b52cf1c9

(FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros. (struct w32_output): New fields blink_off_cursor, blink_off_cursor_width. (FRAME_CURSOR_WIDTH): New macro.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Aug 2002 14:37:51 +0000
parents 398a8f34fb26
children 4a9df8aa130c
files src/w32term.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Thu Aug 29 14:37:33 2002 +0000
+++ b/src/w32term.h	Thu Aug 29 14:37:51 2002 +0000
@@ -380,6 +380,13 @@
   /* Width of bar cursor (if we are using that).  */
   int cursor_width;
 
+  /* What kind of text cursor should we draw when the cursor blinks off?
+     This can be filled_box_cursor or bar_cursor or no_cursor.  */
+  enum text_cursor_kinds blink_off_cursor;
+
+  /* Width of bar cursor (if we are using that) for blink-off state.  */
+  int blink_off_cursor_width;
+
   DWORD dwStyle;
 
   /* The size of the extra width currently allotted for vertical
@@ -482,6 +489,9 @@
 #define PIXEL_HEIGHT(f) ((f)->output_data.w32->pixel_height)
 
 #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.w32->desired_cursor)
+#define FRAME_BLINK_OFF_CURSOR(f) ((f)->output_data.w32->blink_off_cursor)
+#define FRAME_CURSOR_WIDTH(f) ((f)->output_data.w32->cursor_width)
+#define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->output_data.w32->blink_off_cursor_width)
 
 /* Value is the smallest width of any character in any font on frame F.  */