changeset 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 9a8fc909ccc1
children 85230b6628b3
files src/dispextern.h
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Wed Sep 29 14:20:46 2004 +0000
+++ b/src/dispextern.h	Wed Sep 29 14:21:45 2004 +0000
@@ -104,7 +104,7 @@
 };
 
 /* Number of bits allocated to store fringe bitmap numbers.  */
-#define FRINGE_ID_BITS  8
+#define FRINGE_ID_BITS  16
 
 
 
@@ -714,24 +714,24 @@
   /* Left fringe bitmap number (enum fringe_bitmap_type).  */
   unsigned left_user_fringe_bitmap : FRINGE_ID_BITS;
 
+  /* Right fringe bitmap number (enum fringe_bitmap_type).  */
+  unsigned right_user_fringe_bitmap : FRINGE_ID_BITS;
+
+  /* Left fringe bitmap number (enum fringe_bitmap_type).  */
+  unsigned left_fringe_bitmap : FRINGE_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;
 
-  /* 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 right fringe glyph.  */
   unsigned right_fringe_face_id : FACE_ID_BITS;
 
@@ -2047,12 +2047,12 @@
   /* Left fringe bitmap number (enum fringe_bitmap_type).  */
   unsigned left_user_fringe_bitmap : FRINGE_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;
 
-  /* 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;
 };