Add support for listing notch and notchless native resolution options

This commit is contained in:
Cameron Gutman committed 2024-05-11 19:48:01 -05:00
1 parent ed68f920f1
commit 85a9f85c54
6 files changed
+88 -33

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ public:
Q_INVOKABLE void refreshDisplays();
Q_INVOKABLE QRect getNativeResolution(int displayIndex);
Q_INVOKABLE QRect getSafeAreaResolution(int displayIndex);
Q_INVOKABLE int getRefreshRate(int displayIndex);
signals:
@@ -52,6 +53,7 @@ private:
QString unmappedGamepads;
QSize maximumResolution;
QList<QRect> monitorNativeResolutions;
QList<QRect> monitorSafeAreaResolutions;
QList<int> monitorRefreshRates;
QString versionString;
bool supportsHdr;