Searched refs:text_cols (Results 1 – 1 of 1) sorted by relevance
84 static int text_cols = 0, text_rows = 0; variable389 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()[all …]