mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
82a0ad8a10
Add a default entry, rather than leaving it blank.
30 lines
539 B
C++
30 lines
539 B
C++
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
#include "ui_gpusettingswidget.h"
|
|
|
|
class QtHostInterface;
|
|
class SettingsDialog;
|
|
|
|
class GPUSettingsWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GPUSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
|
~GPUSettingsWidget();
|
|
|
|
private Q_SLOTS:
|
|
void updateScaledDitheringEnabled();
|
|
void populateGPUAdapters();
|
|
void onGPUAdapterIndexChanged();
|
|
|
|
private:
|
|
void setupAdditionalUi();
|
|
|
|
Ui::GPUSettingsWidget m_ui;
|
|
|
|
QtHostInterface* m_host_interface;
|
|
};
|