Searched refs:fkey (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/contrib/dialog/
H A Dmousewget.c28 mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) argument
35 key = dlg_getc(win, fkey);
87 dlg_mouse_wgetch(WINDOW *win, int *fkey) argument
89 return mouse_wgetch(win, fkey, TRUE);
93 dlg_mouse_wgetch_nowait(WINDOW *win, int *fkey) argument
95 return mouse_wgetch(win, fkey, FALSE);
H A Dmsgbox.c50 int key, fkey; local
123 key = dlg_mouse_wgetch(dialog, &fkey);
124 if (dlg_result_key(key, fkey, &result)) {
125 if (!dlg_button_key(result, &button, &key, &fkey))
128 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
133 if (fkey) {
H A Dui_getc.c236 dlg_getc_callbacks(int ch, int fkey, int *result) argument
246 if (!(p->handle_getc(p, ch, fkey, result))) {
350 really_getch(WINDOW *win, int *fkey) argument
368 *fkey = 0;
373 ch = *fkey = my_wchar;
399 *fkey = (ch > KEY_MIN && ch < KEY_MAX);
443 dlg_getc(WINDOW *win, int *fkey) argument
466 ch = really_getch(win, fkey);
473 before_fkey = *fkey;
475 ch = dlg_lookup_key(win, ch, fkey);
673 int fkey = 0; local
[all...]
H A Dinputbox.c79 int key, fkey, code; local
112 key = fkey = 0;
184 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
185 if (dlg_result_key(key, fkey, &result)) {
186 if (!dlg_button_key(result, &code, &key, &fkey))
195 if (fkey
203 int edit = dlg_edit_string(input, &chr_offset, key, fkey, first);
220 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) {
227 if (fkey) {
H A Dtrace.c176 dlg_trace_chr(int ch, int fkey) argument
184 if (last_err && !fkey && ch == ERR) {
194 if (fkey) {
195 if (fkey > KEY_MAX || (fkey_name = keyname(fkey)) == 0) {
197 switch ((DLG_KEYS_ENUM) fkey) {
246 fprintf(myFP, "chr %s (ch=%#x, fkey=%d)\n", fkey_name, ch, fkey);
248 fprintf(myFP, "chr %s (ch=%d, fkey=%d)\n", fkey_name, ch, fkey);
[all...]
H A Dyesno.c47 int key, fkey; local
106 key = dlg_mouse_wgetch(dialog, &fkey);
107 if (dlg_result_key(key, fkey, &result)) {
108 if (!dlg_button_key(result, &button, &key, &fkey))
116 if (fkey) {
H A Dtailbox.c234 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
242 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) {
244 fkey = TRUE;
247 if (fkey) {
333 int fkey; local
415 ch = dlg_mouse_wgetch(dialog, &fkey);
417 if (fkey && ch == KEY_RESIZE) {
429 while (handle_my_getc(&(obj->obj), ch, fkey, &result));
H A Deditbox.c356 int key, fkey, code; local
392 fkey = 0;
509 key = dlg_mouse_wgetch((state == sTEXT) ? editing : dialog, &fkey);
518 if (dlg_result_key(key, fkey, &result)) {
519 if (!dlg_button_key(result, &code, &key, &fkey))
524 was_mouse = (fkey && is_DLGK_MOUSE(key));
532 if (fkey
558 key = dlg_lookup_key(dialog, key, &fkey);
568 if (fkey) {
645 edit = dlg_edit_string(buffer, &chr_offset, key, fkey, FALS
[all...]
H A Ddlg_keys.c208 * fkey in/out (on input, it is nonzero if curses_key is a function key,
212 dlg_lookup_key(WINDOW *win, int curses_key, int *fkey) argument
221 if (*fkey != 0 && curses_key == KEY_MOUSE) {
229 if (*fkey != 0 && curses_key == KEY_RESIZE) {
233 if (*fkey == 0 || curses_key < KEY_MAX) {
247 int function_key = (*fkey != 0);
252 *fkey = 0;
257 *fkey = q->dialog_key;
258 return *fkey;
277 dlg_result_key(int dialog_key, int fkey GCC_UNUSE
349 dlg_button_key(int exit_code, int *button, int *dialog_key, int *fkey) argument
390 dlg_ok_button_key(int exit_code, int *button, int *dialog_key, int *fkey) argument
904 int fkey = (binding->curses_key > 255); local
[all...]
H A Dmenubox.c150 int key = 0, fkey = 0; local
171 key = dlg_mouse_wgetch(data->menu, &fkey);
172 if (dlg_result_key(key, fkey, &check)) {
181 if (dlg_edit_string(result, &offset, key, fkey, first)) {
354 int fkey; local
532 key = dlg_mouse_wgetch(dialog, &fkey);
533 if (dlg_result_key(key, fkey, &result)) {
534 if (!dlg_button_key(result, &button, &key, &fkey))
539 if (fkey) {
605 if (!found && fkey) {
[all...]
H A Dpause.c75 int key, fkey; local
195 key = dlg_mouse_wgetch_nowait(dialog, &fkey);
198 } else if (dlg_result_key(key, fkey, &result)) {
199 if (!dlg_button_key(result, &button, &key, &fkey))
H A Dchecklist.c195 int key, fkey; local
387 key = dlg_mouse_wgetch(dialog, &fkey);
388 if (dlg_result_key(key, fkey, &result)) {
389 if (!dlg_button_key(result, &button, &key, &fkey))
393 was_mouse = (fkey && is_DLGK_MOUSE(key));
409 fkey = FALSE;
411 key = dlg_lookup_key(dialog, key, &fkey);
464 if (!fkey) {
504 if (fkey) {
561 if (fkey) {
[all...]
H A Dtreeview.c199 int key, fkey; local
365 key = dlg_mouse_wgetch(dialog, &fkey);
366 if (dlg_result_key(key, fkey, &result)) {
367 if (!dlg_button_key(result, &button, &key, &fkey))
371 was_mouse = (fkey && is_DLGK_MOUSE(key));
386 fkey = FALSE;
388 key = dlg_lookup_key(dialog, key, &fkey);
425 if (!fkey) {
465 if (fkey) {
521 if (fkey) {
[all...]
H A Drangebox.c199 int key, fkey; local
312 key = dlg_mouse_wgetch(dialog, &fkey);
313 if (dlg_result_key(key, fkey, &result)) {
314 if (!dlg_button_key(result, &button, &key, &fkey))
322 if (fkey) {
H A Dprogressbox.c290 int key, fkey; local
324 key = dlg_mouse_wgetch(obj->obj.win, &fkey);
325 if (dlg_result_key(key, fkey, &result)) {
326 if (!dlg_button_key(result, &button, &key, &fkey))
330 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
335 if (fkey) {
H A Dguage.c247 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
253 if (!fkey && (ch == ERR)) {
407 int fkey; local
424 ch = dlg_getc(obj->obj.win, &fkey);
426 if (fkey && ch == KEY_RESIZE) {
451 while (valid(obj) && handle_my_getc(&(obj->obj), ch, fkey, &result));
H A Dtextbox.c514 int fkey = 0; local
555 key = dlg_getc(widget, &fkey);
556 if (fkey) {
557 switch (fkey) {
575 if (dlg_edit_string(input, &offset, key, fkey, first)) {
719 int key, fkey; local
841 key = dlg_mouse_wgetch(dialog, &fkey);
842 if (dlg_result_key(key, fkey, &result)) {
843 if (!dlg_ok_button_key(result, &button, &key, &fkey))
847 if (!fkey
[all...]
H A Dtimebox.c178 int key, fkey; local
295 key = dlg_mouse_wgetch(dialog, &fkey);
296 if (dlg_result_key(key, fkey, &result)) {
297 if (!dlg_button_key(result, &button, &key, &fkey))
305 if (fkey) {
H A Dbuildlist.c556 int key, fkey; local
773 key = dlg_mouse_wgetch(dialog, &fkey);
774 if (dlg_result_key(key, fkey, &result)) {
775 if (!dlg_button_key(result, &button, &key, &fkey))
779 was_mouse = (fkey && is_DLGK_MOUSE(key));
808 fkey = FALSE;
813 fkey = FALSE;
820 fkey = FALSE;
823 key = dlg_lookup_key(dialog, key, &fkey);
873 if (!fkey) {
[all...]
H A Dinputstr.c522 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) argument
533 if (!fkey) {
534 fkey = TRUE; /* assume we transform */
540 fkey = FALSE; /* this is used for navigation */
543 fkey = FALSE; /* ...no, we did not transform */
548 if (fkey) {
H A Dcalendar.c715 int fkey; local
881 key = dlg_mouse_wgetch(dialog, &fkey);
882 if (dlg_result_key(key, fkey, &result)) {
883 if (!dlg_button_key(result, &button, &key, &fkey))
887 if (fkey && (key >= DLGK_MOUSE(KEY_MIN) && key <= DLGK_MOUSE(KEY_MAX))) {
888 key = dlg_lookup_key(dialog, Mouse2Key(key), &fkey);
893 } else if (fkey) {
H A Dfselect.c609 int fkey = FALSE; local
781 key = dlg_mouse_wgetch((state == sTEXT) ? w_text : dialog, &fkey);
782 if (dlg_result_key(key, fkey, &result)) {
783 if (!dlg_button_key(result, &button, &key, &fkey))
790 fkey = TRUE;
793 if (fkey) {
919 int edit = dlg_edit_string(input, &offset, key, fkey, first);
H A Dformbox.c504 int fkey; local
661 key = dlg_mouse_wgetch((state == sTEXT) ? form : dialog, &fkey);
662 if (dlg_result_key(key, fkey, &result)) {
667 if (!fkey) {
679 if (fkey) {
871 fkey, first);
/freebsd-current/sys/dev/kbd/
H A Dkbdreg.h65 typedef u_char *kbd_get_fkeystr_t(keyboard_t *kbd, int fkey,
308 kbdd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len) argument
311 return ((*kbd->kb_drv->kbdsw->get_fkeystr)(kbd, fkey, len));
/freebsd-current/usr.sbin/kbdcontrol/
H A Dlex.l132 fkey{D}({D}*) {

Completed in 138 milliseconds

12