Changeset 52922 in vbox for trunk/src/VBox
- Timestamp:
- Oct 2, 2014 6:50:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r51677 r52922 2393 2393 2394 2394 HandleGuestCapsChanged(); 2395 2396 ComPtr<IMousePointerShape> mps; 2397 gpMouse->COMGETTER(PointerShape)(mps.asOutParam()); 2398 if (!mps.isNull()) 2399 { 2400 BOOL visible, alpha; 2401 ULONG hotX, hotY, width, height; 2402 com::SafeArray <BYTE> shape; 2403 2404 mps->COMGETTER(Visible)(&visible); 2405 mps->COMGETTER(Alpha)(&alpha); 2406 mps->COMGETTER(HotX)(&hotX); 2407 mps->COMGETTER(HotY)(&hotY); 2408 mps->COMGETTER(Width)(&width); 2409 mps->COMGETTER(Height)(&height); 2410 mps->COMGETTER(Shape)(ComSafeArrayAsOutParam(shape)); 2411 2412 if (shape.size() > 0) 2413 { 2414 PointerShapeChangeData data(visible, alpha, hotX, hotY, width, height, 2415 ComSafeArrayAsInParam(shape)); 2416 SetPointerShape(&data); 2417 } 2418 } 2395 2419 } 2396 2420
Note:
See TracChangeset
for help on using the changeset viewer.