• Home
  • Raw
  • Download

Lines Matching refs:res

205 	int res = 0;  in get_line_length()  local
208 res++; in get_line_length()
210 return res; in get_line_length()
256 int res = -1; in btn_dialog() local
320 while ((res = wgetch(win))) { in btn_dialog()
321 switch (res) { in btn_dialog()
338 if (res == 10 || res == ' ') { in btn_dialog()
339 res = item_index(current_item(menu)); in btn_dialog()
341 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog()
342 res == KEY_F(F_EXIT)) { in btn_dialog()
343 res = KEY_EXIT; in btn_dialog()
354 return res; in btn_dialog()
368 int res = -1; in dialog_inputbox() local
433 while ((res = wgetch(form_win))) { in dialog_inputbox()
435 switch (res) { in dialog_inputbox()
485 if ((isgraph(res) || isspace(res))) { in dialog_inputbox()
496 result[cursor_position] = res; in dialog_inputbox()
501 mvprintw(0, 0, "unknown key: %d\n", res); in dialog_inputbox()
519 if (res == 10) { in dialog_inputbox()
520 res = 0; in dialog_inputbox()
522 } else if (res == 27 || res == KEY_F(F_BACK) || in dialog_inputbox()
523 res == KEY_F(F_EXIT)) { in dialog_inputbox()
524 res = KEY_EXIT; in dialog_inputbox()
526 } else if (res == KEY_F(F_HELP)) { in dialog_inputbox()
527 res = 1; in dialog_inputbox()
538 return res; in dialog_inputbox()
554 int res; in show_scroll_win() local
613 res = wgetch(win); in show_scroll_win()
614 switch (res) { in show_scroll_win()
647 if (res == 10 || res == 27 || res == 'q' || in show_scroll_win()
648 res == KEY_F(F_HELP) || res == KEY_F(F_BACK) || in show_scroll_win()
649 res == KEY_F(F_EXIT)) in show_scroll_win()
659 } while (res); in show_scroll_win()