Searched refs:scrollamt (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/contrib/dialog/
H A Dformbox.c55 in_window(WINDOW *win, int scrollamt, int y) argument
57 return (y >= scrollamt && y - scrollamt < getmaxy(win));
61 ok_move(WINDOW *win, int scrollamt, int y, int x) argument
63 return in_window(win, scrollamt, y)
64 && (wmove(win, y - scrollamt, x) != ERR);
78 print_item(WINDOW *win, DIALOG_FORMITEM * item, int scrollamt, bool choice) argument
83 if (ok_move(win, scrollamt, item->name_y, item->name_x)) {
91 item->name_y - scrollamt,
96 move_past(win, item->name_y - scrollamt, ite
135 print_form(WINDOW *win, DIALOG_FORMITEM * item, int total, int scrollamt, int choice) argument
223 tab_next(WINDOW *win, DIALOG_FORMITEM item[], int item_no, int stepsize, int *choice, int *scrollamt) argument
288 scroll_next(WINDOW *win, DIALOG_FORMITEM item[], int stepsize, int *choice, int *scrollamt) argument
501 int scrollamt = 0; local
[all...]
H A Dchecklist.c101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument
110 &data->items[i + scrollamt],
117 (long) (scrollamt),
118 (long) (scrollamt),
119 (long) (scrollamt + max_choice),
197 int scrollamt = 0; local
350 scrollamt = MIN(scrollamt, max_choice + item_no - 1);
351 if (choice >= (max_choice + scrollamt - 1)) {
352 scrollamt
[all...]
H A Dmenubox.c231 print_menu(ALL_DATA * data, int choice, int scrollamt, int max_choice, bool is_inputmenu) argument
238 &data->items[i + scrollamt],
261 scrollamt,
262 scrollamt,
263 scrollamt + max_choice,
343 int scrollamt = 0; local
481 if (choice - scrollamt >= max_choice) {
482 scrollamt = choice - (max_choice - 1);
486 print_menu(&all, choice, scrollamt, max_choice, is_inputmenu);
536 for (j = scrollamt
[all...]
H A Dtreeview.c103 int scrollamt,
113 &data->items[scrollamt + i],
115 data->depths[scrollamt + i],
121 (long) (scrollamt),
122 (long) (scrollamt),
123 (long) (scrollamt + max_choice),
201 int scrollamt = 0; local
337 if (choice >= (max_choice + scrollamt)) {
338 scrollamt = choice - max_choice + 1;
352 print_list(&all, choice, scrollamt, max_choic
101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument
[all...]
H A Dinputstr.c713 int scrollamt; local
715 compute_edit_offset(string, chr_offset, x_last, &input_x, &scrollamt);
719 for (i = scrollamt, k = 0; i < limit && k < x_last; ++i) {
720 int check = cols[i + 1] - cols[scrollamt];

Completed in 117 milliseconds