Changeset 54103 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 6, 2015 6:22:59 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98074
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54100 r54103 56 56 57 57 UIFrameBuffer::UIFrameBuffer() 58 : m_visualState(UIVisualStateType_Invalid) 59 , m_iWidth(0), m_iHeight(0) 58 : m_iWidth(0), m_iHeight(0) 60 59 , m_pMachineView(NULL) 61 60 , m_iWinId(0) … … 76 75 LogRel2(("UIFrameBuffer::init %p\n", this)); 77 76 78 /* Fetch visual-state: */79 m_visualState = pMachineView->visualStateType();80 81 77 /* Assign mahine-view: */ 82 78 m_pMachineView = pMachineView; … … 150 146 m_fUnused = fUnused; 151 147 unlock(); 148 } 149 150 UIVisualStateType UIFrameBuffer::visualState() const 151 { 152 return m_pMachineView ? m_pMachineView->visualStateType() : UIVisualStateType_Invalid; 152 153 } 153 154 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r54100 r54103 77 77 void setMarkAsUnused(bool fUnused); 78 78 79 /** Returns the visual-state this frame-buffer created for. */80 UIVisualStateType visualState() const { return m_visualState; }79 /** Returns the visual-state this frame-buffer is used for. */ 80 UIVisualStateType visualState() const; 81 81 82 82 /** Returns whether frame-buffer is <b>auto-enabled</b>. … … 264 264 HiDPIOptimizationType hiDPIOptimizationType, 265 265 double dBackingScaleFactor); 266 267 /** Holds the visual-state this frame-buffer created for. */268 UIVisualStateType m_visualState;269 266 270 267 /** Holds the QImage buffer. */
Note:
See TracChangeset
for help on using the changeset viewer.