From: Eli Zaretskii Date: Fri, 19 Apr 2002 11:51:16 +0000 (+0000) Subject: (text_cursor_kinds): New enumeration member HBAR_CURSOR. X-Git-Tag: ttn-vms-21-2-B4~15528 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fab1572a37445f19e350547d36f181eb0ce5d18;p=emacs.git (text_cursor_kinds): New enumeration member HBAR_CURSOR. --- diff --git a/src/ChangeLog b/src/ChangeLog index d6cf26658dc..d4792689870 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,16 @@ -2002-04-19 Eli Zaretskii +2002-04-19 Dave Lambert + + Theses change implement an underscore-like (`hbar') cursor. + + * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. + + * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. + Handle the `hbar' cursor type. + (x_display_and_set_cursor): Handle the HBAR_CURSOR case. + + * xfns.c (Qhbar): New variable. + (syms_of_xfns): intern and staticpro it. + (x_specified_cursor_type): Handle `hbar' cursor. * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined. diff --git a/src/xterm.h b/src/xterm.h index 71d7dc01c78..a91c51ce0bf 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -112,7 +112,8 @@ enum text_cursor_kinds NO_CURSOR = -1, FILLED_BOX_CURSOR, HOLLOW_BOX_CURSOR, - BAR_CURSOR + BAR_CURSOR, + HBAR_CURSOR }; /* Structure recording X pixmap and reference count.