summaryrefslogtreecommitdiff
path: root/src/w32term.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-08-29 14:37:51 +0000
committerRichard M. Stallman <rms@gnu.org>2002-08-29 14:37:51 +0000
commit10136eddeac2eec737d25bb104a8f31c29b77557 (patch)
treee2737b4fec2553843f362a58a1edb2fae251635d /src/w32term.h
parentdcd8d1edfecf78b0b17a2e7afe29c8f73082c2e6 (diff)
downloademacs-10136eddeac2eec737d25bb104a8f31c29b77557.tar.gz
(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.
Diffstat (limited to 'src/w32term.h')
-rw-r--r--src/w32term.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/w32term.h b/src/w32term.h
index a5fa83c97f7..ae9ee098ecb 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -380,6 +380,13 @@ struct w32_output
/* 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 @@ enum
#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. */