summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-01-13 21:48:08 +0000
committerJim Blandy <jimb@redhat.com>1992-01-13 21:48:08 +0000
commitbd5cd35fd8b585ad3d87f8be98b45a415fea22c0 (patch)
tree5d416f154f32b77026a495de37f12a05269095e5 /src/dispextern.h
parent254f294c2e37a22e04bff74fedfdc9b1fcc93b93 (diff)
downloademacs-bd5cd35fd8b585ad3d87f8be98b45a415fea22c0.tar.gz
*** empty log message ***
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 1d7b8710aba..365f229fb53 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -48,22 +48,27 @@ struct screen_glyphs
int height;
int width;
- int *used; /* Vector of widths (in chars) of lines. */
- /* Vector of line contents.
- m->glyphs[V][H] is the glyph at position V, H.
- Note that ->glyphs[...][screen_width] is always 0
- and so is ->glyphs[...][-1]. */
+ /* Contents of the screen.
+ glyphs[V][H] is the glyph at position V, H.
+ Note that glyphs[V][-1],
+ glyphs[V][used[V]],
+ and glyphs[V][screen_width] are always '\0'. */
GLYPH **glyphs;
/* long vector from which the strings in `glyphs' are taken. */
GLYPH *total_contents;
+ /* When representing a desired screen,
+ enable[n] == 0 means that line n is same as current screen.
+ When representing current screen contents,
+ enable[n] == 0 means that line n is blank. */
+ char *enable;
+
+ /* Everything on line n after column used[n] is considered blank. */
+ int *used;
+
/* highlight[n] != 0 iff line n is highlighted. */
char *highlight;
- /* When representing a desired screen, enable[n] == 0 implies line
- n is same as current screen. When representing current screen
- contents, enable[n] == 0 implies line n is blank. */
- char *enable;
/* Buffer offset of this line's first char. */
int *bufp;