Lines Matching defs:display

0 /* display.c -- How to display Info windows.
2 $Id: display.c,v 1.7 2004/04/11 17:56:45 karl Exp $
23 #include "display.h"
27 static void free_display (DISPLAY_LINE **display);
34 /* An array of display lines which tell us what is currently visible on
35 the display. */
52 display_clear_display (DISPLAY_LINE **display)
56 for (i = 0; display[i]; i++)
58 display[i]->text[0] = '\0';
59 display[i]->textlen = 0;
60 display[i]->inverse = 0;
76 /* For every window in the list, check contents against the display. */
79 /* Only re-display visible windows which need updating. */
125 register char *nodetext; /* Current character to display. */
133 DISPLAY_LINE **display = the_display;
135 /* If display is inhibited, that counts as an interrupted display. */
139 /* If the window has no height, or display is inhibited, quit now. */
151 check the contents of that buffer against the display. If they
152 differ, update the display. */
295 entry = display[line_index + win->first_row];
338 /* Update the display text buffer. */
361 now, instead of continuing with the display. */
402 DISPLAY_LINE *entry = display[line_index + win->first_row];
416 Check the window's modeline against the one in the display, and update
423 /* This display line must both be in inverse, and have the same
425 if ((!display[line_index]->inverse) ||
426 (strcmp (display[line_index]->text, win->modeline) != 0))
432 strcpy (display[line_index]->text, win->modeline);
433 display[line_index]->inverse = 1;
434 display[line_index]->textlen = strlen (win->modeline);
472 /* Now do it in the display buffer so our contents match the screen. */
616 DISPLAY_LINE **display;
618 display = (DISPLAY_LINE **)xmalloc ((1 + height) * sizeof (DISPLAY_LINE *));
622 display[i] = (DISPLAY_LINE *)xmalloc (sizeof (DISPLAY_LINE));
623 display[i]->text = (char *)xmalloc (1 + width);
624 display[i]->textlen = 0;
625 display[i]->inverse = 0;
627 display[i] = (DISPLAY_LINE *)NULL;
628 return (display);
633 free_display (DISPLAY_LINE **display)
638 if (!display)
641 for (i = 0; (display_line = display[i]); i++)
646 free (display);