summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-07-21 21:08:56 +0000
committerKim F. Storm <storm@cua.dk>2004-07-21 21:08:56 +0000
commit71a0ff9a80ffda4ac6ea695460c461bcb6d79687 (patch)
treede656e6d7a735979f1ec83cc9fcb25ecd0eff993 /src/window.h
parent7a146de2135db3ed52ce2921289ed48a9eeb2515 (diff)
downloademacs-71a0ff9a80ffda4ac6ea695460c461bcb6d79687.tar.gz
(struct glyph_matrix): New members nrows_scale_factor
and ncols_scale_factor.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 1e53ae659cb..d8f98444ae9 100644
--- a/src/window.h
+++ b/src/window.h
@@ -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;