[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Menu bar items structure
From: |
Po Lu |
Subject: |
Re: Menu bar items structure |
Date: |
Thu, 17 Nov 2022 19:17:54 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Po Lu <luangruo@yahoo.com> writes:
> Yes. But at the same time, I think we might as well fix the code to
> stop assuming that each character in the menu bar item string
> corresponds to a single glyph, so the changes that have to be done are
> actually much more subtle.
Scratch the last part. I think that problem is already solved by this
piece of display_menu_bar:
/* Remember where item was displayed. */
ASET (items, i + 3, make_fixnum (it.hpos));
/* Display the item, pad with one space. */
if (it.current_x < it.last_visible_x)
display_string (NULL, string, Qnil, 0, 0, &it,
SCHARS (string) + 1, 0, 0, STRING_MULTIBYTE (string));
- Menu bar items structure, Manuel Giraud, 2022/11/16
- Re: Menu bar items structure, Eli Zaretskii, 2022/11/17
- Re: Menu bar items structure, Manuel Giraud, 2022/11/17
- Re: Menu bar items structure, Eli Zaretskii, 2022/11/17
- Re: Menu bar items structure, Manuel Giraud, 2022/11/18
Re: Menu bar items structure, Manuel Giraud, 2022/11/17