Changeset 21226 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- Jul 5, 2009 5:37:04 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49546
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.h
r19817 r21226 42 42 void handleDisplayUpdate (int x, int y, int cx, int cy); 43 43 44 int VideoAccelEnable (bool fEnable, struct _VBVAMEMORY *pVbvaMemory);44 int VideoAccelEnable (bool fEnable, struct VBVAMEMORY *pVbvaMemory); 45 45 void VideoAccelFlush (void); 46 46 bool VideoAccelAllowed (void); … … 88 88 ULONG mSupportedAccelOps; 89 89 90 struct _VBVAMEMORY *mpVbvaMemory;90 struct VBVAMEMORY *mpVbvaMemory; 91 91 bool mfVideoAccelEnabled; 92 92 93 struct _VBVAMEMORY *mpPendingVbvaMemory;93 struct VBVAMEMORY *mpPendingVbvaMemory; 94 94 bool mfPendingVideoAccelEnable; 95 95 bool mfMachineRunning; … … 103 103 void handleResizeCompletedEMT (void); 104 104 volatile uint32_t mu32ResizeStatus; 105 105 106 106 enum { 107 107 ResizeStatus_Void, -
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
r21219 r21226 72 72 int Mouse::setHostCursor(bool enable) 73 73 { 74 uHostCaps = enable ? 0 : VMMDEV_MOUSE HOSTCANNOTHWPOINTER;74 uHostCaps = enable ? 0 : VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER; 75 75 gVMMDev->SetMouseCapabilities(uHostCaps); 76 76 return S_OK; … … 96 96 * device isn't aware of that yet, tell it. 97 97 */ 98 if (mouseCaps & VMMDEV_MOUSE HOSTWANTSABS)98 if (mouseCaps & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE) 99 99 { 100 100 gVMMDev->SetMouseCapabilities(uHostCaps); … … 136 136 * device isn't aware of that yet, tell it. 137 137 */ 138 if (!(mouseCaps & VMMDEV_MOUSE HOSTWANTSABS))139 { 140 gVMMDev->SetMouseCapabilities(uHostCaps | VMMDEV_MOUSE HOSTWANTSABS);138 if (!(mouseCaps & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE)) 139 { 140 gVMMDev->SetMouseCapabilities(uHostCaps | VMMDEV_MOUSE_HOST_CAN_ABSOLUTE); 141 141 } 142 142 … … 156 156 157 157 // check if the guest actually wants absolute mouse positions 158 if (mouseCaps & VMMDEV_MOUSE GUESTWANTSABS)158 if (mouseCaps & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE) 159 159 { 160 160 uint32_t fButtons = 0; -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r21219 r21226 173 173 if (gMouse) 174 174 { 175 gMouse->setAbsoluteCoordinates(!!(newCapabilities & VMMDEV_MOUSE GUESTWANTSABS));176 gMouse->setNeedsHostCursor(!!(newCapabilities & VMMDEV_MOUSE GUESTNEEDSHOSTCUR));175 gMouse->setAbsoluteCoordinates(!!(newCapabilities & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)); 176 gMouse->setNeedsHostCursor(!!(newCapabilities & VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR)); 177 177 } 178 178 if (gConsole)
Note:
See TracChangeset
for help on using the changeset viewer.