VirtualBox

Ignore:
Timestamp:
Jan 5, 2009 2:55:35 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: new look of the dock preview icon

Location:
trunk/src/VBox/Frontends/VirtualBox4/include
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleView.h

    r15652 r15804  
    4545class MousePointerChangeEvent;
    4646class VBoxFrameBuffer;
     47class VBoxDockIconPreview;
    4748
    4849class QPainter;
     
    128129#if defined(Q_WS_MAC)
    129130    void updateDockIcon();
     131    void updateDockOverlay();
    130132    void setDockIconEnabled (bool aOn) { mDockIconEnabled = aOn; };
    131133    void setMouseCoalescingEnabled (bool aOn);
     
    323325    QPixmap mPausedShot;
    324326#if defined(Q_WS_MAC)
    325     CGImageRef mVirtualBoxLogo;
     327    VBoxDockIconPreview *mDockIconPreview;
    326328    bool mDockIconEnabled;
    327329#endif
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h

    r15469 r15804  
    111111    void clearMask();
    112112
    113 #if defined (Q_WS_MAC)
    114     CGImageRef dockImageState () const;
    115 #endif
     113    KMachineState machineState() const { return machine_state; }
    116114
    117115public slots:
     
    372370    QRect mNormalGeometry;
    373371    Qt::WindowFlags mSavedFlags;
    374     /* Dock images */
    375     CGImageRef dockImgStatePaused;
    376     CGImageRef dockImgStateSaving;
    377     CGImageRef dockImgStateRestoring;
    378     CGImageRef dockImgBack100x75;
    379     CGImageRef dockImgOS;
    380372    /* For the fade effect if the the window goes fullscreen */
    381373    CGDisplayFadeReservationToken mFadeToken;
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxUtils.h

    r15642 r15804  
    209209QPixmap darwinCreateDragPixmap (const QPixmap& aPixmap, const QString &aText);
    210210
    211 /* Special routines for the dock handling */
    212 CGImageRef darwinCreateDockBadge (const char *aSource);
    213 void darwinUpdateDockPreview (QWidget *aMainWindow, CGImageRef aVMImage, CGImageRef aOverlayImage, CGImageRef aStateImage = NULL);
    214 void darwinUpdateDockPreview (QWidget *aMainWindow, VBoxFrameBuffer *aFrameBuffer, CGImageRef aOverlayImage, CGImageRef aStateImage = NULL);
    215 
    216211/* Icons in the menu of an mac application are unusual. */
    217212void darwinDisableIconsInMenus();
Note: See TracChangeset for help on using the changeset viewer.

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