Changeset 54588 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 2, 2015 6:25:30 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54587 r54588 56 56 57 57 UIFrameBuffer::UIFrameBuffer() 58 : m_iWidth(0), m_iHeight(0) 58 : m_uScreenId(0) 59 , m_iWidth(0), m_iHeight(0) 59 60 , m_fPendingSourceBitmap(false) 60 61 , m_pMachineView(NULL) … … 78 79 /* Assign mahine-view: */ 79 80 m_pMachineView = pMachineView; 81 82 /* Assign index: */ 83 m_uScreenId = m_pMachineView->screenId(); 84 80 85 /* Cache window ID: */ 81 86 m_iWinId = (m_pMachineView && m_pMachineView->viewport()) ? (LONG64)m_pMachineView->viewport()->winId() : 0; … … 733 738 LONG yOrigin = 0; 734 739 KGuestMonitorStatus monitorStatus = KGuestMonitorStatus_Enabled; 735 display().GetScreenResolution(m_pMachineView->screenId(), 736 ulWidth, ulHeight, ulGuestBitsPerPixel, xOrigin, yOrigin, monitorStatus); 740 display().GetScreenResolution(m_uScreenId, ulWidth, ulHeight, ulGuestBitsPerPixel, xOrigin, yOrigin, monitorStatus); 737 741 738 742 /* Remind user if necessary, ignore text and VGA modes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r54587 r54588 269 269 HiDPIOptimizationType hiDPIOptimizationType, 270 270 double dBackingScaleFactor); 271 272 /** Holds the screen-id. */ 273 ulong m_uScreenId; 271 274 272 275 /** Holds the QImage buffer. */
Note:
See TracChangeset
for help on using the changeset viewer.