Searched refs:chr_offset (Results 1 – 4 of 4) sorted by relevance
| /freebsd-11-stable/contrib/dialog/ |
| HD | inputstr.c | 516 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) in dlg_edit_string() argument 522 int offset = dlg_find_index(indx, limit, *chr_offset); in dlg_edit_string() 548 if (*chr_offset && offset > 0) in dlg_edit_string() 549 *chr_offset = indx[offset - 1]; in dlg_edit_string() 553 *chr_offset = indx[offset + 1]; in dlg_edit_string() 556 if (*chr_offset) in dlg_edit_string() 557 *chr_offset = 0; in dlg_edit_string() 561 *chr_offset = indx[limit]; in dlg_edit_string() 566 *chr_offset = indx[offset - 1]; in dlg_edit_string() 568 for (i = *chr_offset; in dlg_edit_string() [all …]
|
| HD | editbox.c | 142 int chr_offset) in display_one() argument 149 chr_offset, in display_one() 171 int chr_offset) in display_all() argument 182 (row == show_row) ? chr_offset : 0)) in display_all() 274 #define UPDATE_COL(input) col_offset = dlg_edit_offset(input, chr_offset, box_width) 341 int chr_offset = 0; in dlg_editbox() local 426 display_all(editing, *list, thisrow, base_row, listsize, chr_offset); in dlg_editbox() 428 thisrow, thisrow, base_row, chr_offset); in dlg_editbox() 440 thisrow, thisrow, base_row, chr_offset); in dlg_editbox() 479 thisrow, base_row, chr_offset); in dlg_editbox() [all …]
|
| HD | inputbox.c | 71 int chr_offset = 0; in dialog_inputbox() local 104 chr_offset = (int) strlen(init); in dialog_inputbox() 144 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox() 157 col_offset = dlg_edit_offset(input, chr_offset, box_width); in dialog_inputbox() 164 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox() 166 wmove(editor, 0, chr_offset); in dialog_inputbox() 187 edit = dlg_edit_string(input, &chr_offset, key, fkey, first); in dialog_inputbox() 190 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
|
| HD | formbox.c | 493 int chr_offset = 0; in dlg_form() local 626 chr_offset = 0; in dlg_form() 630 dlg_show_string(form, current->text, chr_offset, in dlg_form() 848 edit = dlg_edit_string(current->text, &chr_offset, key, in dlg_form() 851 dlg_show_string(form, current->text, chr_offset, in dlg_form()
|