Home
last modified time | relevance | path

Searched refs:chr_offset (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/dialog/
H A Dinputstr.c522 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) in dlg_edit_string() argument
528 int offset = dlg_find_index(indx, limit, *chr_offset); in dlg_edit_string()
554 if (*chr_offset && offset > 0) in dlg_edit_string()
555 *chr_offset = indx[offset - 1]; in dlg_edit_string()
559 *chr_offset = indx[offset + 1]; in dlg_edit_string()
562 if (*chr_offset) in dlg_edit_string()
563 *chr_offset = 0; in dlg_edit_string()
567 *chr_offset = indx[limit]; in dlg_edit_string()
572 *chr_offset = indx[offset - 1]; in dlg_edit_string()
574 for (i = *chr_offset; in dlg_edit_string()
[all …]
H A Deditbox.c152 int chr_offset) in display_one() argument
159 chr_offset, in display_one()
181 int chr_offset) in display_all() argument
192 (row == show_row) ? chr_offset : 0)) in display_all()
285 #define UPDATE_COL(input) col_offset = dlg_edit_offset(input, chr_offset, box_width)
355 int chr_offset = 0; in dlg_editbox() local
447 display_all(editing, *list, thisrow, base_row, listsize, chr_offset); in dlg_editbox()
449 thisrow, thisrow, base_row, chr_offset); in dlg_editbox()
461 thisrow, thisrow, base_row, chr_offset); in dlg_editbox()
500 thisrow, base_row, chr_offset); in dlg_editbox()
[all …]
H A Dinputbox.c78 int chr_offset = 0; in dialog_inputbox() local
119 chr_offset = (int) strlen(init); in dialog_inputbox()
159 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
171 col_offset = dlg_edit_offset(input, chr_offset, box_width); in dialog_inputbox()
178 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
180 wmove(editor, 0, chr_offset); in dialog_inputbox()
203 int edit = dlg_edit_string(input, &chr_offset, key, fkey, first); in dialog_inputbox()
206 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
H A Dformbox.c498 int chr_offset = 0; in dlg_form() local
646 chr_offset = 0; in dlg_form()
650 dlg_show_string(form, current->text, chr_offset, in dlg_form()
870 edit = dlg_edit_string(current->text, &chr_offset, key, in dlg_form()
873 dlg_show_string(form, current->text, chr_offset, in dlg_form()