Searched refs:buttons (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-11-stable/contrib/dialog/
H A Dyesno.c31 * Display a dialog box with two buttons - Yes and No.
53 const char **buttons = dlg_yes_labels(); local
65 dlg_button_layout(buttons, &min_width);
81 dlg_register_buttons(dialog, "yesno", buttons);
94 buttons, button, FALSE, width);
106 if ((code = dlg_char_to_button(key, buttons)) >= 0) {
114 button = dlg_next_button(buttons, button);
119 buttons, button,
123 button = dlg_prev_button(buttons, button);
128 buttons, butto
[all...]
H A Dmsgbox.c54 const char **buttons = dlg_ok_label(); local
74 dlg_button_layout(buttons, &min_width);
94 dlg_register_buttons(dialog, "msgbox", buttons);
108 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
122 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
138 button = dlg_next_button(buttons, button);
143 buttons, button,
147 button = dlg_prev_button(buttons, button);
152 buttons, button,
H A Dpause.c72 const char **buttons = dlg_ok_labels(); local
73 bool have_buttons = (dlg_button_count(buttons) != 0);
99 dlg_button_layout(buttons, &width);
115 dlg_register_buttons(dialog, "pause", buttons);
175 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
205 button = dlg_next_button(buttons, button);
210 buttons, button,
214 button = dlg_prev_button(buttons, button);
219 buttons, button,
H A Dtailbox.c34 const char **buttons; member in struct:__anon957
228 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) {
309 const char **buttons = 0; local
346 buttons = dlg_exit_label();
347 dlg_button_layout(buttons, &min_width);
348 dlg_draw_buttons(dialog, height - (2 * MARGIN), 0, buttons, FALSE,
365 obj->buttons = buttons;
369 dlg_register_buttons(dialog, "tailbox", buttons);
392 dlg_button_layout(buttons,
[all...]
H A Dprogressbox.c126 const char **buttons = dlg_ok_label(); local
135 dlg_register_buttons(dialog, "progressbox", buttons);
147 buttons, button,
155 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
163 button = dlg_next_button(buttons, button);
167 button = dlg_prev_button(buttons, button);
H A Dinputbox.c81 const char **buttons = dlg_ok_labels(); local
108 dlg_button_layout(buttons, &width);
117 dlg_register_buttons(dialog, "inputbox", buttons);
159 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width);
204 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) {
H A Dmenubox.c349 const char **buttons = dlg_ok_labels(); local
375 dlg_button_layout(buttons, &width);
386 dlg_register_buttons(dialog, "menubox", buttons);
424 dlg_register_buttons(menu, "menu", buttons);
493 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
554 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
636 button = dlg_prev_button(buttons, button);
637 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
641 button = dlg_next_button(buttons, button);
642 dlg_draw_buttons(dialog, height - 2, 0, buttons, butto
[all...]
H A Drangebox.c217 const char **buttons = dlg_ok_labels(); local
242 dlg_button_layout(buttons, &width);
286 dlg_register_buttons(dialog, "rangebox", buttons);
308 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
318 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
H A Dtimebox.c186 const char **buttons = dlg_ok_labels(); local
207 dlg_button_layout(buttons, &width);
220 dlg_register_buttons(dialog, "timebox", buttons);
283 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
291 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
H A Dchecklist.c205 const char **buttons = dlg_ok_labels(); local
252 dlg_button_layout(buttons, &width);
270 dlg_register_buttons(dialog, widget_name, buttons);
362 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
464 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
547 button = dlg_prev_button(buttons, button);
548 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
552 button = dlg_next_button(buttons, button);
553 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
H A Dtreeview.c210 const char **buttons = dlg_ok_labels(); local
262 dlg_button_layout(buttons, &width);
271 dlg_register_buttons(dialog, widget_name, buttons);
354 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
439 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
521 button = dlg_prev_button(buttons, button);
522 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
526 button = dlg_next_button(buttons, button);
527 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
H A Ddlg_keys.c33 bool buttons; /* true only for dlg_register_buttons() */ variable
113 dlg_register_buttons(WINDOW *win, const char *name, const char **buttons) argument
119 if (buttons == 0)
122 for (n = 0; buttons[n] != 0; ++n) {
123 int curses_key = dlg_button_to_char(buttons[n]);
148 p->buttons = TRUE;
176 /* the user-defined and buttons-bindings all are length=1 */
236 if (p->buttons
256 * buttons on the widget such as "OK".
H A Dtextbox.c36 const char **buttons; member in struct:__anon958
719 obj.buttons = dlg_exit_label();
734 dlg_button_layout(obj.buttons, &min_width);
750 dlg_register_buttons(dialog, "textbox", obj.buttons);
763 dlg_draw_buttons(dialog, PAGE_LENGTH + 2, 0, obj.buttons, button, FALSE, width);
820 if (!fkey && (code = dlg_char_to_button(key, obj.buttons)) >= 0) {
837 button = dlg_next_button(obj.buttons, button);
842 obj.buttons, button,
846 button = dlg_prev_button(obj.buttons, button);
851 obj.buttons, butto
[all...]
H A Dbuildlist.c470 const char **buttons = dlg_ok_labels(); local
517 dlg_button_layout(buttons, &width);
531 dlg_register_buttons(dialog, widget_name, buttons);
636 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
777 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
803 button = dlg_prev_button(buttons, button);
804 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
818 button = dlg_next_button(buttons, button);
819 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
/freebsd-11-stable/sys/dev/adb/
H A Dadb_mouse.c82 int buttons; member in struct:adb_mouse_softc
162 sc->hw.buttons = 2;
174 sc->buttons = 0;
220 sc->hw.buttons = r1[7];
223 sc->hw.buttons, sc->mode.resolution,description);
341 int buttons, tmp_buttons; local
351 buttons = 0;
352 buttons |= !(data[0] & 0x80);
353 buttons |= !(data[1] & 0x80) << 1;
360 buttons |
[all...]
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c69 const char *buttons[] = local
124 dlg_button_layout(buttons, &min_width);
136 dlg_register_buttons(dialog, "diskeditorbox", buttons);
147 dlg_register_buttons(partitions, "partlist", buttons);
151 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
178 if ((i = dlg_char_to_button(key, buttons)) >= 0) {
181 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
191 cur_button = dlg_next_button(buttons, cur_button);
195 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
199 cur_button = dlg_prev_button(buttons, cur_butto
[all...]
/freebsd-11-stable/sys/dev/syscons/
H A Dsysmouse.c88 smdev_evdev_write(int x, int y, int z, int buttons) argument
110 if (buttons & (1 << 6))
112 else if (buttons & (1 << 5))
114 buttons &= ~((1 << 5)|(1 << 6));
120 evdev_push_mouse_btn(sysmouse_evdev, buttons);
141 hw->buttons = 10; /* XXX unknown */
274 mouse_status.button = info->u.data.buttons;
324 /* buttons 4-10 */
/freebsd-11-stable/sys/dev/usb/input/
H A Dums.c221 int32_t buttons = 0; local
311 buttons |= mask;
320 buttons_reported = buttons;
322 /* keep old button value(s) for non-detected buttons */
323 buttons |= sc->sc_status.button & ~buttons_found;
326 (buttons != sc->sc_status.button)) {
328 DPRINTFN(6, "x:%d y:%d z:%d t:%d w:%d buttons:0x%08x\n",
329 dx, dy, dz, dt, dw, buttons);
333 ums_put_queue(sc, 0, 0, 0, 0, buttons);
334 buttons |
877 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument
922 ums_evdev_push(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument
[all...]
/freebsd-11-stable/lib/libvgl/
H A Dmouse.c175 VGLMouseButtons = mouseinfo.u.data.buttons;
218 VGLMouseButtons = mouseinfo.u.data.buttons;
224 VGLMouseStatus(int *x, int *y, char *buttons) argument
229 *buttons = VGLMouseButtons;
/freebsd-11-stable/gnu/lib/libdialog/
H A DMakefile7 SRCS= argv.c arrows.c buildlist.c buttons.c calendar.c checklist.c \
/freebsd-11-stable/sys/dev/vt/
H A Dvt_sysmouse.c120 sysmouse_evdev_store(int x, int y, int z, int buttons) argument
142 if (buttons & (1 << 6))
144 else if (buttons & (1 << 5))
146 buttons &= ~((1 << 5)|(1 << 6));
152 evdev_push_mouse_btn(sysmouse_evdev, buttons);
220 sysmouse_status.button = mi->u.data.buttons;
370 hw->buttons = 10;
/freebsd-11-stable/sys/dev/cyapa/
H A Dcyapa.h83 uint8_t buttons; /* 0x13 */ member in struct:cyapa_cap
/freebsd-11-stable/sys/dev/usb/gadget/
H A Dg_mouse.c92 uint8_t buttons; member in struct:g_mouse_data
177 sc->sc_data.buttons = 0;
367 sc->sc_data.buttons ^= BUT_0;
374 sc->sc_data.buttons = 0;
/freebsd-11-stable/release/picobsd/tinyware/view/
H A Dview.c118 char buttons; local
159 VGLMouseStatus(&x,&y,&buttons);
171 } while (buttons & MOUSE_BUTTON3DOWN);
478 char buttons; local
606 VGLMouseStatus(&x,&y,&buttons);
607 if(buttons & MOUSE_BUTTON3DOWN) {
/freebsd-11-stable/tools/sched/
H A Dschedgraph.py280 self.buttons = Frame(self)
284 self.buttons.grid(row=1, column=0, sticky=E+W)
303 self.apply = Button(self.buttons, text="Apply",
305 self.default = Button(self.buttons, text="Revert",
309 self.buttons.columnconfigure(0, weight=1)
310 self.buttons.columnconfigure(1, weight=1)
370 self.buttons = Frame(self)
379 self.buttons.grid(row=1, column=0, sticky=W)
399 self.apply = Button(self.buttons, text="Apply",
401 self.default = Button(self.buttons, tex
[all...]

Completed in 225 milliseconds

12