Lines Matching refs:total_height
163 int total_height; member
561 cells = g_malloc(s->width * s->total_height * sizeof(TextCell)); in text_console_resize()
562 for(y = 0; y < s->total_height; y++) { in text_console_resize()
611 y1 = (s->y_base + y) % s->total_height; in update_xy()
614 y2 += s->total_height; in update_xy()
640 y1 = (s->y_base + s->y) % s->total_height; in console_show_cursor()
643 y += s->total_height; in console_show_cursor()
684 if (++y1 == s->total_height) in console_refresh()
704 if (++s->y_displayed == s->total_height) in console_scroll()
710 if (i > s->total_height - s->height) in console_scroll()
711 i = s->total_height - s->height; in console_scroll()
714 y1 += s->total_height; in console_scroll()
719 s->y_displayed = s->total_height - 1; in console_scroll()
735 if (++s->y_displayed == s->total_height) in console_put_lf()
738 if (++s->y_base == s->total_height) in console_put_lf()
740 if (s->backscroll_height < s->total_height) in console_put_lf()
742 y1 = (s->y_base + s->height - 1) % s->total_height; in console_put_lf()
871 int y1 = (s->y_base + y) % s->total_height; in console_clear_xy()
923 y1 = (s->y_base + s->y) % s->total_height; in console_putchar()
1517 s->total_height = DEFAULT_BACKSCROLL; in text_console_do_init()