/dragonfly/contrib/dialog/ |
H A D | msgbox.c | 49 int button; in dialog_msgbox() local 72 button = dlg_default_button(); 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() 157 button = 0; in dialog_msgbox() 160 buttons, button, 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() 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() 133 buttons, button, in dialog_yesno() [all …]
|
H A D | buttons.c | 656 dlg_ok_buttoncode(int button) in dlg_ok_buttoncode() argument 799 if (button < -1) in dlg_next_button() 800 button = -1; in dlg_next_button() 803 ++button; in dlg_next_button() 805 button = MIN_BUTTON; in dlg_next_button() 807 return button; in dlg_next_button() 817 --button; in dlg_prev_button() 819 if (button < -1) in dlg_prev_button() 820 button = -1; in dlg_prev_button() 823 ++button; in dlg_prev_button() [all …]
|
H A D | pause.c | 69 int button = dlg_default_button(); in dialog_pause() local 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() 228 buttons, button, in dialog_pause() 232 result = dlg_enter_buttoncode(button); in dialog_pause() [all …]
|
H A D | menubox.c | 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() 691 ? dlg_ok_buttoncode(button) in dlg_menu() 692 : dlg_enter_buttoncode(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 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() 577 button = dlg_next_button(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 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() 540 button = dlg_next_button(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() 760 if (button < 0) { /* --visit-items */ in dlg_buildlist() 894 button = j; in dlg_buildlist() 917 button = sLEFT; in dlg_buildlist() 919 button = dlg_prev_button(buttons, button); in dlg_buildlist() 922 if (button == sRIGHT) { in dlg_buildlist() 932 button = sRIGHT; in dlg_buildlist() 934 button = dlg_next_button(buttons, button); in dlg_buildlist() 937 if (button == sLEFT) { in dlg_buildlist() [all …]
|
H A D | textbox.c | 727 int button = dlg_default_button(); in dialog_textbox() local 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() 878 obj.buttons, button, in dialog_textbox() 882 result = dlg_enter_buttoncode(button); 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). 271 corresponding button (report by "sgewrk"). 477 button-clicks, for better response. 729 "--extra-button" and "--help-button" additions. 732 + modify msgbox widget to honor "--extra-button". 907 is no other button, e.g., the help-button. 909 help-button (report by xDog Walker). 1370 button (adapted from Reznic Valery patch). 1372 help-button (prompted by Reznic Valery patch). [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()
|
/dragonfly/usr.sbin/moused/ |
H A D | moused.c | 1030 newaction.button = action0.button; in moused() 2157 a2->button = a1->button; in r_statetrans() 2188 a2->button &= in r_statetrans() 2332 int button; in r_timestamp() local 2356 if (act->button & button) { in r_timestamp() 2371 if (act->button & button) { in r_timestamp() 2383 button <<= 1; in r_timestamp() 2408 int button; in r_click() local 2420 if (act->button & button) { in r_click() 2433 button <<= 1; in r_click() [all …]
|
/dragonfly/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() 258 struct curses_widget *xbox, *button; in curses_form_create_widget_row() local 325 cw = button; in curses_form_create_widget_row() 328 button->user_id = row; in curses_form_create_widget_row() 331 left += button->width + 1; in curses_form_create_widget_row() 341 cw = button; in curses_form_create_widget_row() 343 button->user_id = row; in curses_form_create_widget_row() 618 struct curses_widget *label, *button; in curses_form_construct_from_dfui_form_multiple() local 727 button = curses_form_widget_add(cf, in curses_form_construct_from_dfui_form_multiple() [all …]
|
/dragonfly/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()
|
/dragonfly/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() 1155 if (ntouch == 2 && sc->sc_status.button != 0) { in wsp_intr_callback() 1367 sc->sc_status.obutton = sc->sc_status.button; in wsp_ioctl() 1368 sc->sc_status.button = 0; in wsp_ioctl() [all …]
|
H A D | ums.c | 317 buttons |= sc->sc_status.button & ~buttons_found; in ums_intr_callback() 320 (buttons != sc->sc_status.button)) { in ums_intr_callback() 331 sc->sc_status.button = buttons; in ums_intr_callback() 816 sc->sc_status.button = 0; in ums_reset() 1134 sc->sc_status.obutton = sc->sc_status.button; in ums_fifo_ioctl() 1135 sc->sc_status.button = 0; in ums_fifo_ioctl() 1144 if (status->button != status->obutton) { in ums_fifo_ioctl()
|
/dragonfly/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)))
|
/dragonfly/sys/dev/misc/psm/ |
H A D | psm.c | 2285 sc->status.button = 0; 2290 sc->button = 0; 2449 status->button = mapped; 2823 sc->status.button = 0; 3328 ms->button = ms->obutton; 3919 ms->button = (ms->button & 3922 ms->button = (ms->button & 5004 ms.button |= 5007 ms.button |= 5224 sc->status.button = ms.button; [all …]
|
/dragonfly/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};
|
/dragonfly/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 ################################
|