/freebsd-10-stable/contrib/dialog/ |
H A D | yesno.c | 31 * 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 D | msgbox.c | 54 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 D | pause.c | 72 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 D | tailbox.c | 34 const char **buttons; member in struct:__anon908 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 D | progressbox.c | 126 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 D | inputbox.c | 81 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 D | menubox.c | 349 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 D | rangebox.c | 217 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 D | timebox.c | 186 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 D | checklist.c | 205 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 D | treeview.c | 210 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 D | dlg_keys.c | 33 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 D | textbox.c | 36 const char **buttons; member in struct:__anon909 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 D | buildlist.c | 470 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-10-stable/sys/dev/adb/ |
H A D | adb_mouse.c | 82 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-10-stable/usr.sbin/bsdinstall/partedit/ |
H A D | diskeditor.c | 67 const char *buttons[] = local 122 dlg_button_layout(buttons, &min_width); 134 dlg_register_buttons(dialog, "diskeditorbox", buttons); 145 dlg_register_buttons(partitions, "partlist", buttons); 149 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons, 176 if ((i = dlg_char_to_button(key, buttons)) >= 0) { 179 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons, 189 cur_button = dlg_next_button(buttons, cur_button); 193 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons, 197 cur_button = dlg_prev_button(buttons, cur_butto [all...] |
/freebsd-10-stable/sys/dev/usb/input/ |
H A D | ums.c | 188 int32_t buttons = 0; local 275 buttons |= mask; 283 /* keep old button value(s) for non-detected buttons */ 284 buttons |= sc->sc_status.button & ~buttons_found; 287 (buttons != sc->sc_status.button)) { 289 DPRINTFN(6, "x:%d y:%d z:%d t:%d w:%d buttons:0x%08x\n", 290 dx, dy, dz, dt, dw, buttons); 294 ums_put_queue(sc, 0, 0, 0, 0, buttons); 295 buttons |= 1UL << 5; 297 ums_put_queue(sc, 0, 0, 0, 0, buttons); 739 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy, int32_t dz, int32_t dt, int32_t buttons) argument [all...] |
/freebsd-10-stable/gnu/lib/libdialog/ |
H A D | Makefile | 7 SRCS= argv.c arrows.c buildlist.c buttons.c calendar.c checklist.c \
|
/freebsd-10-stable/lib/libvgl/ |
H A D | mouse.c | 175 VGLMouseButtons = mouseinfo.u.data.buttons; 218 VGLMouseButtons = mouseinfo.u.data.buttons; 224 VGLMouseStatus(int *x, int *y, char *buttons) argument 229 *buttons = VGLMouseButtons;
|
/freebsd-10-stable/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 92 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-10-stable/release/picobsd/tinyware/view/ |
H A D | view.c | 118 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-10-stable/tools/sched/ |
H A D | schedgraph.py | 279 self.buttons = Frame(self) 283 self.buttons.grid(row=1, column=0, sticky=E+W) 302 self.apply = Button(self.buttons, text="Apply", 304 self.default = Button(self.buttons, text="Revert", 308 self.buttons.columnconfigure(0, weight=1) 309 self.buttons.columnconfigure(1, weight=1) 369 self.buttons = Frame(self) 378 self.buttons.grid(row=1, column=0, sticky=W) 398 self.apply = Button(self.buttons, text="Apply", 400 self.default = Button(self.buttons, tex [all...] |
/freebsd-10-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_mouse.c | 108 #undef buttons /* symbol conflict in consio.h */ macro 234 if (rc) { /* retry with 2 buttons */ 271 sprintf(err, "Error setting event mask, buttons=%d, rc=%lu.\r\n", 304 sp->_sysmouse_new_buttons = the_mouse.u.data.buttons & 0x7; 708 if (ev.buttons & GPM_B_LEFT) 710 if (ev.buttons & GPM_B_MIDDLE) 712 if (ev.buttons & GPM_B_RIGHT) 716 if (ev.buttons & GPM_B_LEFT) 718 if (ev.buttons & GPM_B_MIDDLE) 720 if (ev.buttons [all...] |
/freebsd-10-stable/sys/dev/syscons/ |
H A D | scmouse.c | 65 int buttons; member in struct:old_mouse_data 690 mouse->u.data.buttons = swapb[old_mouse->u.data.buttons & 0x7]; 695 old_mouse->u.data.buttons = swapb[scp->mouse_buttons & 0x7]; 760 mouse->u.data.buttons = scp->mouse_buttons; 779 f = cur_scp->mouse_buttons ^ mouse->u.data.buttons; 780 cur_scp->mouse_buttons = mouse->u.data.buttons; 788 * If any buttons are down or the mouse has moved a lot, 791 if (((mouse->operation == MOUSE_ACTION) && mouse->u.data.buttons)
|
H A D | sysmouse.c | 69 hw->buttons = 10; /* XXX unknown */ 199 mouse_status.button = info->u.data.buttons; 242 /* buttons 4-10 */
|