Commit b3b08f03 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

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

(struct glyph_row): Reorder fringe_bitmap related fields.
(struct it): Likewise.
parent dc5d6435
......@@ -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;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment