2019-08-10 03:08:18 +01:00
|
|
|
// Copyright 2019 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2019-08-10 03:08:02 +01:00
|
|
|
|
2020-10-01 02:23:01 +01:00
|
|
|
#include <memory>
|
2019-08-10 03:08:02 +01:00
|
|
|
#include <QWidget>
|
|
|
|
|
2019-12-06 07:43:06 +00:00
|
|
|
namespace Settings {
|
|
|
|
enum class StereoRenderOption;
|
|
|
|
}
|
|
|
|
|
2019-08-10 03:08:02 +01:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureEnhancements;
|
|
|
|
}
|
|
|
|
|
2019-08-10 03:08:18 +01:00
|
|
|
class ConfigureEnhancements : public QWidget {
|
2019-08-10 03:08:02 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-08-10 03:08:18 +01:00
|
|
|
explicit ConfigureEnhancements(QWidget* parent = nullptr);
|
2019-08-10 03:08:02 +01:00
|
|
|
~ConfigureEnhancements();
|
|
|
|
|
2019-08-10 03:08:18 +01:00
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
|
|
|
|
2019-08-10 03:08:02 +01:00
|
|
|
private:
|
2019-12-06 07:43:06 +00:00
|
|
|
void updateShaders(Settings::StereoRenderOption stereo_option);
|
2020-03-16 14:42:05 +00:00
|
|
|
void updateTextureFilter(int index);
|
2019-08-10 03:08:02 +01:00
|
|
|
|
2020-10-01 02:23:01 +01:00
|
|
|
std::unique_ptr<Ui::ConfigureEnhancements> ui;
|
2019-08-10 03:08:18 +01:00
|
|
|
QColor bg_color;
|
|
|
|
};
|