Changeset 70075 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 12, 2017 9:54:21 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119623
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r69500 r70075 60 60 # include "CProgressPercentageChangedEvent.h" 61 61 # include "CProgressTaskCompletedEvent.h" 62 # include "CCursorPositionChangedEvent.h" 62 63 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 63 64 … … 418 419 break; 419 420 } 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 } 420 427 421 428 default: break; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r69500 r70075 127 127 void sigProgressTaskComplete(QString strProgressId); 128 128 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 129 132 public: 130 133 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.cpp
r69500 r70075 197 197 << KVBoxEventType_OnCanShowWindow 198 198 << KVBoxEventType_OnShowWindow 199 << KVBoxEventType_OnAudioAdapterChanged; 199 << KVBoxEventType_OnAudioAdapterChanged 200 << KVBoxEventType_OnCursorPositionChanged; 200 201 201 202 /* Register event listener for console event source: */
Note:
See TracChangeset
for help on using the changeset viewer.