changeset 56498:ee3ccdb058d1

(struct glyph_matrix): New members nrows_scale_factor and ncols_scale_factor.
author Kim F. Storm <storm@cua.dk>
date Wed, 21 Jul 2004 21:08:56 +0000
parents 8f77d7fac4d6
children 5277ee215de2
files src/window.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.h	Wed Jul 21 21:08:45 2004 +0000
+++ b/src/window.h	Wed Jul 21 21:08:56 2004 +0000
@@ -236,6 +236,11 @@
     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;