Changeset 15467 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- Dec 14, 2008 3:44:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h
r15185 r15467 74 74 void refreshView(); 75 75 76 bool isWindowMaximized() const 77 { 78 #ifdef Q_WS_MAC 79 /* On Mac OS X we didn't really jump to the fullscreen mode but 80 * maximize the window. This situation has to be considered when 81 * checking for maximized or fullscreen mode. */ 82 return !(isTrueSeamless()) && QMainWindow::isMaximized(); 83 #else /* Q_WS_MAC */ 84 return QMainWindow::isMaximized(); 85 #endif /* Q_WS_MAC */ 86 } 87 bool isWindowFullScreen() const 88 { 89 #ifdef Q_WS_MAC 90 /* On Mac OS X we didn't really jump to the fullscreen mode but 91 * maximize the window. This situation has to be considered when 92 * checking for maximized or fullscreen mode. */ 93 return isTrueFullscreen() || isTrueSeamless(); 94 #else /* Q_WS_MAC */ 95 return QMainWindow::isFullscreen(); 96 #endif /* Q_WS_MAC */ 97 } 98 76 99 bool isTrueFullscreen() const { return mIsFullscreen; } 77 100
Note:
See TracChangeset
for help on using the changeset viewer.