Changeset 53892 in vbox
- Timestamp:
- Jan 21, 2015 11:43:32 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97741
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r53624 r53892 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 to 331 * apply machine-window scale-factor(s) if necessary: */ 332 foreach(UIMachineWindow *pMachineWindow, machineWindows()) 333 pMachineWindow->applyMachineWindowScaleFactor(); 326 334 } 327 335 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r53030 r53892 122 122 virtual void adjustMachineWindowsGeometry(); 123 123 124 /** Applies machine-window(s) scale-factor. */ 125 void applyMachineWindowsScaleFactor(); 126 124 127 /* Wrapper to open Machine settings / Network page: */ 125 128 void openNetworkSettingsDialog() { sltOpenNetworkSettingsDialog(); } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r53864 r53892 169 169 } 170 170 171 void UIMachineView::a djustAccordingScaleFactor()171 void UIMachineView::applyMachineViewScaleFactor() 172 172 { 173 173 /* Take the scale-factor into account: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
r53864 r53892 91 91 virtual void adjustGuestScreenSize() {} 92 92 93 /** A djusts machine-view accordingscale-factor. */94 void a djustAccordingScaleFactor();93 /** Applies machine-view scale-factor. */ 94 void applyMachineViewScaleFactor(); 95 95 96 96 /* Framebuffer aspect ratio: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r53864 r53892 228 228 /* We need to adjust guest-screen size if necessary: */ 229 229 machineView()->adjustGuestScreenSize(); 230 231 /* And to adjust machine-view size according scale-factors: */ 232 machineView()->adjustAccordingScaleFactor(); 230 } 231 232 void UIMachineWindow::applyMachineWindowScaleFactor() 233 { 234 /* We need to apply machine-view scale-factor if necessary: */ 235 machineView()->applyMachineViewScaleFactor(); 233 236 } 234 237 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r53068 r53892 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(); 85 88 86 89 #ifdef VBOX_WITH_MASKED_SEAMLESS -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r53320 r53892 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(); 283 286 284 287 /* Check for progress failure: */
Note:
See TracChangeset
for help on using the changeset viewer.