Searched refs:buttons (Results 1 - 25 of 43) sorted by last modified time

12

/freebsd-9.3-release/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;
H A Dvgl.h131 int VGLMouseStatus(int *x, int *y, char *buttons);
/freebsd-9.3-release/usr.sbin/moused/
H A Dmoused.c466 #define S3 3 /* both buttons down -> button 2 down */
470 #define S7 7 /* both buttons down */
480 int buttons; member in struct:__anon10948
1093 debug("flags:%08x buttons:%08x obuttons:%08x",
1127 debug("[BUTTON2] flags:%08x buttons:%08x obuttons:%08x",
1130 debug("[NOTBUTTON2] flags:%08x buttons:%08x obuttons:%08x",
1167 debug("flags:%08x buttons:%08x obuttons:%08x", action.flags,
1177 debug("activity : buttons 0x%08x dx %d dy %d dz %d",
1286 mouse.u.data.buttons = action2.button;
1302 mouse.u.data.buttons
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddmenu.c211 dmenuOpenSimple(DMenu *menu, Boolean buttons) argument
216 return dmenuOpen(menu, &choice, &scroll, &curr, &max, buttons);
343 dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max, Boolean buttons) argument
349 if (buttons)
366 (char *)(uintptr_t)buttons, choice, scroll);
371 items, (char *)(uintptr_t)buttons);
376 items, (char *)(uintptr_t)buttons);
H A Dsysinstall.h626 extern Boolean dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max, Boolean buttons);
627 extern Boolean dmenuOpenSimple(DMenu *menu, Boolean buttons);
/freebsd-9.3-release/usr.sbin/bluetooth/bthidd/
H A Dhid.c399 mi.u.data.buttons = mouse_butt;
/freebsd-9.3-release/usr.sbin/sade/
H A Ddmenu.c167 dmenuOpenSimple(DMenu *menu, Boolean buttons) argument
172 return dmenuOpen(menu, &choice, &scroll, &curr, &max, buttons);
245 dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max, Boolean buttons) argument
251 if (buttons)
268 (char *)(uintptr_t)buttons, choice, scroll);
273 items, (char *)(uintptr_t)buttons);
278 items, (char *)(uintptr_t)buttons);
H A Dsade.h359 extern Boolean dmenuOpen(DMenu *menu, int *choice, int *bscroll, int *curr, int *max, Boolean buttons);
360 extern Boolean dmenuOpenSimple(DMenu *menu, Boolean buttons);
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c67 const char *buttons[] = local
106 dlg_button_layout(buttons, &min_width);
118 dlg_register_buttons(dialog, "diskeditorbox", buttons);
129 dlg_register_buttons(partitions, "partlist", buttons);
133 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
160 if ((i = dlg_char_to_button(key, buttons)) >= 0) {
163 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
173 cur_button = dlg_next_button(buttons, cur_button);
177 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
181 cur_button = dlg_prev_button(buttons, cur_butto
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_mouse.c108 #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-9.3-release/contrib/ncurses/include/
H A DCaps308 buttons btns num BT - - ----- number of buttons on mouse
H A DCaps.aix4308 buttons btns num BT - - ----- number of buttons on mouse
H A DCaps.hpux11310 buttons btns num BT - - ----- number of buttons on mouse
H A DCaps.keys310 buttons btns num BT - - ----- number of buttons on mouse
/freebsd-9.3-release/contrib/dialog/
H A Dcalendar.c434 const char **buttons = dlg_ok_labels(); local
476 dlg_button_layout(buttons, &mincols);
491 dlg_register_buttons(dialog, "calendar", buttons);
548 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
560 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
H A Dchecklist.c192 const char **buttons = dlg_ok_labels(); local
228 dlg_button_layout(buttons, &width);
244 dlg_register_buttons(dialog, "checklist", buttons);
329 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
443 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
591 button = dlg_prev_button(buttons, button);
592 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
596 button = dlg_next_button(buttons, button);
597 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
H A Ddialog.h87 #ifdef buttons
88 #undef buttons macro
600 /* buttons.c */
807 * the buttons.
H A Ddlg_keys.c33 bool buttons; /* true only for dlg_register_buttons() */ variable
101 dlg_register_buttons(WINDOW *win, const char *name, const char **buttons) argument
107 if (buttons == 0)
110 for (n = 0; buttons[n] != 0; ++n) {
111 int curses_key = dlg_button_to_char(buttons[n]);
136 p->buttons = TRUE;
164 /* the user-defined and buttons-bindings all are length=1 */
215 if (p->buttons
235 * buttons on the widget such as "OK".
H A Deditbox.c350 const char **buttons = dlg_ok_labels(); local
370 dlg_button_layout(buttons, &mincols);
380 dlg_register_buttons(dialog, "editbox", buttons);
469 buttons,
622 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) {
H A Dformbox.c475 const char **buttons = dlg_ok_labels(); local
479 dlg_button_layout(buttons, &min_width);
514 dlg_register_buttons(dialog, "formbox", buttons);
574 dlg_draw_buttons(dialog, height - 2, 0, buttons,
604 code = dlg_char_to_button(key, buttons);
H A Dfselect.c572 const char **buttons = dlg_ok_labels(); local
587 dlg_button_layout(buttons, &min_wide);
603 dlg_register_buttons(dialog, "fselect", buttons);
697 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
854 (code = dlg_char_to_button(key, buttons)) >= 0) {
H A Dinputbox.c80 const char **buttons = dlg_ok_labels(); local
106 dlg_button_layout(buttons, &width);
115 dlg_register_buttons(dialog, "inputbox", buttons);
150 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width);
185 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) {
H A Dmenubox.c337 const char **buttons = dlg_ok_labels(); local
356 dlg_button_layout(buttons, &width);
365 dlg_register_buttons(dialog, "menubox", buttons);
401 dlg_register_buttons(menu, "menu", buttons);
462 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
520 } else if ((j = dlg_char_to_button(key, buttons)) >= 0) {
680 button = dlg_prev_button(buttons, button);
681 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
685 button = dlg_next_button(buttons, button);
686 dlg_draw_buttons(dialog, height - 2, 0, buttons, butto
[all...]
H A Dmsgbox.c60 const char **buttons = dlg_ok_label(); local
72 dlg_button_layout(buttons, &min_width);
92 dlg_register_buttons(dialog, "msgbox", buttons);
106 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
119 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
135 button = dlg_next_button(buttons, button);
140 buttons, button,
144 button = dlg_prev_button(buttons, button);
149 buttons, button,
H A Dpause.c78 const char **buttons = dlg_ok_labels(); local
79 bool have_buttons = (dlg_button_count(buttons) != 0);
102 dlg_button_layout(buttons, &width);
118 dlg_register_buttons(dialog, "pause", buttons);
176 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
202 button = dlg_next_button(buttons, button);
207 buttons, button,
211 button = dlg_prev_button(buttons, button);
216 buttons, button,

Completed in 222 milliseconds

12