Home
last modified time | relevance | path

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

12345678910>>...28

/freebsd/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 in draw_buttons()
[all...]
/freebsd/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 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 …]
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 …]
/freebsd/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/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/usr.sbin/moused/
H A Dmoused.c82 /* Abort 3-button emulation delay after this many movement events. */
273 /* Logitech MouseMan (new 4 button model) */
392 int zmap[4]; /* MOUSE_{X|Y}AXIS or a button number */
393 int wmode; /* wheel mode button number */
400 long button2timeout; /* 3 button emulation timeout */
438 /* button status */
441 struct timespec ts; /* timestamp on the last button event */
443 static struct button_state bstate[MOUSE_MAXBUTTON]; /* button state */
444 static struct button_state *mstate[MOUSE_MAXBUTTON];/* mapped button st.*/
447 /* state machine for 3 button emulatio
2513 int button; r_timestamp() local
2592 int button; r_click() local
[all...]
/freebsd/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
[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/sys/contrib/device-tree/src/arm64/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts37 button-a {
44 button-b {
51 button-down {
58 button-l1 {
65 button-l2 {
72 button-left {
79 button-menu {
86 button-r1 {
93 button-r2 {
100 button-right {
[all …]
/freebsd/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/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3566-anbernic-rg-arc.dtsi130 * Device uses a non-standard six button layout for a gamepad with X,
135 button-a {
141 button-b {
147 button-c {
153 button-left {
159 button-r1 {
165 button-r2 {
171 button-right {
177 button-x {
183 button-y {
[all …]
/freebsd/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/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/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/sys/contrib/device-tree/src/arm/marvell/
H A Dkirkwood-dnskw.dtsi15 button-power {
16 label = "Power button";
20 button-eject {
21 label = "USB unmount button";
25 button-reset {
26 label = "Reset button";
83 pmx_button_power: pmx-button-power {
131 pmx_button_unmount: pmx-button-unmount {
135 pmx_button_reset: pmx-button-reset {
/freebsd/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/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/sys/dev/syscons/
H A Dsysmouse.c204 mouse_status.obutton = mouse_status.button; in smdev_ioctl()
275 mouse_status.button = info->u.data.buttons; in sysmouse_event()
285 mouse_status.button |= info->u.event.id; in sysmouse_event()
287 mouse_status.button &= ~info->u.event.id; in sysmouse_event()
297 | (mouse_status.obutton ^ mouse_status.button); in sysmouse_event()
303 smdev_evdev_write(x, y, z, mouse_status.button); in sysmouse_event()
313 | butmap[mouse_status.button & MOUSE_STDBUTTONS]; in sysmouse_event()
328 buf[7] = (~mouse_status.button >> 3) & 0x7f; in sysmouse_event()
/freebsd/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>>...28