Changeset 26796 in vbox
- Timestamp:
- Feb 25, 2010 1:40:52 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r26782 r26796 761 761 { 762 762 case VBoxDefs::QGLMode: 763 pViewport = new VBoxGLWidget ( this, this, NULL);763 pViewport = new VBoxGLWidget (mConsole, this, NULL); 764 764 break; 765 765 default: -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r26793 r26796 1917 1917 }; 1918 1918 1919 VBoxGLWidget::VBoxGLWidget ( VBoxConsoleView *aView, QWidget *aParent, VBoxVHWASettings *aSettings)1919 VBoxGLWidget::VBoxGLWidget (CConsole& console, QWidget *aParent, VBoxVHWASettings *aSettings) 1920 1920 : QGLWidget (new VBoxGLContext(VBoxGLWidget::vboxGLFormat()), aParent), 1921 1921 mSurfHandleTable(128), /* 128 should be enough */ … … 1926 1926 mRepaintNeeded(false), 1927 1927 // mbVGASurfCreated(false), 1928 m View(aView),1928 m_console(console), 1929 1929 mConstructingList(NULL), 1930 1930 mcRemaining2Contruct(0), … … 2120 2120 vboxDoVHWACmdExec(cmd); 2121 2121 2122 CDisplay display = m View->console().GetDisplay();2122 CDisplay display = m_console.GetDisplay(); 2123 2123 Assert (!display.isNull()); 2124 2124 … … 4142 4142 return; 4143 4143 4144 mpOverlayWidget = new VBoxGLWidget (mView , mView->viewport(), &mSettings);4144 mpOverlayWidget = new VBoxGLWidget (mView->console(), mView->viewport(), &mSettings); 4145 4145 4146 4146 VBoxGLContext *pc = (VBoxGLContext*)mpOverlayWidget->context(); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h
r26793 r26796 1338 1338 { 1339 1339 public: 1340 VBoxGLWidget ( class VBoxConsoleView *aView, QWidget *aParent, VBoxVHWASettings *aSettings);1340 VBoxGLWidget (CConsole &console, QWidget *aParent, VBoxVHWASettings *aSettings); 1341 1341 ~VBoxGLWidget(); 1342 1342 … … 1535 1535 QRect mViewport; 1536 1536 1537 class VBoxConsoleView *mView;1537 CConsole &m_console; 1538 1538 1539 1539 VBoxVHWASurfList *mConstructingList;
Note:
See TracChangeset
for help on using the changeset viewer.