Home
last modified time | relevance | path

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

12345678910>>...26

/freebsd-src/contrib/bsddialog/lib/
H A Dtheme.c93 .button.minmargin = 1,
94 .button.maxmargin = 5,
95 .button.leftdelim = '[',
96 .button.rightdelim = ']',
97 .button.f_delimcolor = WHITE,
98 .button.delimcolor = WHITE,
99 .button.f_color = BLACK,
100 .button.color = WHITE,
101 .button.f_shortcutcolor = BLACK | A_UNDERLINE | A_BOLD,
102 .button.shortcutcolor = WHITE | A_UNDERLINE | A_BOLD
[all …]
H A Dlib_util.c224 width += (bs->nbuttons - 1) * t.button.minmargin; in buttons_min_width()
236 color_arrows = t.button.f_delimcolor; in draw_button()
237 color_shortkey = t.button.f_shortcutcolor; in draw_button()
238 color_button = t.button.f_color; in draw_button()
240 color_arrows = t.button.delimcolor; in draw_button()
241 color_shortkey = t.button.shortcutcolor; in draw_button()
242 color_button = t.button.color; in draw_button()
246 mvwaddch(window, y, x, t.button.leftdelim); in draw_button()
253 mvwaddch(window, y, x + i, t.button.rightdelim); in draw_button()
277 newmargin = MIN(newmargin, t.button.maxmargin); in draw_buttons()
[all …]
/freebsd-src/contrib/dialog/
H A Dmsgbox.c49 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 Dyesno.c48 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 Dpause.c69 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 Dbuttons.c586 dlg_exit_buttoncode(int button) in dlg_exit_buttoncode() argument
594 result = dlg_ok_buttoncode(button); in dlg_exit_buttoncode()
660 dlg_ok_buttoncode(int button) in dlg_ok_buttoncode() argument
665 if (!dialog_vars.nook && (button <= 0)) { in dlg_ok_buttoncode()
667 } else if (dialog_vars.extra_button && (button == n++)) { in dlg_ok_buttoncode()
669 } else if (!dialog_vars.nocancel && (button == n++)) { in dlg_ok_buttoncode()
671 } else if (dialog_vars.help_button && (button == n)) { in dlg_ok_buttoncode()
675 button, result, dlg_exitcode2s(result))); in dlg_ok_buttoncode()
783 dlg_yes_buttoncode(int button) in dlg_yes_buttoncode() argument
788 result = dlg_ok_buttoncode(button); in dlg_yes_buttoncode()
[all …]
/freebsd-src/usr.sbin/bsdinstall/partedit/
H A Ddiskmenu.c73 conf.button.ok_label = "Create"; in diskmenu_show()
74 conf.button.with_extra = true; in diskmenu_show()
75 conf.button.extra_label = "Delete"; in diskmenu_show()
76 conf.button.cancel_label = "Modify"; in diskmenu_show()
77 conf.button.with_help = true; in diskmenu_show()
78 conf.button.help_label = "Revert"; in diskmenu_show()
79 conf.button.right1_label = "Auto"; in diskmenu_show()
80 conf.button.right2_label = "Finish"; in diskmenu_show()
81 conf.button.default_label = "Finish"; in diskmenu_show()
H A Dpart_wizard.c112 int i, button, fd, selected, n = 0; in boot_disk_select() local
179 button = bsddialog_menu(&conf, in boot_disk_select()
183 chosen = (button == BSDDIALOG_OK) ? in boot_disk_select()
260 conf.button.ok_label = "Entire Disk"; in wizard_partition()
261 conf.button.cancel_label = "Partition"; in wizard_partition()
263 conf.button.default_cancel = true; in wizard_partition()
272 conf.button.ok_label = NULL; in wizard_partition()
273 conf.button.cancel_label = NULL; in wizard_partition()
274 conf.button.default_cancel = false; in wizard_partition()
378 conf.button.ok_label = "Another Disk"; in wizard_makeparts()
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/input/
H A Dgpio-mouse.txt15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right mouse button
29 button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
30 button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
31 button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
H A Dti,palmas-pwrbutton.txt1 Texas Instruments Palmas family power button module
7 This module provides a simple power button event via an Interrupt.
11 - "ti,palmas-pwrbutton": For Palmas compatible power on button
12 - interrupts: Interrupt number of power button submodule on device.
17 button should be kept pressed for Palmas to power off automatically.
21 which the power button should be kept pressed for Palmas to register
H A De3x0-button.txt1 National Instruments Ettus Research USRP E3x0 button driver
5 This module provides a simple power button event via two interrupts.
9 - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
18 button {
19 compatible = "ettus,e3x0-button";
/freebsd-src/usr.sbin/moused/
H A Dmoused.c1065 action0.button = action0.obutton; in moused()
1071 action.flags, action.button, action.obutton); in moused()
1073 action0.obutton = action0.button; in moused()
1098 if (action0.button == MOUSE_BUTTON2DOWN) { in moused()
1105 action.flags, action.button, action.obutton); in moused()
1108 action.flags, action.button, action.obutton); in moused()
1124 A(newaction.button & MOUSE_BUTTON1DOWN, in moused()
1125 action0.button & MOUSE_BUTTON3DOWN)); in moused()
1128 newaction.button = MOUSE_BUTTON2DOWN; in moused()
1133 newaction.obutton = newaction.button; in moused()
[all …]
/freebsd-src/contrib/bsddialog/utility/
H A Dutil_theme.c142 "theme.button.minmargin", UINT, &t.button.minmargin},
143 {"", "theme.button.maxmargin", UINT, &t.button.maxmargin},
144 {"", "theme.button.leftdelim", CHAR, &t.button.leftdelim},
145 {"", "theme.button.rightdelim", CHAR, &t.button.rightdelim},
146 {"", "theme.button.f_delimcolor", COLOR, &t.button.f_delimcolor},
147 {"", "theme.button.delimcolor", COLOR, &t.button.delimcolor},
148 {"", "theme.button.f_color", COLOR, &t.button.f_color},
149 {"", "theme.button.color", COLOR, &t.button.color},
150 {"", "theme.button.f_shortcutcolor", COLOR, &t.button.f_shortcutcolor},
151 {"", "theme.button.shortcutcolor", COLOR, &t.button.shortcutcolor},
[all …]
H A Dutil_cli.c171 {"default-button", required_argument, NULL, DEFAULT_BUTTON},
178 {"extra-button", no_argument, NULL, EXTRA_BUTTON},
181 {"help-button", no_argument, NULL, HELP_BUTTON},
198 {"left1-button", required_argument, NULL, LEFT1_BUTTON},
200 {"left2-button", required_argument, NULL, LEFT2_BUTTON},
202 {"left3-button", required_argument, NULL, LEFT3_BUTTON},
226 {"right1-button", required_argument, NULL, RIGHT1_BUTTON},
228 {"right2-button", required_argument, NULL, RIGHT2_BUTTON},
230 {"right3-button", required_argument, NULL, RIGHT3_BUTTON},
290 " --date-format <format>,\n --default-button <labe in usage()
[all...]
/freebsd-src/contrib/bsddialog/
H A DCHANGELOG62 * add: --left1-button <label>.
63 * add: --left2-button <label>.
64 * add: --left3-button <label>.
65 * add: --right1-button <label>.
66 * add: --right2-button <label>.
67 * add: --right3-button <label>.
107 * improve: --bikeshed with button delimiter and --date-format.
108 * improve: --textbox accepts button options.
109 * improve: Forms with Help button.
117 * delete: --generic-button1 (replaced by --right1-button)
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/allwinner/
H A Dsun8i-v3s-anbernic-rg-nano.dts33 button-a {
39 button-b {
45 button-down {
51 button-left {
57 button-right {
63 button-se {
69 button-st {
75 button-tl {
81 button-tr {
87 button-up {
[all …]
/freebsd-src/contrib/expat/doc/
H A Dok.min.css2button,input,optgroup,select,textarea{font-size:100%;line-height:1.15;margin:0}button,input{overfl… selector
/freebsd-src/sys/contrib/device-tree/src/mips/ingenic/
H A Dgcw0.dts135 button-0 {
142 button-1 {
149 button-2 {
156 button-3 {
163 button-4 {
170 button-5 {
177 button-6 {
184 button-7 {
191 button-8 {
192 label = "Left shoulder button";
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/samsung/
H A Ds3c6410-mini6410.dts67 button-k1 {
74 button-k2 {
81 button-k3 {
88 button-k4 {
95 button-k5 {
102 button-k6 {
109 button-k7 {
116 button-k8 {
/freebsd-src/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm4709-buffalo-wxr-1900dhp.dts81 button-power {
87 button-restart {
93 button-aoss {
100 button-mode {
107 button-sw-ap {
113 button-eject {
/freebsd-src/sys/dev/syscons/
H A Dsysmouse.c196 mouse_status.obutton = mouse_status.button; in smdev_ioctl()
267 mouse_status.button = info->u.data.buttons; in sysmouse_event()
277 mouse_status.button |= info->u.event.id; in sysmouse_event()
279 mouse_status.button &= ~info->u.event.id; in sysmouse_event()
289 | (mouse_status.obutton ^ mouse_status.button); in sysmouse_event()
295 smdev_evdev_write(x, y, z, mouse_status.button); in sysmouse_event()
305 | butmap[mouse_status.button & MOUSE_STDBUTTONS]; in sysmouse_event()
320 buf[7] = (~mouse_status.button >> 3) & 0x7f; in sysmouse_event()
/freebsd-src/sys/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-g12b-odroid-go-ultra.dts87 volume-up-button {
92 volume-down-button {
97 dpad-up-button {
102 dpad-down-button {
107 dpad-left-button {
112 dpad-right-button {
117 a-button {
122 b-button {
127 y-button {
132 x-button {
[all...]
/freebsd-src/contrib/dialog/samples/
H A Dpause-both7 --help-button \
8 --extra-button "$@" \
14 . ./report-button
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
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-greatlakes.dts254 /*F0-F7*/ "slot1-bmc-reset-button","slot2-bmc-reset-button",
255 "slot3-bmc-reset-button","slot4-bmc-reset-button",
261 /*I0-I7*/ "","","","","","","bb-bmc-button","",
276 /*V0-V7*/ "bmc-slot1-ac-button","bmc-slot2-ac-button",
277 "bmc-slot3-ac-button","bmc-slot4-ac-button",

12345678910>>...26