Lines Matching refs:text_rows
78 static int text_cols = 0, text_rows = 0; variable
187 for (; i < text_rows; ++i) { in draw_screen_locked()
188 draw_text_line(i, text[(i + text_top) % text_rows]); in draw_screen_locked()
334 text_rows = gr_fb_height() / CHAR_HEIGHT; in ui_init()
335 if (text_rows > MAX_ROWS) text_rows = MAX_ROWS; in ui_init()
447 if (text_rows > 0 && text_cols > 0) { in ui_print()
453 text_row = (text_row + 1) % text_rows; in ui_print()
454 if (text_row == text_top) text_top = (text_top + 1) % text_rows; in ui_print()
472 if (text_rows > 0 && text_cols > 0) { in ui_start_menu()
473 for (i = 0; i < text_rows; ++i) { in ui_start_menu()
479 for (; i < text_rows; ++i) { in ui_start_menu()
519 if (show_menu > 0 && text_rows > 0 && text_cols > 0) { in ui_end_menu()