]> code.delx.au - gnu-emacs/commitdiff
(struct glyph_matrix): New members nrows_scale_factor
authorKim F. Storm <storm@cua.dk>
Wed, 21 Jul 2004 21:08:56 +0000 (21:08 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 21 Jul 2004 21:08:56 +0000 (21:08 +0000)
and ncols_scale_factor.

src/window.h

index 1e53ae659cb802a6b7df23050bbe2382190c97c8..d8f98444ae931195d1b7f45b0c51429cd4af4e41 100644 (file)
@@ -236,6 +236,11 @@ struct window
     struct glyph_matrix *current_matrix;
     struct glyph_matrix *desired_matrix;
 
+    /* Scaling factor for the glyph_matrix size calculation in this window.
+       Used if window contains many small images or uses proportional fonts,
+       as the normal  may yield a matrix which is too small.  */
+    int nrows_scale_factor, ncols_scale_factor;
+
     /* Cursor position as of last update that completed without
        pause.  This is the position of last_point.  */
     struct cursor_pos last_cursor;