Duckstation/src/duckstation-qt/displaysettingswidget.h

33 lines
682 B
C
Raw Normal View History

#pragma once
#include <QtWidgets/QWidget>
#include "ui_displaysettingswidget.h"
class QtHostInterface;
2020-09-12 15:20:02 +00:00
class PostProcessingChainConfigWidget;
class SettingsDialog;
class DisplaySettingsWidget : public QWidget
{
Q_OBJECT
public:
DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
~DisplaySettingsWidget();
private Q_SLOTS:
void populateGPUAdaptersAndResolutions();
void onGPUAdapterIndexChanged();
void onGPUFullscreenModeIndexChanged();
void onIntegerFilteringChanged();
void onAspectRatioChanged();
private:
void setupAdditionalUi();
Ui::DisplaySettingsWidget m_ui;
QtHostInterface* m_host_interface;
};