Changeset 39107 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 25, 2011 10:09:41 AM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r39099 r39107 906 906 } 907 907 908 UIVisualStateType UIMachineView::visualStateType() 909 { 910 return machineLogic()->visualStateType(); 911 } 912 908 913 bool UIMachineView::isFullscreenOrSeamless() 909 914 { 910 UIVisualStateType type = machineLogic()->visualStateType(); 911 return type == UIVisualStateType_Fullscreen 912 || type == UIVisualStateType_Seamless; 915 return visualStateType() == UIVisualStateType_Fullscreen 916 || visualStateType() == UIVisualStateType_Seamless; 913 917 } 914 918 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
r39094 r39107 174 174 #endif /* Q_WS_MAC */ 175 175 bool guestResizeEvent(QEvent *pEvent, bool fFullscreen); 176 /** What view mode (normal, fullscreen etc.) are we in? */ 177 UIVisualStateType visualStateType(); 176 178 /** Is this a fullscreen-type view? */ 177 179 bool isFullscreenOrSeamless(); 180 /** Return a string consisting of @a base with a suffix for the active 181 * virtual monitor. Used for storing monitor-specific extra data. */ 178 182 QString makeExtraDataKeyPerMonitor(QString base) const; 179 183
Note:
See TracChangeset
for help on using the changeset viewer.