VirtualBox

Ignore:
Timestamp:
Jul 24, 2007 11:17:40 AM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Don't use guest VRAM directly in QImage mode when color depth is other than 32, 8, or 1 bit and show a reminder if color depth is not 32 bit in the guest OS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r3718 r3807  
    5454    // helpers
    5555
    56     int message (
    57         QWidget *parent, Type type, const QString &msg,
    58         const QString &details = QString::null,
    59         const char *autoConfirmId = 0,
    60         int b1 = 0, int b2 = 0, int b3 = 0,
    61         const char *name = 0
    62     );
    63 
    64     int message (
    65         QWidget *parent, Type type, const QString &msg,
    66         const char *autoConfirmId,
    67         int b1 = 0, int b2 = 0, int b3 = 0,
    68         const char *name = 0
    69     ) {
     56    int message (QWidget *parent, Type type, const QString &msg,
     57                 const QString &details = QString::null,
     58                 const char *autoConfirmId = NULL,
     59                 int b1 = 0, int b2 = 0, int b3 = 0,
     60                 const char *name = 0);
     61
     62    int message (QWidget *parent, Type type, const QString &msg,
     63                 const char *autoConfirmId,
     64                 int b1 = 0, int b2 = 0, int b3 = 0,
     65                 const char *name = 0)
     66    {
    7067        return message (parent, type, msg, QString::null, autoConfirmId,
    7168                        b1, b2, b3, name);
    7269    }
    7370
    74     bool messageYesNo (
    75         QWidget *parent, Type type, const QString &msg,
    76         const QString &details = QString::null,
    77         const char *autoConfirmId = 0,
    78         const char *name = 0
    79     );
    80 
    81     bool messageYesNo (
    82         QWidget *parent, Type type, const QString &msg,
    83         const char *autoConfirmId,
    84         const char *name = 0
    85     ) {
     71    bool messageYesNo (QWidget *parent, Type type, const QString &msg,
     72                       const QString &details = QString::null,
     73                       const char *autoConfirmId = 0,
     74                       const char *name = 0);
     75
     76    bool messageYesNo (QWidget *parent, Type type, const QString &msg,
     77                       const char *autoConfirmId,
     78                       const char *name = 0)
     79    {
    8680        return messageYesNo (parent, type, msg, QString::null, autoConfirmId, name);
    8781    }
    8882
    89     bool showModalProgressDialog (
    90         CProgress &aProgress, const QString &aTitle, QWidget *aParent,
    91         int aMinDuration = 2000
    92     );
     83    bool showModalProgressDialog (CProgress &aProgress, const QString &aTitle,
     84                                  QWidget *aParent, int aMinDuration = 2000);
    9385
    9486    QWidget *mainWindowShown();
     
    219211                                   const QString &hostKey);
    220212
     213    void remindAboutWrongColorDepth (ulong aRealBPP, ulong aWantedBPP);
     214
    221215    void cannotRunInSelectorMode();
    222216
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