Mercurial > emacs
comparison src/dispextern.h @ 57276:db333b320b67
(FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps).
(struct glyph_row): Reorder fringe_bitmap related fields.
(struct it): Likewise.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 29 Sep 2004 14:21:45 +0000 |
parents | 3ff2bf32d84d |
children | d370f0f6584a f70dc61a797f 6c1af301b455 |
comparison
equal
deleted
inserted
replaced
57275:9a8fc909ccc1 | 57276:db333b320b67 |
---|---|
102 ON_RIGHT_MARGIN, | 102 ON_RIGHT_MARGIN, |
103 ON_SCROLL_BAR | 103 ON_SCROLL_BAR |
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 |
111 /*********************************************************************** | 111 /*********************************************************************** |
112 Debugging | 112 Debugging |
712 struct display_pos end; | 712 struct display_pos end; |
713 | 713 |
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 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
718 unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | |
719 | |
720 /* Left fringe bitmap number (enum fringe_bitmap_type). */ | |
721 unsigned left_fringe_bitmap : FRINGE_ID_BITS; | |
722 | |
723 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
724 unsigned right_fringe_bitmap : FRINGE_ID_BITS; | |
725 | |
717 /* Face of the left fringe glyph. */ | 726 /* Face of the left fringe glyph. */ |
718 unsigned left_user_fringe_face_id : FACE_ID_BITS; | 727 unsigned left_user_fringe_face_id : FACE_ID_BITS; |
719 | 728 |
720 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
721 unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | |
722 | |
723 /* Face of the right fringe glyph. */ | 729 /* Face of the right fringe glyph. */ |
724 unsigned right_user_fringe_face_id : FACE_ID_BITS; | 730 unsigned right_user_fringe_face_id : FACE_ID_BITS; |
725 | 731 |
726 /* Left fringe bitmap number (enum fringe_bitmap_type). */ | |
727 unsigned left_fringe_bitmap : FRINGE_ID_BITS; | |
728 | |
729 /* Face of the left fringe glyph. */ | 732 /* Face of the left fringe glyph. */ |
730 unsigned left_fringe_face_id : FACE_ID_BITS; | 733 unsigned left_fringe_face_id : FACE_ID_BITS; |
731 | |
732 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
733 unsigned right_fringe_bitmap : FRINGE_ID_BITS; | |
734 | 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 |
738 /* 1 means that we must draw the bitmaps of this row. */ | 738 /* 1 means that we must draw the bitmaps of this row. */ |
2045 int hpos; | 2045 int hpos; |
2046 | 2046 |
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 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
2051 unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | |
2052 | |
2050 /* Face of the left fringe glyph. */ | 2053 /* Face of the left fringe glyph. */ |
2051 unsigned left_user_fringe_face_id : FACE_ID_BITS; | 2054 unsigned left_user_fringe_face_id : FACE_ID_BITS; |
2052 | |
2053 /* Right fringe bitmap number (enum fringe_bitmap_type). */ | |
2054 unsigned right_user_fringe_bitmap : FRINGE_ID_BITS; | |
2055 | 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 }; |
2059 | 2059 |