Searched refs:x_last (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/dialog/ |
H A D | inputstr.c | 648 int x_last, in compute_edit_offset() argument 661 if ((cols[offset] - cols[n]) < x_last in compute_edit_offset() 662 && (offset == limit || (cols[offset + 1] - cols[n]) < x_last)) { in compute_edit_offset() 681 dlg_edit_offset(char *string, int chr_offset, int x_last) in dlg_edit_offset() argument 685 compute_edit_offset(string, chr_offset, x_last, &result, 0); in dlg_edit_offset() 701 int x_last, /* number of columns on screen */ in dlg_show_string() argument 705 x_last = MIN(x_last + x_base, getmaxx(win)) - x_base; in dlg_show_string() 721 compute_edit_offset(string, chr_offset, x_last, &input_x, &scrollamt); in dlg_show_string() 725 for (i = scrollamt, k = 0; i < limit && k < x_last; ++i) { in dlg_show_string() 727 if (check <= x_last) { in dlg_show_string() [all …]
|
H A D | util.c | 1641 int x_last = getmaxx(win) + x_base; in in_window() local 1643 if (y >= y_base && y <= y_last && x >= x_base && x <= x_last) in in_window()
|