diff options
| author | Kim F. Storm | 2004-09-29 14:21:45 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-09-29 14:21:45 +0000 |
| commit | b3b08f03c45f4ed3b1a5eff5b78a4aaea2fa0044 (patch) | |
| tree | 2a7bcd1d02dbae4e858b838e53fb3706d006b491 /src | |
| parent | dc5d6435dbb40131a1ae6a03a31693545d99c492 (diff) | |
| download | emacs-b3b08f03c45f4ed3b1a5eff5b78a4aaea2fa0044.tar.gz emacs-b3b08f03c45f4ed3b1a5eff5b78a4aaea2fa0044.zip | |
(FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps).
(struct glyph_row): Reorder fringe_bitmap related fields.
(struct it): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 91b29b251a8..1a35408733d 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -104,7 +104,7 @@ enum window_part | |||
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | /* Number of bits allocated to store fringe bitmap numbers. */ | 106 | /* Number of bits allocated to store fringe bitmap numbers. */ |
| 107 | #define FRINGE_ID_BITS 8 | 107 | #define FRINGE_ID_BITS 16 |
| 108 | 108 | ||
| 109 | 109 | ||
| 110 | 110 | ||
| @@ -714,24 +714,24 @@ struct glyph_row | |||
| 714 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ | 714 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ |
| 715 | unsigned left_user_fringe_bitmap : FRINGE_ID_BITS; | 715 | unsigned left_user_fringe_bitmap : FRINGE_ID_BITS; |
| 716 | 716 | ||
| 717 | /* Face of the left fringe glyph. */ | ||
| 718 | unsigned left_user_fringe_face_id : FACE_ID_BITS; | ||
| 719 | |||
| 720 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ | 717 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ |
| 721 | unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | 718 | unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; |
| 722 | 719 | ||
| 723 | /* Face of the right fringe glyph. */ | ||
| 724 | unsigned right_user_fringe_face_id : FACE_ID_BITS; | ||
| 725 | |||
| 726 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ | 720 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ |
| 727 | unsigned left_fringe_bitmap : FRINGE_ID_BITS; | 721 | unsigned left_fringe_bitmap : FRINGE_ID_BITS; |
| 728 | 722 | ||
| 729 | /* Face of the left fringe glyph. */ | ||
| 730 | unsigned left_fringe_face_id : FACE_ID_BITS; | ||
| 731 | |||
| 732 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ | 723 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ |
| 733 | unsigned right_fringe_bitmap : FRINGE_ID_BITS; | 724 | unsigned right_fringe_bitmap : FRINGE_ID_BITS; |
| 734 | 725 | ||
| 726 | /* Face of the left fringe glyph. */ | ||
| 727 | unsigned left_user_fringe_face_id : FACE_ID_BITS; | ||
| 728 | |||
| 729 | /* Face of the right fringe glyph. */ | ||
| 730 | unsigned right_user_fringe_face_id : FACE_ID_BITS; | ||
| 731 | |||
| 732 | /* Face of the left fringe glyph. */ | ||
| 733 | unsigned left_fringe_face_id : FACE_ID_BITS; | ||
| 734 | |||
| 735 | /* Face of the right fringe glyph. */ | 735 | /* Face of the right fringe glyph. */ |
| 736 | unsigned right_fringe_face_id : FACE_ID_BITS; | 736 | unsigned right_fringe_face_id : FACE_ID_BITS; |
| 737 | 737 | ||
| @@ -2047,12 +2047,12 @@ struct it | |||
| 2047 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ | 2047 | /* Left fringe bitmap number (enum fringe_bitmap_type). */ |
| 2048 | unsigned left_user_fringe_bitmap : FRINGE_ID_BITS; | 2048 | unsigned left_user_fringe_bitmap : FRINGE_ID_BITS; |
| 2049 | 2049 | ||
| 2050 | /* Face of the left fringe glyph. */ | ||
| 2051 | unsigned left_user_fringe_face_id : FACE_ID_BITS; | ||
| 2052 | |||
| 2053 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ | 2050 | /* Right fringe bitmap number (enum fringe_bitmap_type). */ |
| 2054 | unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | 2051 | unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; |
| 2055 | 2052 | ||
| 2053 | /* Face of the left fringe glyph. */ | ||
| 2054 | unsigned left_user_fringe_face_id : FACE_ID_BITS; | ||
| 2055 | |||
| 2056 | /* Face of the right fringe glyph. */ | 2056 | /* Face of the right fringe glyph. */ |
| 2057 | unsigned right_user_fringe_face_id : FACE_ID_BITS; | 2057 | unsigned right_user_fringe_face_id : FACE_ID_BITS; |
| 2058 | }; | 2058 | }; |