| /xsrc/external/mit/ctwm/dist/ |
| win_decorations_init.c | 36 * button. If we can't find the button, then put in a question; if we can't 104 fprintf(stderr, "%s: unable to add titlebar button \"%s\"\n", 187 * Sets the action for a given {mouse button,set of modifier keys} on the 188 * "current" button. This happens during initialization, in a few 191 * CreateTitleButton() winds up creating a new button, and setting the 203 SetCurrentTBAction(int button, int nmods, int func, char *action, 213 if(tbf->num == button && tbf->mods == nmods) { 226 tbf->num = button; 244 int button; local [all...] |
| gram.y | 70 %token <num> LB RB LP RP MENUS MENU BUTTON DEFAULT_FUNCTION PLUS MINUS 103 %type <num> action button number signed_number keyaction full fullkey 225 | button string { 229 | button action { 246 | button full { GotButton($1, $2); } 628 binding_entry : button keyaction { SetCurrentTBAction($1, mods, $2, Action, pull); mods = 0;} 629 | button EQUALS action { SetCurrentTBAction($1, 0, $3, Action, pull);} 630 | button COLON action { 672 | BUTTON string string { 674 | BUTTON string 1115 button : BUTTON number { $$ = $2; label [all...] |
| /xsrc/external/mit/libXaw/dist/examples/ |
| menu.c | 20 Widget button, menu; local 24 button = XtVaCreateManagedWidget("menuButton", menuButtonWidgetClass, top, 28 button, NULL);
|
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| spiceqxl_uinput.c | 33 int button = -1; local 54 button = 1 << 0; 57 button = 1 << 1; 60 button = 1 << 2; 64 buttons_state |= button; 66 buttons_state &= ~button; 71 button = 1; 73 button = 1 << 3; 75 button = 1 << 4; 77 buttons_state |= button; [all...] |
| /xsrc/external/mit/xmh/dist/ |
| bboxint.h | 32 Widget widget; /* Widget containing this button. */ 33 ButtonBox buttonbox; /* Button box containing this button. */ 34 char *name; /* Name of the button. */ 41 Scrn scrn; /* Scrn containing this button box. */ 43 Button *button; /* Array of pointers to buttons. */ member in struct:_XmhButtonBoxRec
|
| bbox.c | 49 * Create a new button box. The widget for it will be a child of the given 72 buttonbox->button = (Button *) NULL; 86 /* Create a new button, and add it to a buttonbox. */ 95 Button button; local 101 buttonbox->button = XtReallocArray(buttonbox->button, 102 buttonbox->numbuttons, sizeof(Button)); 103 button = buttonbox->button[buttonbox->numbuttons - 1] = XtNew(ButtonRec) 357 Button button = BBoxFindButtonNamed(buttonbox, name); local [all...] |
| popup.c | 220 Widget button; local 234 button = XtNameToWidget(popup, buttonName); 235 if (! button) return; 236 XtCallActionProc(button, "set", event, (String*)NULL, ZERO); 237 XtCallActionProc(button, "notify", event, (String*)NULL, ZERO); 238 XtCallActionProc(button, "unset", event, (String*)NULL, ZERO); 400 Widget button; local 423 button = XtCreateManagedWidget("yes", commandWidgetClass, dialog, 426 XtAddCallbacks(button, XtNcallback, affirm_callbacks); 428 button = XtCreateManagedWidget("no", commandWidgetClass, dialog [all...] |
| screen.c | 247 snprintf(name, sizeof(name), "button%d", i); 455 Button button; local 460 button = BBoxFindButtonNamed 463 SendMenuEntryEnableMsg(button, "inc", value); 465 button = BBoxFindButtonNamed 468 SendMenuEntryEnableMsg(button, "openSeq", value); 469 SendMenuEntryEnableMsg(button, "addToSeq", value); 470 SendMenuEntryEnableMsg(button, "removeFromSeq", value); 471 SendMenuEntryEnableMsg(button, "deleteSeq", value) [all...] |
| tocutil.c | 73 Button button; local 91 button = BBoxFindButtonNamed(scrn->mainbuttons, name); 92 menu = BBoxMenuOfButton(button);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_winproc.c | 58 int button = -1; local 326 button = GLUT_LEFT_BUTTON; 328 if (button < 0) 329 button = GLUT_MIDDLE_BUTTON; 331 if (button < 0) 332 button = GLUT_RIGHT_BUTTON; 334 /* finish the menu if we get a button down message (user must have 339 if (button == GLUT_MIDDLE_BUTTON) 361 menu = __glutGetMenuByNum(window->menu[button]); 365 __glutMenuButton = button == GLUT_RIGHT_BUTTON ? TPM_RIGHTBUTTON [all...] |
| /xsrc/external/mit/libXxf86dga/dist/include/X11/extensions/ |
| Xxf86dga.h | 21 unsigned int button; member in struct:__anon6075
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| winmouse.c | 40 #include "exevents.h" /* for button/axes labels */ 44 /* Peek the internal button mapping */ 103 /* initialize button map */ 129 g_winMouseButtonMap = pDeviceInt->button->map; 150 int button; local 189 /* Set the button to indicate up or down wheel delta */ 191 button = iButtonUp; 194 button = iButtonDown; 200 * button clicks for the Z axis. 208 /* Push the wheel button */ [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winmouse.c | 40 #include "exevents.h" /* for button/axes labels */ 44 /* Peek the internal button mapping */ 99 /* initalize button map */ 125 g_winMouseButtonMap = pDeviceInt->button->map; 148 int button; /* Button4 or Button5 */ local 196 /* Set the button to indicate up or down wheel delta */ 199 button = Button4; 203 button = Button5; 209 * button clicks for the Z axis. 219 /* Push the wheel button */ [all...] |
| /xsrc/external/mit/xinput/dist/src/ |
| test.c | 119 XDeviceButtonEvent *button = (XDeviceButtonEvent *) &Event; local 121 printf("button %s %d ", (Event.type == button_release_type) ? "release" : "press ", 122 button->button); 124 for(loop=0; loop<button->axes_count; loop++) { 125 printf("a[%d]=%d ", button->first_axis + loop, button->axis_data[loop]);
|
| /xsrc/external/mit/libXaw/dist/src/ |
| Dialog.c | 240 if (!XtIsSubclass(cnew, commandWidgetClass)) /* if not a button */ 446 Widget button; local 448 button = XtCreateManagedWidget(name, commandWidgetClass, dialog, NULL, 0); 451 XtAddCallback(button, XtNcallback, function, param);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| glutWindow.h | 41 void MouseCheck(); // check for button state changes 51 uint32 m_buttons; // the last mouse button state 61 GLUTmouseCB mouse; /* mouse (button,state,x,y) */ 83 int button, mouseState; // for mouse callback member in class:GlutWindow
|
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/imgui/ |
| imgui_impl_gtk3.cpp | 74 guint button = 0; local 75 if (gdk_event_get_button(event, &button) && button > 0 && button <= 5) 78 g_MousePressed[button - 1] = true;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/imgui/ |
| imgui_impl_gtk3.cpp | 74 guint button = 0; local 75 if (gdk_event_get_button(event, &button) && button > 0 && button <= 5) 78 g_MousePressed[button - 1] = true;
|
| /xsrc/external/mit/twm/dist/src/ |
| gram.y | 113 %token <num> LB RB LP RP MENUS MENU BUTTON DEFAULT_FUNCTION PLUS MINUS 133 %type <num> action button number signed_number full fullkey 181 | button string { root = GetRoot($2, NULLSTR, NULLSTR); 185 | button action { Scr->Mouse[$1][C_ROOT][0].func = $2; 202 | button full { GotButton($1, $2); } 405 | BUTTON string string { 407 | BUTTON string { 636 button : BUTTON number { $$ = $2; label 638 yyerror("bad button 0") [all...] |
| /xsrc/external/mit/xf86-input-ws/dist/src/ |
| ws.c | 652 DBG(4, ErrorF("Button %d up %x\n", event->value, 657 DBG(4, ErrorF("Button %d down %x\n", event->value, 723 DBG(4, ErrorF("Z -> button %d\n", 727 DBG(4, ErrorF("Z -> button %d\n", 738 DBG(4, ErrorF("W -> button %d\n", 742 DBG(4, ErrorF("W -> button %d\n", 766 /* button event */ 770 /* generate a button up event */ 800 int button, mask; local 802 for (button = 1; button < NBUTTONS; button++) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/ |
| mouseEmu3btn.c | 31 * 3 button emulation stuff 53 * Lets create a simple finite-state machine for 3 button emulation: 85 * 1: left button down 86 * 2: right button down 88 * 4: emulate3Timeout passed without a button change 89 * Note that button events are not deltas, they are the set of buttons being 102 int button; member in struct:button_event 137 * <button state> (<events>) -> <new emulation state> 139 * If the buttons are in <button state>, generate <events> then go to 577 int type, button, flag local 722 int button, flag; local [all...] |
| /xsrc/external/mit/xkill/dist/ |
| xkill.c | 59 static XID get_window_id ( Display *dpy, int screen, int button, const char *msg ); 83 " -button number specific button to be pressed to select window\n" 103 char *button_name = NULL; /* name of button for window select */ 104 int button; /* button number or negative for all */ local 109 button = SelectButtonFirst; 131 case 'b': /* -button number */ 133 usage ("-button requires an argument", EXIT_FAILURE); 190 button_name = XGetDefault (dpy, ProgramName, "Button"); 393 int button = (int) pointer_map[i]; local [all...] |
| /xsrc/external/mit/xclipboard/dist/ |
| xcutsel.c | 80 Widget button; member in struct:__anon3 204 XtGetValues( statep->button, args, TWO ); 207 XtSetValues( statep->button, args, TWO ); 263 Widget box, button; local 310 button = 312 XtAddCallback( button, XtNcallback, Quit, NULL ); 321 button = 323 XtAddCallback( button, XtNcallback, GetSelection, NULL ); 331 button = 333 XtAddCallback( button, XtNcallback, GetBuffer, (XtPointer)&state ) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/inputtest/ |
| xf86-input-inputtest-protocol.h | 114 int32_t button; member in struct:__anon10005 161 xf86ITEventButton button; member in union:__anon10010
|
| /xsrc/external/mit/editres/dist/ |
| widgets.c | 483 Widget rbox, pane, button, viewport, pane_child; 521 button = XtCreateManagedWidget("setFile", commandWidgetClass, 523 XtAddCallback(button, XtNcallback, SetFile, NULL); 525 button = XtCreateManagedWidget("save", commandWidgetClass, 527 XtAddCallback(button, XtNcallback, SaveResource,(XtPointer) res_box); 529 button = XtCreateManagedWidget("apply", commandWidgetClass, 531 XtAddCallback(button, XtNcallback, ApplyResource,(XtPointer) node); 533 button = XtCreateManagedWidget("saveAndApply", commandWidgetClass, 535 XtAddCallback(button, XtNcallback, SaveResource,(XtPointer) res_box); 536 XtAddCallback(button, XtNcallback, ApplyResource,(XtPointer) node) 473 Widget rbox, pane, button, viewport, pane_child; local [all...] |