Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/freebsd-12.1/contrib/dialog/
H A Dyesno.c49 int button = dlg_default_button(); in dialog_yesno() local
94 buttons, button, FALSE, width); in dialog_yesno()
114 button = dlg_next_button(buttons, button); in dialog_yesno()
115 if (button < 0) in dialog_yesno()
116 button = 0; in dialog_yesno()
119 buttons, button, in dialog_yesno()
123 button = dlg_prev_button(buttons, button); in dialog_yesno()
124 if (button < 0) in dialog_yesno()
125 button = 0; in dialog_yesno()
128 buttons, button, in dialog_yesno()
[all …]
H A Dmsgbox.c49 int button; in dialog_msgbox() local
66 button = dlg_default_button(); in dialog_msgbox()
138 button = dlg_next_button(buttons, button); in dialog_msgbox()
139 if (button < 0) in dialog_msgbox()
140 button = 0; in dialog_msgbox()
143 buttons, button, in dialog_msgbox()
147 button = dlg_prev_button(buttons, button); in dialog_msgbox()
148 if (button < 0) in dialog_msgbox()
149 button = 0; in dialog_msgbox()
152 buttons, button, in dialog_msgbox()
[all …]
H A Dbuttons.c618 dlg_ok_buttoncode(int button) in dlg_ok_buttoncode() argument
762 if (button < -1) in dlg_next_button()
763 button = -1; in dlg_next_button()
766 ++button; in dlg_next_button()
768 button = MIN_BUTTON; in dlg_next_button()
770 return button; in dlg_next_button()
780 --button; in dlg_prev_button()
782 if (button < -1) in dlg_prev_button()
783 button = -1; in dlg_prev_button()
786 ++button; in dlg_prev_button()
[all …]
H A Dpause.c69 int button = dlg_default_button(); in dialog_pause() local
175 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_pause()
205 button = dlg_next_button(buttons, button); in dialog_pause()
206 if (button < 0) in dialog_pause()
207 button = 0; in dialog_pause()
210 buttons, button, in dialog_pause()
214 button = dlg_prev_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()
[all …]
H A Dprogressbox.c123 int button; in pause_for_ok() local
132 button = dlg_default_button(); in pause_for_ok()
143 if (button < 0) in pause_for_ok()
144 button = 0; in pause_for_ok()
147 buttons, button, in pause_for_ok()
163 button = dlg_next_button(buttons, button); in pause_for_ok()
167 button = dlg_prev_button(buttons, button); in pause_for_ok()
171 result = dlg_ok_buttoncode(button); in pause_for_ok()
H A Dmenubox.c497 if (button < 0) /* --visit-items */ in dlg_menu()
525 button = (key - M_EVENT); in dlg_menu()
535 if (button < 0 || !dialog_state.visit_items) { in dlg_menu()
555 button = j; in dlg_menu()
636 button = dlg_prev_button(buttons, button); in dlg_menu()
637 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_menu()
641 button = dlg_next_button(buttons, button); in dlg_menu()
642 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_menu()
647 result = dlg_ok_buttoncode(button); in dlg_menu()
649 result = dlg_enter_buttoncode(button); in dlg_menu()
[all …]
H A Dbuildlist.c461 int button; in dlg_buildlist() local
491 button = (dialog_state.visit_items in dlg_buildlist()
657 if (button < 0) { /* --visit-items */ in dlg_buildlist()
778 button = j; in dlg_buildlist()
801 button = sLEFT; in dlg_buildlist()
803 button = dlg_prev_button(buttons, button); in dlg_buildlist()
806 if (button == sRIGHT) { in dlg_buildlist()
816 button = sRIGHT; in dlg_buildlist()
818 button = dlg_next_button(buttons, button); in dlg_buildlist()
821 if (button == sLEFT) { in dlg_buildlist()
[all …]
H A Dtreeview.c199 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_treeview() local
354 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_treeview()
358 if (button < 0) /* --visit-items */ in dlg_treeview()
420 if (button < 0 || !dialog_state.visit_items) { in dlg_treeview()
440 button = j; in dlg_treeview()
518 result = dlg_enter_buttoncode(button); in dlg_treeview()
521 button = dlg_prev_button(buttons, button); in dlg_treeview()
522 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_treeview()
526 button = dlg_next_button(buttons, button); in dlg_treeview()
527 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_treeview()
H A Dchecklist.c195 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_checklist() local
362 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dlg_checklist()
366 if (button < 0) /* --visit-items */ in dlg_checklist()
445 if (button < 0 || !dialog_state.visit_items) { in dlg_checklist()
465 button = j; in dlg_checklist()
544 result = dlg_enter_buttoncode(button); in dlg_checklist()
547 button = dlg_prev_button(buttons, button); in dlg_checklist()
548 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_checklist()
552 button = dlg_next_button(buttons, button); in dlg_checklist()
553 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, in dlg_checklist()
/freebsd-12.1/usr.sbin/moused/
H A Dmoused.c1160 newaction.button = action0.button; in moused()
2378 a2->button = a1->button; in r_statetrans()
2409 a2->button &= in r_statetrans()
2553 int button; in r_timestamp() local
2580 if (act->button & button) { in r_timestamp()
2595 if (act->button & button) { in r_timestamp()
2607 button <<= 1; in r_timestamp()
2632 int button; in r_click() local
2644 if (act->button & button) { in r_click()
2658 button <<= 1; in r_click()
[all …]
/freebsd-12.1/sys/gnu/dts/arm/
H A Ds3c6410-mini6410.dts75 button-k1 {
82 button-k2 {
89 button-k3 {
96 button-k4 {
103 button-k5 {
110 button-k6 {
117 button-k7 {
124 button-k8 {
H A Darmada-xp-lenovo-ix4-300d.dts142 power-button {
148 reset-button {
154 select-button {
160 scroll-button {
270 power_button_pin: power-button-pin {
275 reset_button_pin: reset-button-pin {
279 select_button_pin: select-button-pin {
284 scroll_button_pin: scroll-button-pin {
H A Dkirkwood-netgear_readynas_duo_v2.dts29 pmx_button_power: pmx-button-power {
34 pmx_button_backup: pmx-button-backup {
39 pmx_button_reset: pmx-button-reset {
151 power-button {
157 reset-button {
163 backup-button {
H A Dkirkwood-netgear_readynas_nv+_v2.dts29 pmx_button_power: pmx-button-power {
34 pmx_button_backup: pmx-button-backup {
39 pmx_button_reset: pmx-button-reset {
161 power-button {
167 reset-button {
173 backup-button {
H A Darmada-370-netgear-rn102.dts135 power-button {
141 reset-button {
147 backup-button {
207 backup_button_pin: backup-button-pin {
212 power_button_pin: power-button-pin {
217 reset_button_pin: reset-button-pin {
/freebsd-12.1/sys/dev/syscons/
H A Dsysmouse.c199 mouse_status.obutton = mouse_status.button; in smdev_ioctl()
270 mouse_status.button = info->u.data.buttons; in sysmouse_event()
280 mouse_status.button |= info->u.event.id; in sysmouse_event()
282 mouse_status.button &= ~info->u.event.id; in sysmouse_event()
292 | (mouse_status.obutton ^ mouse_status.button); in sysmouse_event()
298 smdev_evdev_write(x, y, z, mouse_status.button); in sysmouse_event()
306 | butmap[mouse_status.button & MOUSE_STDBUTTONS]; in sysmouse_event()
321 buf[7] = (~mouse_status.button >> 3) & 0x7f; in sysmouse_event()
/freebsd-12.1/sys/gnu/dts/arm64/amlogic/
H A Dmeson-gxbb-p200.dts30 button-home {
36 button-esc {
42 button-up {
48 button-down {
54 button-menu {
/freebsd-12.1/contrib/dialog/samples/
H A Dsourcemage.rc45 # Active button color
48 # Inactive button color
51 # Active button key color
54 # Inactive button key color
57 # Active button label color
60 # Inactive button label color
H A Dpause-both7 --help-button \
8 --extra-button "$@" \
14 . ./report-button
H A Dslackware.rc45 # Active button color
48 # Inactive button color
51 # Active button key color
54 # Inactive button key color
57 # Active button label color
60 # Inactive button label color
H A Dwhiptail.rc45 # Active button color
48 # Inactive button color
51 # Active button key color
54 # Inactive button key color
57 # Active button label color
60 # Inactive button label color
H A Dsuse.rc45 # Active button color
48 # Inactive button color
51 # Active button key color
54 # Inactive button key color
57 # Active button label color
60 # Inactive button label color
H A Ddebian.rc46 # Active button color
49 # Inactive button color
52 # Active button key color
55 # Inactive button key color
58 # Active button label color
61 # Inactive button label color
H A Dtextbox-both15 --help-button \
16 --extra-button "$@" \
21 . ./report-button
/freebsd-12.1/sys/dev/vt/
H A Dvt_sysmouse.c222 sysmouse_status.button = mi->u.data.buttons; in sysmouse_process_event()
232 sysmouse_status.button |= mi->u.event.id; in sysmouse_process_event()
234 sysmouse_status.button &= ~mi->u.event.id; in sysmouse_process_event()
244 (sysmouse_status.obutton ^ sysmouse_status.button); in sysmouse_process_event()
249 sysmouse_evdev_store(x, y, z, sysmouse_status.button); in sysmouse_process_event()
254 buttonmap[sysmouse_status.button & MOUSE_STDBUTTONS]; in sysmouse_process_event()
266 buf[7] = (~sysmouse_status.button >> 3) & 0x7f; in sysmouse_process_event()
413 sysmouse_status.obutton = sysmouse_status.button; in sysmouse_ioctl()

12345678910>>...12