Searched refs:chr_offset (Results 1 – 4 of 4) sorted by relevance
/dragonfly/contrib/dialog/ |
H A D | inputstr.c | 537 if (*chr_offset && offset > 0) in dlg_edit_string() 538 *chr_offset = indx[offset - 1]; in dlg_edit_string() 542 *chr_offset = indx[offset + 1]; in dlg_edit_string() 545 if (*chr_offset) in dlg_edit_string() 546 *chr_offset = 0; in dlg_edit_string() 550 *chr_offset = indx[limit]; in dlg_edit_string() 555 *chr_offset = indx[offset - 1]; in dlg_edit_string() 557 for (i = *chr_offset; in dlg_edit_string() 583 *chr_offset = indx[limit]; in dlg_edit_string() 619 *chr_offset += 1; in dlg_edit_string() [all …]
|
H A D | editbox.c | 150 int chr_offset) in display_one() argument 157 chr_offset, in display_one() 179 int chr_offset) in display_all() argument 190 (row == show_row) ? chr_offset : 0)) in display_all() 353 int chr_offset = 0; in dlg_editbox() local 498 thisrow, base_row, chr_offset); in dlg_editbox() 593 if (chr_offset == 0) { in dlg_editbox() 644 chr_offset = (int) (max_len - 1); in dlg_editbox() 655 thisrow, base_row, chr_offset); in dlg_editbox() 685 int split = indx[chr_offset]; in dlg_editbox() [all …]
|
H A D | inputbox.c | 78 int chr_offset = 0; in dialog_inputbox() local 123 chr_offset = (int) strlen(init); in dialog_inputbox() 166 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox() 178 col_offset = dlg_edit_offset(input, chr_offset, box_width); in dialog_inputbox() 185 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox() 187 wmove(editor, 0, chr_offset); in dialog_inputbox() 210 int edit = dlg_edit_string(input, &chr_offset, key, fkey, first); in dialog_inputbox() 213 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
|
H A D | formbox.c | 499 int chr_offset = 0; in dlg_form() local 647 chr_offset = 0; in dlg_form() 650 dlg_show_string(form, current->text, chr_offset, in dlg_form() 871 edit = dlg_edit_string(current->text, &chr_offset, key, in dlg_form() 874 dlg_show_string(form, current->text, chr_offset, in dlg_form()
|