Lines Matching defs:buttons
114 int32 buttons = message->FindInt32("buttons");
115 if ((buttons & fMouseButton) != 0)
225 int32 buttons = message->FindInt32("buttons");
226 if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0) {
526 int32 buttons = message->FindInt32("buttons");
527 if ((buttons & B_PRIMARY_MOUSE_BUTTON) != 0)
648 int32 buttons = message->FindInt32("buttons");
649 if ((buttons & B_SECONDARY_MOUSE_BUTTON) == 0) {
742 int32 buttons = message->FindInt32("buttons");
751 buttons = B_SECONDARY_MOUSE_BUTTON;
752 message->ReplaceInt32("buttons", buttons);
757 // TODO: 2 button mouse, pressing both buttons simultaneously
805 if ((buttons & B_PRIMARY_MOUSE_BUTTON) != 0) {
858 } else if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0) {
896 // Ignore clicks on decorator buttons if the
991 int32 buttons;
992 fDesktop->GetLastMouseState(&where, &buttons);