Changeset 47724 in vbox for trunk/src/VBox
- Timestamp:
- Aug 14, 2013 1:12:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r47672 r47724 912 912 913 913 /* Pass all multi-touch events into guest: */ 914 int i = 0;914 int iTouchPointIndex = 0; 915 915 foreach (const QTouchEvent::TouchPoint &touchPoint, pTouchEvent->touchPoints()) 916 916 { … … 932 932 933 933 /* Pass absolute touch-point data: */ 934 LogRelFlow(("UIMouseHandler::multiTouchEvent: Origin: %dx%d, State: %d\n", 935 currentTouchPoint.x(), currentTouchPoint.y(), iTouchPointState)); 936 937 contacts[i++] = RT_MAKE_U64_FROM_U16((uint16_t)currentTouchPoint.x() + 1, 938 (uint16_t)currentTouchPoint.y() + 1, 939 RT_MAKE_U16(touchPoint.id(), iTouchPointState), 940 0); 934 LogRelFlow(("UIMouseHandler::multiTouchEvent: Origin: %dx%d, Id: %d, State: %d\n", 935 currentTouchPoint.x(), currentTouchPoint.y(), touchPoint.id(), iTouchPointState)); 936 937 contacts[iTouchPointIndex] = RT_MAKE_U64_FROM_U16((uint16_t)currentTouchPoint.x() + 1, 938 (uint16_t)currentTouchPoint.y() + 1, 939 RT_MAKE_U16(touchPoint.id(), iTouchPointState), 940 0); 941 942 LogRelFlow(("UIMouseHandler::multiTouchEvent: %RX64\n", contacts[iTouchPointIndex])); 943 944 ++iTouchPointIndex; 941 945 } 942 946
Note:
See TracChangeset
for help on using the changeset viewer.