Changeset 26998 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 3, 2010 4:33:06 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58306
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r26967 r26998 47 47 #ifdef Q_WS_PM 48 48 # include "QIHotKeyEdit.h" 49 #endif 49 #endif /* defined (Q_WS_PM) */ 50 50 51 51 #ifdef Q_WS_WIN … … 55 55 #undef HIBYTE 56 56 #include <windows.h> 57 #endif 57 static UIMachineView *gView = 0; 58 static HHOOK gKbdHook = 0; 59 #endif /* defined (Q_WS_WIN) */ 58 60 59 61 #ifdef Q_WS_X11 … … 74 76 # endif 75 77 # include "XKeyboard.h" 76 #endif 77 78 #if defined (Q_WS_MAC)78 #endif /* defined (Q_WS_X11) */ 79 80 #ifdef Q_WS_MAC 79 81 # include "DockIconPreview.h" 80 82 # include "DarwinKeyboard.h" … … 645 647 UnhookWindowsHookEx(gKbdHook); 646 648 gView = 0; 647 if (m_alphaCursor)648 DestroyIcon(m_alphaCursor);649 649 #endif 650 650 … … 1784 1784 #if defined(Q_WS_WIN32) 1785 1785 1786 static HHOOK gKbdHook = NULL;1787 static UIMachineView *gView = 0;1788 1786 LRESULT CALLBACK UIMachineView::lowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) 1789 1787 { … … 2296 2294 #endif 2297 2295 2298 void UIMachineView::fixModifierState( int*piCodes, uint *puCount)2296 void UIMachineView::fixModifierState(LONG *piCodes, uint *puCount) 2299 2297 { 2300 2298 /* Synchronize the views of the host and the guest to the modifier keys. -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
r26967 r26998 207 207 208 208 /* Private helpers: */ 209 void fixModifierState( int*piCodes, uint *puCount);209 void fixModifierState(LONG *piCodes, uint *puCount); 210 210 QPoint viewportToContents(const QPoint &vp) const; 211 211 void scrollBy(int dx, int dy); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r26997 r26998 571 571 /* Unregister console callback: */ 572 572 session().GetConsole().UnregisterCallback(m_callback); 573 574 #if defined(Q_WS_WIN) 575 /* Destroy alpha cursor: */ 576 if (m_alphaCursor) 577 DestroyIcon(m_alphaCursor); 578 #endif 573 579 } 574 580
Note:
See TracChangeset
for help on using the changeset viewer.