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

/freebsd-11-stable/contrib/dialog/
H A Dinputstr.c516 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) argument
522 int offset = dlg_find_index(indx, limit, *chr_offset);
548 if (*chr_offset && offset > 0)
549 *chr_offset = indx[offset - 1];
553 *chr_offset = indx[offset + 1];
556 if (*chr_offset)
557 *chr_offset = 0;
561 *chr_offset = indx[limit];
566 *chr_offset = indx[offset - 1];
568 for (i = *chr_offset;
640 compute_edit_offset(const char *string, int chr_offset, int x_last, int *p_dpy_column, int *p_scroll_amt) argument
675 dlg_edit_offset(char *string, int chr_offset, int x_last) argument
689 dlg_show_string(WINDOW *win, const char *string, int chr_offset, chtype attr, int y_base, int x_base, int x_last, bool hidden, bool force) argument
[all...]
H A Dinputbox.c71 int chr_offset = 0; local
104 chr_offset = (int) strlen(init);
144 dlg_show_string(editor, input, chr_offset, inputbox_attr,
157 col_offset = dlg_edit_offset(input, chr_offset, box_width);
164 dlg_show_string(editor, input, chr_offset, inputbox_attr,
166 wmove(editor, 0, chr_offset);
187 edit = dlg_edit_string(input, &chr_offset, key, fkey, first);
190 dlg_show_string(editor, input, chr_offset, inputbox_attr,
H A Deditbox.c142 int chr_offset)
149 chr_offset,
171 int chr_offset)
182 (row == show_row) ? chr_offset : 0))
274 #define UPDATE_COL(input) col_offset = dlg_edit_offset(input, chr_offset, box_width)
341 int chr_offset = 0; local
426 display_all(editing, *list, thisrow, base_row, listsize, chr_offset);
428 thisrow, thisrow, base_row, chr_offset);
440 thisrow, thisrow, base_row, chr_offset);
479 thisrow, base_row, chr_offset);
137 display_one(WINDOW *win, char *text, int thisrow, int show_row, int base_row, int chr_offset) argument
166 display_all(WINDOW *win, char **list, int show_row, int firstrow, int lastrow, int chr_offset) argument
[all...]
H A Dformbox.c493 int chr_offset = 0; local
626 chr_offset = 0;
630 dlg_show_string(form, current->text, chr_offset,
848 edit = dlg_edit_string(current->text, &chr_offset, key,
851 dlg_show_string(form, current->text, chr_offset,

Completed in 60 milliseconds