Lines Matching defs:buttons
201 int32 buttons = 0;
203 Looper()->CurrentMessage()->FindInt32("buttons", &buttons);
207 fButtons = buttons;
211 if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0
212 || ((buttons & B_PRIMARY_MOUSE_BUTTON) != 0
332 } else if ((buttons & B_TERTIARY_MOUSE_BUTTON) != 0
364 fButtons = buttons;
373 int32 buttons = 0;
375 Looper()->CurrentMessage()->FindInt32("buttons", &buttons);
382 if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0
383 || ((buttons & B_PRIMARY_MOUSE_BUTTON) != 0
386 } else if ((buttons & B_TERTIARY_MOUSE_BUTTON) != 0
391 fButtons = buttons;
394 fButtons = buttons;
441 int32 buttons;
443 || Window()->CurrentMessage()->FindInt32("buttons", &buttons) != B_OK
444 || buttons == 0) {
575 int32 buttons;
577 && message->FindInt32("buttons", &buttons) == B_OK
578 && (buttons & B_PRIMARY_MOUSE_BUTTON) != 0