Changeset 51404 in vbox
- Timestamp:
- May 26, 2014 5:10:44 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93933
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r51304 r51404 80 80 VirtualBox_DEFS = 81 81 VirtualBox_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT 82 VirtualBox_DEFS.darwin = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_QUARTZ2D VBOX_WITH_TRANSLUCENT_SEAMLESS 83 VirtualBox_DEFS.freebsd = VBOX_GUI_USE_QIMAGE 84 VirtualBox_DEFS.linux = VBOX_GUI_USE_QIMAGE 85 VirtualBox_DEFS.netbsd = VBOX_GUI_USE_QIMAGE 86 VirtualBox_DEFS.openbsd = VBOX_GUI_USE_QIMAGE 87 VirtualBox_DEFS.solaris = VBOX_GUI_USE_QIMAGE 88 VirtualBox_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL 82 VirtualBox_DEFS.darwin = VBOX_GUI_USE_QUARTZ2D VBOX_WITH_TRANSLUCENT_SEAMLESS 83 VirtualBox_DEFS.win = UNICODE QT_DLL 89 84 ifdef VBOX_WITH_ICHAT_THEATER 90 85 VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER … … 979 974 '-DMAC_OS_X_VERSION_MAX_ALLOWED=1050' \ 980 975 '-DVBOX_GUI_USE_QUARTZ2D' \ 981 '-DVBOX_GUI_USE_QIMAGE' \982 976 '-o' $@ $< 983 977 endif -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r51195 r51404 224 224 static void showHelp() 225 225 { 226 QString mode = "", dflt = "";227 #ifdef VBOX_GUI_USE_QIMAGE228 if (!mode.isEmpty())229 mode += "|";230 mode += "image";231 #endif /* VBOX_GUI_USE_QIMAGE */232 #ifdef VBOX_GUI_USE_QUARTZ2D233 if (!mode.isEmpty())234 mode += "|";235 mode += "quartz2d";236 #endif /* VBOX_GUI_USE_QUARTZ2D */237 #if defined(Q_WS_MAC) && defined(VBOX_GUI_USE_QUARTZ2D)238 dflt = "quartz2d";239 #elif defined(VBOX_GUI_USE_QIMAGE)240 dflt = "image";241 #else242 # error "Cannot determine the default render mode!"243 #endif244 245 226 RTPrintf(VBOX_PRODUCT " Manager %s\n" 246 227 "(C) 2005-" VBOX_C_YEAR " " VBOX_VENDOR "\n" … … 251 232 " --seamless switch to seamless mode during startup\n" 252 233 " --fullscreen switch to fullscreen mode during startup\n" 253 " --rmode %-18s select different render mode (default is %s)\n"254 234 " --no-startvm-errormsgbox do not show a message box for VM start errors\n" 255 235 " --restore-current restore the current snapshot before starting\n" … … 288 268 # endif 289 269 "\n", 290 RTBldCfgVersion(), 291 mode.toLatin1().constData(), 292 dflt.toLatin1().constData()); 270 RTBldCfgVersion()); 293 271 /** @todo Show this as a dialog on windows. */ 294 272 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp
r51371 r51404 17 17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 18 18 */ 19 20 #ifdef VBOX_GUI_USE_QIMAGE21 19 22 20 #ifdef VBOX_WITH_PRECOMPILED_HEADERS … … 384 382 } 385 383 386 #endif /* VBOX_GUI_USE_QIMAGE */387 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.h
r51149 r51404 16 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 17 */ 18 19 #ifdef VBOX_GUI_USE_QIMAGE20 18 21 19 #ifndef ___UIFrameBufferQImage_h___ … … 71 69 72 70 #endif /* !___UIFrameBufferQImage_h___ */ 73 74 #endif /* VBOX_GUI_USE_QIMAGE */75 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r51401 r51404 414 414 switch (rm) 415 415 { 416 #ifdef VBOX_GUI_USE_QIMAGE417 416 case RenderMode_QImage: 418 417 { … … 447 446 break; 448 447 } 449 #endif /* VBOX_GUI_USE_QIMAGE */450 448 451 449 #ifdef VBOX_GUI_USE_QUARTZ2D
Note:
See TracChangeset
for help on using the changeset viewer.