VirtualBox

Ignore:
Timestamp:
May 16, 2008 12:15:58 PM (17 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: created a configuration setting for the maximum guest resolution allowed (see #2787c27-36)

Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
2 edited

Legend:

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

    r8440 r8888  
    197197private:
    198198
    199     void setDesktopGeometry(int minWidth, int minHeight);
     199    enum meDesktopGeo {
     200        invalid = 0, fixed, automatic, any, unchanged
     201    };
     202    void setDesktopGeometry(meDesktopGeo type, int width, int height);
     203    void setDesktopGeoHint(int width, int height);
    200204    void maybeRestrictMinimumSize();
    201205
     
    284288    CGImageRef mVirtualBoxLogo;
    285289#endif
     290    meDesktopGeo mDesktopGeoType;
    286291    QRect mDesktopGeometry;
     292    QRect mLastSizeHint;
    287293};
    288294
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobalSettings.h

    r8155 r8888  
    4545    QString guiFeatures;
    4646    QString languageId;
     47    QString maxGuestRes;
    4748
    4849    friend class VBoxGlobalSettings;
     
    5859    Q_PROPERTY (QString guiFeatures READ guiFeatures WRITE setGuiFeatures)
    5960    Q_PROPERTY (QString languageId READ languageId WRITE setLanguageId)
     61    Q_PROPERTY (QString maxGuestRes READ maxGuestRes WRITE setMaxGuestRes)
    6062
    6163public:
     
    9294    {
    9395        mData()->languageId = aLanguageId;
     96    }
     97
     98    QString maxGuestRes() const { return data()->maxGuestRes; }
     99    void setMaxGuestRes (const QString &aMaxGuestRes)
     100    {
     101        mData()->maxGuestRes = aMaxGuestRes;
    94102    }
    95103
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