Changeset 53961 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 26, 2015 12:50:51 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97855
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r53960 r53961 324 324 foreach(UIMachineWindow *pMachineWindow, machineWindows()) 325 325 pMachineWindow->adjustMachineViewSize(); 326 }327 328 void UIMachineLogic::applyMachineWindowsScaleFactor()329 {330 /* By default, the only thing we need is to331 * apply machine-window scale-factor(s) if necessary: */332 foreach(UIMachineWindow *pMachineWindow, machineWindows())333 pMachineWindow->applyMachineWindowScaleFactor();334 326 } 335 327 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r53892 r53961 122 122 virtual void adjustMachineWindowsGeometry(); 123 123 124 /** Applies machine-window(s) scale-factor. */125 void applyMachineWindowsScaleFactor();126 127 124 /* Wrapper to open Machine settings / Network page: */ 128 125 void openNetworkSettingsDialog() { sltOpenNetworkSettingsDialog(); } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r53960 r53961 432 432 * the viewport through IFramebuffer::NotifyUpdate): */ 433 433 display().InvalidateAndUpdate(); 434 /* Reapply machine-view scale-factor if necessary: */ 435 applyMachineViewScaleFactor(); 434 436 } 435 437 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r53892 r53961 230 230 } 231 231 232 void UIMachineWindow::applyMachineWindowScaleFactor()233 {234 /* We need to apply machine-view scale-factor if necessary: */235 machineView()->applyMachineViewScaleFactor();236 }237 238 232 #ifdef VBOX_WITH_MASKED_SEAMLESS 239 233 void UIMachineWindow::setMask(const QRegion ®ion) -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r53892 r53961 83 83 /** Adjusts machine-view size to correspond current machine-window size. */ 84 84 virtual void adjustMachineViewSize(); 85 86 /** Applies machine-window scale-factor. */87 void applyMachineWindowScaleFactor();88 85 89 86 #ifdef VBOX_WITH_MASKED_SEAMLESS -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r53892 r53961 281 281 else 282 282 msgCenter().showModalProgressDialog(progress, machineName(), ":/progress_start_90px.png"); 283 284 /* Machine-window(s) scale-factor should be applied: */285 machineLogic()->applyMachineWindowsScaleFactor();286 283 287 284 /* Check for progress failure: */
Note:
See TracChangeset
for help on using the changeset viewer.