Changeset 12007 in vbox
- Timestamp:
- Sep 2, 2008 7:12:42 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35918
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h
r11999 r12007 83 83 void setMask (const QRegion &aRegion); 84 84 85 void clearMask(); 86 85 87 #ifdef Q_WS_MAC 86 88 CGImageRef dockImageState () const; -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
r12006 r12007 1176 1176 !mMainWnd->isTrueSeamless()) 1177 1177 mLastVisibleRegion = QRegion(); 1178 1179 if (!mMainWnd->isTrueSeamless())1180 mMainWnd->clearMask();1181 1178 return true; 1182 1179 } -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r12006 r12007 2211 2211 2212 2212 /* Adjust colors and appearance. */ 2213 clearMask(); 2213 2214 centralWidget()->setPalette (mErasePalette); 2214 centralWidget()->setAutoFillBackground ( true);2215 centralWidget()->setAutoFillBackground (false); 2215 2216 console->setFrameStyle (console_style); 2216 2217 console->setMaximumSize (console->sizeHint()); … … 2297 2298 hide(); 2298 2299 #endif 2299 clearMask();2300 2300 return true; 2301 2301 } … … 2842 2842 #else 2843 2843 QMainWindow::setMask (region); 2844 #endif 2845 } 2846 2847 void VBoxConsoleWnd::clearMask() 2848 { 2849 #ifdef Q_WS_WIN 2850 SetWindowRgn (winId(), 0, TRUE); 2851 #else 2852 QMainWindow::clearMask(); 2844 2853 #endif 2845 2854 }
Note:
See TracChangeset
for help on using the changeset viewer.