| /dflybsd-src/contrib/dialog/ |
| H A D | msgbox.c | 49 int button; in dialog_msgbox() local 72 button = dlg_default_button(); in dialog_msgbox() 111 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_msgbox() 125 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_msgbox() 146 button = dlg_next_button(buttons, button); in dialog_msgbox() 147 if (button < 0) in dialog_msgbox() 148 button = 0; in dialog_msgbox() 151 buttons, button, in dialog_msgbox() 155 button = dlg_prev_button(buttons, button); in dialog_msgbox() 156 if (button < 0) in dialog_msgbox() [all …]
|
| H A D | yesno.c | 48 int button = dlg_default_button(); in dialog_yesno() local 95 buttons, button, FALSE, width); in dialog_yesno() 108 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_yesno() 119 button = dlg_next_button(buttons, button); in dialog_yesno() 120 if (button < 0) in dialog_yesno() 121 button = 0; in dialog_yesno() 124 buttons, button, in dialog_yesno() 128 button = dlg_prev_button(buttons, button); in dialog_yesno() 129 if (button < 0) in dialog_yesno() 130 button = 0; in dialog_yesno() [all …]
|
| H A D | buttons.c | 582 dlg_exit_buttoncode(int button) in dlg_exit_buttoncode() argument 590 result = dlg_ok_buttoncode(button); in dlg_exit_buttoncode() 656 dlg_ok_buttoncode(int button) in dlg_ok_buttoncode() argument 661 if (!dialog_vars.nook && (button <= 0)) { in dlg_ok_buttoncode() 663 } else if (dialog_vars.extra_button && (button == n++)) { in dlg_ok_buttoncode() 665 } else if (!dialog_vars.nocancel && (button == n++)) { in dlg_ok_buttoncode() 667 } else if (dialog_vars.help_button && (button == n)) { in dlg_ok_buttoncode() 671 button, result, dlg_exitcode2s(result))); in dlg_ok_buttoncode() 776 dlg_yes_buttoncode(int button) in dlg_yes_buttoncode() argument 781 result = dlg_ok_buttoncode(button); in dlg_yes_buttoncode() [all …]
|
| H A D | pause.c | 69 int button = dlg_default_button(); in dialog_pause() local 182 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_pause() 199 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_pause() 214 button = dlg_next_button(buttons, button); in dialog_pause() 215 if (button < 0) in dialog_pause() 216 button = 0; in dialog_pause() 219 buttons, button, in dialog_pause() 223 button = dlg_prev_button(buttons, button); in dialog_pause() 224 if (button < 0) in dialog_pause() 225 button = 0; in dialog_pause() [all …]
|
| H A D | menubox.c | 362 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_menu() local 528 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_menu() 535 if (button < 0) /* --visit-items */ in dlg_menu() 542 if (!dlg_button_key(result, &button, &key, &fkey)) in dlg_menu() 565 button = (key - M_EVENT); in dlg_menu() 575 if (button < 0 || !dialog_state.visit_items) { in dlg_menu() 595 button = j; in dlg_menu() 676 button = dlg_prev_button(buttons, button); in dlg_menu() 677 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_menu() 682 button = dlg_next_button(buttons, button); in dlg_menu() [all …]
|
| H A D | progressbox.c | 285 int button; in pause_for_ok() local 296 button = dlg_default_button(); in pause_for_ok() 312 if (button < 0) in pause_for_ok() 313 button = 0; in pause_for_ok() 316 buttons, button, in pause_for_ok() 322 if (!dlg_button_key(result, &button, &key, &fkey)) in pause_for_ok() 334 button = dlg_next_button(buttons, button); in pause_for_ok() 338 button = dlg_prev_button(buttons, button); in pause_for_ok() 342 result = dlg_ok_buttoncode(button); in pause_for_ok()
|
| H A D | checklist.c | 198 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_checklist() local 379 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_checklist() 386 if (button < 0) /* --visit-items */ in dlg_checklist() 391 if (!dlg_button_key(result, &button, &key, &fkey)) in dlg_checklist() 467 if (button < 0 || !dialog_state.visit_items) { in dlg_checklist() 487 button = j; in dlg_checklist() 566 result = dlg_enter_buttoncode(button); in dlg_checklist() 569 result = dlg_ok_buttoncode(button); in dlg_checklist() 572 button = dlg_prev_button(buttons, button); in dlg_checklist() 573 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_checklist() [all …]
|
| H A D | treeview.c | 203 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_treeview() local 360 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_treeview() 367 if (button < 0) /* --visit-items */ in dlg_treeview() 372 if (!dlg_button_key(result, &button, &key, &fkey)) in dlg_treeview() 431 if (button < 0 || !dialog_state.visit_items) { in dlg_treeview() 451 button = j; in dlg_treeview() 529 result = dlg_enter_buttoncode(button); in dlg_treeview() 532 result = dlg_ok_buttoncode(button); in dlg_treeview() 535 button = dlg_prev_button(buttons, button); in dlg_treeview() 536 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_treeview() [all …]
|
| H A D | buildlist.c | 558 int button; in dlg_buildlist() local 591 button = (dialog_state.visit_items in dlg_buildlist() 738 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_buildlist() 760 if (button < 0) { /* --visit-items */ in dlg_buildlist() 775 if (!dlg_button_key(result, &button, &key, &fkey)) in dlg_buildlist() 874 if (button < 0 || !dialog_state.visit_items) { in dlg_buildlist() 894 button = j; in dlg_buildlist() 915 if ((button == sRIGHT) && dialog_state.visit_items) { in dlg_buildlist() 917 button = sLEFT; in dlg_buildlist() 919 button = dlg_prev_button(buttons, button); in dlg_buildlist() [all …]
|
| H A D | textbox.c | 727 int button = dlg_default_button(); in dialog_textbox() local 787 dlg_draw_buttons(dialog, PAGE_LENGTH + 2, 0, obj.buttons, button, FALSE, width); in dialog_textbox() 843 if (!dlg_ok_button_key(result, &button, &key, &fkey)) in dialog_textbox() 864 button = dlg_next_button(obj.buttons, button); in dialog_textbox() 865 if (button < 0) in dialog_textbox() 866 button = 0; in dialog_textbox() 869 obj.buttons, button, in dialog_textbox() 873 button = dlg_prev_button(obj.buttons, button); in dialog_textbox() 874 if (button < 0) in dialog_textbox() 875 button = 0; in dialog_textbox() [all …]
|
| H A D | rangebox.c | 200 int button; in dialog_rangebox() local 305 button = (state < 0) ? 0 : state; in dialog_rangebox() 306 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_rangebox() 314 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_rangebox() 326 result = dlg_enter_buttoncode(button); in dialog_rangebox() 329 result = dlg_ok_buttoncode(button); in dialog_rangebox()
|
| H A D | timebox.c | 177 int button; in dialog_timebox() local 292 button = (state < 0) ? 0 : state; in dialog_timebox() 293 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_timebox() 299 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_timebox() 320 result = dlg_enter_buttoncode(button); in dialog_timebox() 323 result = dlg_ok_buttoncode(button); in dialog_timebox()
|
| H A D | dlg_keys.c | 390 dlg_button_key(int exit_code, int *button, int *dialog_key, int *fkey) in dlg_button_key() argument 396 *button = 0; in dlg_button_key() 402 *button = dialog_vars.nook ? 0 : 1; in dlg_button_key() 408 *button = dialog_vars.nook ? 1 : 2; in dlg_button_key() 417 *button = okay + extra + cancel; in dlg_button_key() 424 exit_code, dlg_exitcode2s(exit_code), *button)); in dlg_button_key() 431 dlg_ok_button_key(int exit_code, int *button, int *dialog_key, int *fkey) in dlg_ok_button_key() argument 439 result = dlg_button_key(exit_code, button, dialog_key, fkey); in dlg_ok_button_key()
|
| H A D | CHANGES | 53 extra button is used (report by Стрижак Андрей). 106 with the button-box (report by Victor Ananjevsky). 129 + add DIALOG_TIMEOUT to sample scripts, and use report-button more 148 the current dialog by activating the currently-selected button. 196 + tailbox/tailboxbg's exit-button now works with mouse-clicks 241 + modify inputmenu to recognize the "Cancel" button and keys bound to 270 bound to ok/extra/cancel/help to simulate a button-press on the 271 corresponding button (report by "sgewrk"). 364 "--help-button" (prompted by discussion with Csanyi Pal). 476 + change mouse initialization to look for button-presses rather than [all …]
|
| H A D | calendar.c | 710 int button; in dialog_calendar() local 868 button = (state < 0) ? 0 : state; in dialog_calendar() 869 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_calendar() 875 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_calendar() 899 result = dlg_enter_buttoncode(button); in dialog_calendar() 902 result = dlg_ok_buttoncode(button); in dialog_calendar()
|
| /dflybsd-src/usr.sbin/moused/ |
| H A D | moused.c | 960 action0.button = action0.obutton; in moused() 966 action.flags, action.button, action.obutton); in moused() 968 action0.obutton = action0.button; in moused() 995 if (action0.button == MOUSE_BUTTON2DOWN) { in moused() 1001 action.flags, action.button, action.obutton); in moused() 1004 action.flags, action.button, action.obutton); in moused() 1020 A(newaction.button & MOUSE_BUTTON1DOWN, in moused() 1021 action0.button & MOUSE_BUTTON3DOWN)); in moused() 1024 newaction.button = MOUSE_BUTTON2DOWN; in moused() 1029 newaction.obutton = newaction.button; in moused() [all …]
|
| /dflybsd-src/usr.sbin/installer/dfuife_curses/ |
| H A D | curses_xlat.c | 146 struct curses_widget *button, *cw; in cb_click_select_option() local 152 button = curses_form_widget_add(cf, 1, in cb_click_select_option() 155 curses_widget_set_click_cb(button, cb_click_close_form); in cb_click_select_option() 258 struct curses_widget *xbox, *button; in curses_form_create_widget_row() local 318 button = curses_form_widget_add(cf, left, in curses_form_create_widget_row() 322 button = curses_form_widget_insert_after(cw, left, in curses_form_create_widget_row() 325 cw = button; in curses_form_create_widget_row() 328 button->user_id = row; in curses_form_create_widget_row() 329 curses_widget_set_click_cb(button, cb_click_insert_row); in curses_form_create_widget_row() 331 left += button->width + 1; in curses_form_create_widget_row() [all …]
|
| /dflybsd-src/sys/dev/misc/syscons/ |
| H A D | sysmouse.c | 379 sc->syncstatus.obutton = sc->syncstatus.button; in smioctl() 507 status->obutton = status->button; in sysmouse_updatestatus() 511 status->button = info->u.data.buttons; in sysmouse_updatestatus() 521 status->button |= info->u.event.id; in sysmouse_updatestatus() 523 status->button &= ~info->u.event.id; in sysmouse_updatestatus() 533 | (status->obutton ^ status->button); in sysmouse_updatestatus() 536 smdev_evdev_write(x, y, z, status->button); in sysmouse_updatestatus() 577 | butmap[sc->readstatus.button & MOUSE_STDBUTTONS]; in sysmouse_evtopkt() 590 buf[7] = (~sc->readstatus.button >> 3) & 0x7f; in sysmouse_evtopkt()
|
| /dflybsd-src/sys/bus/u4b/input/ |
| H A D | wsp.c | 151 uint8_t button; /* left button */ member 925 sc->sc_status.obutton = sc->sc_status.button; in wsp_intr_callback() 926 sc->sc_status.button = 0; in wsp_intr_callback() 930 sc->sc_status.button |= MOUSE_BUTTON3DOWN; in wsp_intr_callback() 932 sc->sc_status.button |= MOUSE_BUTTON2DOWN; in wsp_intr_callback() 934 sc->sc_status.button |= MOUSE_BUTTON1DOWN; in wsp_intr_callback() 967 sc->sc_status.button == 0) { in wsp_intr_callback() 1045 if (sc->ibtn != 0 && sc->sc_status.button == 0) in wsp_intr_callback() 1061 if (ntouch == 2 && sc->sc_status.button != 0) { in wsp_intr_callback() 1070 sc->sc_status.obutton != sc->sc_status.button) { in wsp_intr_callback() [all …]
|
| H A D | ums.c | 314 buttons |= sc->sc_status.button & ~buttons_found; in ums_intr_callback() 321 (buttons != sc->sc_status.button)) { in ums_intr_callback() 332 sc->sc_status.button = buttons; in ums_intr_callback() 817 sc->sc_status.button = 0; in ums_reset() 1135 sc->sc_status.obutton = sc->sc_status.button; in ums_fifo_ioctl() 1136 sc->sc_status.button = 0; in ums_fifo_ioctl() 1145 if (status->button != status->obutton) { in ums_fifo_ioctl()
|
| /dflybsd-src/contrib/binutils-2.27/binutils/ |
| H A D | dwarf-mode.el | 79 (defun dwarf-die-button-action (button) 80 (let* ((die (button-get button 'die)) 85 (is-ref (button-get button 'die-ref)))
|
| /dflybsd-src/sys/dev/misc/psm/ |
| H A D | psm.c | 457 int button; /* the latest button state */ member 2285 sc->status.button = 0; 2290 sc->button = 0; 2446 mapped = status->button & ~MOUSE_BUTTON4DOWN; 2447 if (status->button & MOUSE_BUTTON4DOWN) 2449 status->button = mapped; 2462 butmapmsc[status->button & MOUSE_STDBUTTONS]; 2472 buf[7] = (~status->button >> 3) & 0x7f; 2822 sc->status.obutton = sc->status.button; 2823 sc->status.button = 0; [all …]
|
| /dflybsd-src/share/examples/ppp/ |
| H A D | login-auth | 71 button .b.ok -default active -text "Ok" -takefocus 0 -command {done}; 73 button .b.cancel -default normal -text "Cancel" -takefocus 0 -command {exit 1};
|
| H A D | chap-auth | 94 button .b.ok -default active -text "Ok" -command {done}; 96 button .b.cancel -default normal -text "Cancel" -command {exit 1};
|
| /dflybsd-src/nrelease/gui/root/.fvwm/ |
| H A D | .fvwm2rc | 84 # 1 left button 85 # 2 middle button 86 # 3 right button 90 # On title bar button: 115 # 1 left button 117 # 2 rightmost button 319 ################## FvwmButtons button-bar ################################
|