Changeset 50463 in vbox
- Timestamp:
- Feb 14, 2014 10:29:32 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r50400 r50463 5370 5370 VBOX_LIB_IPRT_GUEST_R0_NT4 = $(VBOX_LIB_IPRT_GUEST_R0) 5371 5371 endif 5372 VBOX_LIB_VBGL_R3 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib$(VBOX_SUFF_LIB) 5372 VBOX_LIB_VBGL_R3 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib$(VBOX_SUFF_LIB) \ 5373 $(if $(VBOX_WITH_DRAG_AND_DROP),$(VBOX_PATH_ADDITIONS_LIB)/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)) 5373 5374 VBOX_LIB_VBGL_R3_XFREE86 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3LibXFree86$(VBOX_SUFF_LIB) 5374 5375 VBOX_LIB_VBGL_R3_SHARED = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3LibShared$(VBOX_SUFF_LIB) … … 5381 5382 VBOX_LIB_VBGL_R3_SHARED_X86 = $(VBOX_LIB_VBGL_R3_SHARED) 5382 5383 else 5383 VBOX_LIB_IPRT_GUEST_R3_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3-x86$(VBOX_SUFF_LIB) 5384 VBOX_LIB_IPRT_GUEST_R3_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3-x86$(VBOX_SUFF_LIB) \ 5385 $(if $(VBOX_WITH_DRAG_AND_DROP),$(VBOX_PATH_ADDITIONS_LIB)//VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)) 5384 5386 VBOX_LIB_IPRT_GUEST_R3_SHARED_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3Shared-x86$(VBOX_SUFF_LIB) 5385 5387 VBOX_LIB_VBGL_R3_X86 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib-x86$(VBOX_SUFF_LIB) -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r50460 r50463 781 781 VirtualBox_SOURCES += \ 782 782 src/runtime/UIDnDHandler.cpp 783 VirtualBox_QT_MOCSRCS += \784 src/runtime/UIDnDHandler.cpp785 783 ifdef VBOX_WITH_DRAG_AND_DROP_GH 786 784 VirtualBox_SOURCES += \ -
trunk/src/VBox/HostServices/DragAndDrop/dndmanager.cpp
r50460 r50463 499 499 500 500 unsigned uPercentage = (unsigned)((uint64_t)pSelf->m_cbTransfered * 100 / pSelf->m_cbTotal); 501 rc = pSelf->m_pfnProgressCallback(RT_ CLAMP(uPercentage, 0, 100),501 rc = pSelf->m_pfnProgressCallback(RT_MIN(uPercentage, 100), 502 502 DragAndDropSvc::DND_PROGRESS_RUNNING, 503 503 VINF_SUCCESS /* rc */, pSelf->m_pvProgressUser); -
trunk/src/VBox/HostServices/DragAndDrop/service.cpp
r50460 r50463 470 470 DragAndDropSvc::VBOXDNDCBHGEVTPROGRESSDATA data; 471 471 data.hdr.u32Magic = DragAndDropSvc::CB_MAGIC_DND_HG_EVT_PROGRESS; 472 data.uPercentage = RT_ CLAMP(uPercentage, 0, 100);472 data.uPercentage = RT_MIN(uPercentage, 100); 473 473 data.uState = uState; 474 474 data.rc = rc;
Note:
See TracChangeset
for help on using the changeset viewer.