Changeset 17176 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 26, 2009 4:17:59 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxDockIconPreview.cpp
r17175 r17176 32 32 #endif 33 33 34 //#ifndef QT_MAC_USE_COCOA34 #ifndef QT_MAC_USE_COCOA 35 35 /* Import private function to capture the window content of any given window. */ 36 36 CG_EXTERN_C_BEGIN … … 41 41 CG_EXTERN void CGContextCopyWindowCaptureContentsToRect(CGContextRef c, CGRect dstRect, CGSConnectionID connection, CGSWindowID window, int zero); 42 42 CG_EXTERN_C_END 43 //#endif /* !QT_MAC_USE_COCOA */43 #endif /* !QT_MAC_USE_COCOA */ 44 44 45 45 VBoxDockIconPreview::VBoxDockIconPreview (VBoxConsoleWnd *aMainWnd, const QPixmap& aOverlayImage) … … 208 208 } 209 209 210 //#ifndef QT_MAC_USE_COCOA211 210 void VBoxDockIconPreview::updateDockPreview (CGImageRef aVMImage) 212 211 { 212 #ifndef QT_MAC_USE_COCOA 213 213 Assert (aVMImage); 214 214 … … 251 251 CGContextDrawImage (context, flipRect (iconRect), aVMImage); 252 252 253 #ifndef QT_MAC_USE_COCOA254 253 /* Process the content of any external OpenGL window. */ 255 254 WindowRef w = darwinToNativeWindow (mMainWnd); … … 294 293 } 295 294 } 296 #endif /* QT_MAC_USE_COCOA */297 295 298 296 /* Draw the glossy overlay */ … … 307 305 308 306 CGColorSpaceRelease (cs); 307 #endif /* QT_MAC_USE_COCOA */ 309 308 } 310 309 //#endif /* !QT_MAC_USE_COCOA */
Note:
See TracChangeset
for help on using the changeset viewer.