1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

(FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps).

(struct glyph_row): Reorder fringe_bitmap related fields.
(struct it): Likewise.
This commit is contained in:
Kim F. Storm 2004-09-29 14:21:45 +00:00
parent dc5d6435db
commit b3b08f03c4

View file

@ -104,7 +104,7 @@ enum window_part
};
/* Number of bits allocated to store fringe bitmap numbers. */
#define FRINGE_ID_BITS 8
#define FRINGE_ID_BITS 16
@ -714,24 +714,24 @@ struct glyph_row
/* Left fringe bitmap number (enum fringe_bitmap_type). */
unsigned left_user_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_user_fringe_face_id : FACE_ID_BITS;
/* Right fringe bitmap number (enum fringe_bitmap_type). */
unsigned right_user_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the right fringe glyph. */
unsigned right_user_fringe_face_id : FACE_ID_BITS;
/* Left fringe bitmap number (enum fringe_bitmap_type). */
unsigned left_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_fringe_face_id : FACE_ID_BITS;
/* Right fringe bitmap number (enum fringe_bitmap_type). */
unsigned right_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_user_fringe_face_id : FACE_ID_BITS;
/* Face of the right fringe glyph. */
unsigned right_user_fringe_face_id : FACE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_fringe_face_id : FACE_ID_BITS;
/* Face of the right fringe glyph. */
unsigned right_fringe_face_id : FACE_ID_BITS;
@ -2047,12 +2047,12 @@ struct it
/* Left fringe bitmap number (enum fringe_bitmap_type). */
unsigned left_user_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_user_fringe_face_id : FACE_ID_BITS;
/* Right fringe bitmap number (enum fringe_bitmap_type). */
unsigned right_user_fringe_bitmap : FRINGE_ID_BITS;
/* Face of the left fringe glyph. */
unsigned left_user_fringe_face_id : FACE_ID_BITS;
/* Face of the right fringe glyph. */
unsigned right_user_fringe_face_id : FACE_ID_BITS;
};