VirtualBox

Ignore:
Timestamp:
Feb 26, 2009 4:17:59 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43449
Message:

FE/Qt4-OSX: BeginCGContextForApplicationDockTile is not available on 64bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxDockIconPreview.cpp

    r17175 r17176  
    3232#endif
    3333
    34 //#ifndef QT_MAC_USE_COCOA
     34#ifndef QT_MAC_USE_COCOA
    3535/* Import private function to capture the window content of any given window. */
    3636CG_EXTERN_C_BEGIN
     
    4141CG_EXTERN void CGContextCopyWindowCaptureContentsToRect(CGContextRef c, CGRect dstRect, CGSConnectionID connection, CGSWindowID window, int zero);
    4242CG_EXTERN_C_END
    43 //#endif /* !QT_MAC_USE_COCOA */
     43#endif /* !QT_MAC_USE_COCOA */
    4444
    4545VBoxDockIconPreview::VBoxDockIconPreview (VBoxConsoleWnd *aMainWnd, const QPixmap& aOverlayImage)
     
    208208}
    209209
    210 //#ifndef QT_MAC_USE_COCOA
    211210void VBoxDockIconPreview::updateDockPreview (CGImageRef aVMImage)
    212211{
     212#ifndef QT_MAC_USE_COCOA
    213213    Assert (aVMImage);
    214214
     
    251251    CGContextDrawImage (context, flipRect (iconRect), aVMImage);
    252252
    253 #ifndef QT_MAC_USE_COCOA
    254253    /* Process the content of any external OpenGL window. */
    255254    WindowRef w = darwinToNativeWindow (mMainWnd);
     
    294293        }
    295294    }
    296 #endif /* QT_MAC_USE_COCOA */
    297295
    298296    /* Draw the glossy overlay */
     
    307305
    308306    CGColorSpaceRelease (cs);
     307#endif /* QT_MAC_USE_COCOA */
    309308}
    310309//#endif /* !QT_MAC_USE_COCOA */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette