[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.h
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.h |
Date: |
Fri, 30 Aug 2002 07:59:35 -0400 |
Index: emacs/src/frame.h
diff -c emacs/src/frame.h:1.96 emacs/src/frame.h:1.97
*** emacs/src/frame.h:1.96 Fri Apr 26 19:39:05 2002
--- emacs/src/frame.h Fri Aug 30 07:59:35 2002
***************
*** 57,62 ****
--- 57,72 ----
vertical_scroll_bar_right
};
+ enum text_cursor_kinds
+ {
+ DEFAULT_CURSOR = -2,
+ NO_CURSOR = -1,
+ FILLED_BOX_CURSOR,
+ HOLLOW_BOX_CURSOR,
+ BAR_CURSOR,
+ HBAR_CURSOR
+ };
+
#if !defined(MSDOS) && !defined(WINDOWSNT) && !defined(MAC_OS)
#if !defined(HAVE_X_WINDOWS)
***************
*** 322,327 ****
--- 332,351 ----
actually display them on this frame. */
enum vertical_scroll_bar_type vertical_scroll_bar_type;
+ /* What kind of text cursor should we draw in the future?
+ This should always be filled_box_cursor or bar_cursor. */
+ enum text_cursor_kinds desired_cursor;
+
+ /* 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;
+
/* Non-0 means raise this frame to the top of the heap when selected. */
char auto_raise;
***************
*** 570,575 ****
--- 594,604 ----
#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars)
#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items)
#define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate)
+
+ #define FRAME_DESIRED_CURSOR(f) ((f)->desired_cursor)
+ #define FRAME_BLINK_OFF_CURSOR(f) ((f)->blink_off_cursor)
+ #define FRAME_CURSOR_WIDTH(f) ((f)->cursor_width)
+ #define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->blink_off_cursor_width)
/* Return a pointer to the face cache of frame F. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/frame.h,
Kim F. Storm <=