Lines Matching refs:text_cols
84 static int text_cols = 0, text_rows = 0; variable
389 text_cols = gr_fb_width() / CHAR_WIDTH; in ui_init()
390 if (text_cols > MAX_COLS - 1) text_cols = MAX_COLS - 1; in ui_init()
515 if (text_rows > 0 && text_cols > 0) { in ui_print()
518 if (*ptr == '\n' || text_col >= text_cols) { in ui_print()
535 if (text_rows > 0 && text_cols > 0) { in ui_start_menu()
538 strncpy(menu[i], headers[i], text_cols-1); in ui_start_menu()
539 menu[i][text_cols-1] = '\0'; in ui_start_menu()
544 strncpy(menu[i], items[i-menu_top], text_cols-1); in ui_start_menu()
545 menu[i][text_cols-1] = '\0'; in ui_start_menu()
573 if (show_menu > 0 && text_rows > 0 && text_cols > 0) { in ui_end_menu()