comparison src/xterm.h @ 47056:1afff47013bb

(FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros. (struct x_output): New fields blink_off_cursor, blink_off_cursor_width.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Aug 2002 18:41:51 +0000
parents d69b36b954c3
children aef410a9a629
comparison
equal deleted inserted replaced
47055:6469b390d805 47056:1afff47013bb
519 enum text_cursor_kinds desired_cursor; 519 enum text_cursor_kinds desired_cursor;
520 520
521 /* Width of bar cursor (if we are using that). */ 521 /* Width of bar cursor (if we are using that). */
522 int cursor_width; 522 int cursor_width;
523 523
524 /* What kind of text cursor should we draw when the cursor blinks off?
525 This can be filled_box_cursor or bar_cursor or no_cursor. */
526 enum text_cursor_kinds blink_off_cursor;
527
528 /* Width of bar cursor (if we are using that) for blink-off state. */
529 int blink_off_cursor_width;
530
524 /* These are the current window manager hints. It seems that 531 /* These are the current window manager hints. It seems that
525 XSetWMHints, when presented with an unset bit in the `flags' 532 XSetWMHints, when presented with an unset bit in the `flags'
526 member of the hints structure, does not leave the corresponding 533 member of the hints structure, does not leave the corresponding
527 attribute unchanged; rather, it resets that attribute to its 534 attribute unchanged; rather, it resets that attribute to its
528 default value. For example, unless you set the `icon_pixmap' 535 default value. For example, unless you set the `icon_pixmap'
693 /* These two really ought to be called FRAME_PIXEL_{WIDTH,HEIGHT}. */ 700 /* These two really ought to be called FRAME_PIXEL_{WIDTH,HEIGHT}. */
694 #define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width) 701 #define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width)
695 #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height) 702 #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height)
696 703
697 #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor) 704 #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)
705 #define FRAME_BLINK_OFF_CURSOR(f) ((f)->output_data.x->blink_off_cursor)
698 #define FRAME_CURSOR_WIDTH(f) ((f)->output_data.x->cursor_width) 706 #define FRAME_CURSOR_WIDTH(f) ((f)->output_data.x->cursor_width)
707 #define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->output_data.x->blink_off_cursor_width)
699 708
700 #define FRAME_XIC(f) ((f)->output_data.x->xic) 709 #define FRAME_XIC(f) ((f)->output_data.x->xic)
701 #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim) 710 #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)
702 #define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles) 711 #define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles)
703 #define FRAME_XIC_STYLE(f) ((f)->output_data.x->xic_style) 712 #define FRAME_XIC_STYLE(f) ((f)->output_data.x->xic_style)