Searched refs:MouseButton (Results 1 – 6 of 6) sorted by relevance
355 event.MouseButton.Button = MOUSEBUTTON_LEFT; in WndProc()356 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()357 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()366 event.MouseButton.Button = MOUSEBUTTON_LEFT; in WndProc()367 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()368 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()378 event.MouseButton.Button = MOUSEBUTTON_RIGHT; in WndProc()379 event.MouseButton.X = static_cast<short>(LOWORD(lParam)); in WndProc()380 event.MouseButton.Y = static_cast<short>(HIWORD(lParam)); in WndProc()390 event.MouseButton.Button = MOUSEBUTTON_RIGHT; in WndProc()[all …]
25 static const char *MouseButtonName(MouseButton button) in MouseButtonName()327 std::cout << "Event: Mouse Button Pressed " << MouseButtonName(event.MouseButton.Button) in PrintEvent()328 << " at (" << event.MouseButton.X << ", " << event.MouseButton.Y << ")" in PrintEvent()333 << MouseButtonName(event.MouseButton.Button) << " at (" << event.MouseButton.X in PrintEvent()334 << ", " << event.MouseButton.Y << ")" << std::endl; in PrintEvent()
45 MouseButton Button;82 MouseButtonEvent MouseButton; // Mouse button event parameters member
10 enum MouseButton enum
504 MouseButton button = MOUSEBUTTON_UNKNOWN; in processEvent()551 event.MouseButton.Button = button; in processEvent()552 event.MouseButton.X = xEvent.xbutton.x; in processEvent()553 event.MouseButton.Y = xEvent.xbutton.y; in processEvent()562 MouseButton button = MOUSEBUTTON_UNKNOWN; in processEvent()589 event.MouseButton.Button = button; in processEvent()590 event.MouseButton.X = xEvent.xbutton.x; in processEvent()591 event.MouseButton.Y = xEvent.xbutton.y; in processEvent()
395 static MouseButton TranslateMouseButton(NSInteger button)477 button:(MouseButton)button481 event.MouseButton.Button = button; argument482 event.MouseButton.X = (int)[nsEvent locationInWindow].x;483 event.MouseButton.Y = (int)[self translateMouseY:[nsEvent locationInWindow].y];