Changeset 35215 in vbox
- Timestamp:
- Dec 17, 2010 10:12:26 AM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp
r35138 r35215 440 440 } 441 441 442 #ifdef VBOX_WITH_VIDEOHWACCEL 443 void UIFrameBufferQuartz2D::setView(UIMachineView *pView) 444 { 445 clean(); 446 m_pMachineLogic = NULL; 447 m_pDataAddress = NULL; 448 449 if (pView) 450 { 451 m_pMachineLogic = pView->machineLogic(); 452 453 UIResizeEvent event(FramebufferPixelFormat_Opaque, 454 NULL, 0, 0, 640, 480); 455 UIFrameBufferQuartz2D::resizeEvent (&event); 456 } 457 458 UIFrameBuffer::setView(pView); 459 } 460 #endif 461 442 462 #endif /* defined (VBOX_GUI_USE_QUARTZ2D) */ 443 463 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.h
r30108 r35215 52 52 void resizeEvent(UIResizeEvent *pEvent); 53 53 54 #ifdef VBOX_WITH_VIDEOHWACCEL 55 void setView(UIMachineView *pView); 56 #endif 57 54 58 private: 55 59
Note:
See TracChangeset
for help on using the changeset viewer.