Lines Matching refs:selected_index
1001 static void center_item(int selected_index, int *last_top_row) in center_item() argument
1007 if (selected_index < toprow || in center_item()
1008 selected_index >= toprow+mwin_max_lines) { in center_item()
1009 toprow = max(selected_index-mwin_max_lines/2, 0); in center_item()
1015 curses_menu_items[selected_index]); in center_item()
1023 int selected_index, int *last_top_row) in show_menu() argument
1060 center_item(selected_index, last_top_row); in show_menu()
1325 int selected_index = 0; in conf_choice() local
1355 selected_index = i; in conf_choice()
1361 selected_index, in conf_choice()
1373 if (do_match(res, &match_state, &selected_index) == 0) { in conf_choice()
1374 if (selected_index != -1) in conf_choice()
1375 center_item(selected_index, in conf_choice()