Changeset 70078 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 12, 2017 11:22:43 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r70075 r70078 298 298 break; 299 299 } 300 case KVBoxEventType_OnCursorPositionChanged: 301 { 302 CCursorPositionChangedEvent es(pEvent); 303 emit sigCursorPositionChange(es.GetHasData(), (unsigned long)es.GetX(), (unsigned long)es.GetY()); 304 break; 305 } 300 306 case KVBoxEventType_OnKeyboardLedsChanged: 301 307 { … … 419 425 break; 420 426 } 421 case KVBoxEventType_OnCursorPositionChanged:422 {423 CCursorPositionChangedEvent es(pEvent);424 emit sigCursorPositionChange(es.GetHasData(), (unsigned long)es.GetX(), (unsigned long)es.GetY());425 break;426 }427 427 428 428 default: break; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r70075 r70078 87 87 /** Notifies about mouse capability change to @a fSupportsAbsolute, @a fSupportsRelative, @a fSupportsMultiTouch and @a fNeedsHostCursor. */ 88 88 void sigMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor); 89 /** Notifies about guest request to change the cursor position to @a uX * @a uY. 90 * @note If @a fData is NOT set this merely notifies that the guest supports this. */ 91 void sigCursorPositionChange(bool fData, unsigned long uX, unsigned long uY); 89 92 /** Notifies about keyboard LEDs change for @a fNumLock, @a fCapsLock and @a fScrollLock. */ 90 93 void sigKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock); … … 127 130 void sigProgressTaskComplete(QString strProgressId); 128 131 129 /** Notifies about guest requests to change the cursor position. If @a fData is not set this merely notifies that the guest supports this. This notification must be sent after every screen configuration change. */130 void sigCursorPositionChange(bool fData, unsigned long X, unsigned long Y);131 132 132 public: 133 133
Note:
See TracChangeset
for help on using the changeset viewer.