2019-08-10 04:08:18 +02: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 04:08:02 +02:00
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureEnhancements;
|
|
|
|
}
|
|
|
|
|
2019-08-10 04:08:18 +02:00
|
|
|
class ConfigureEnhancements : public QWidget {
|
2019-08-10 04:08:02 +02:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-08-10 04:08:18 +02:00
|
|
|
explicit ConfigureEnhancements(QWidget* parent = nullptr);
|
2019-08-10 04:08:02 +02:00
|
|
|
~ConfigureEnhancements();
|
|
|
|
|
2019-08-10 04:08:18 +02:00
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
|
|
|
|
2019-08-10 04:08:02 +02:00
|
|
|
private:
|
2019-08-10 04:08:18 +02:00
|
|
|
void updateShaders(bool anaglyph);
|
2019-08-10 04:08:02 +02:00
|
|
|
|
2019-08-10 04:08:18 +02:00
|
|
|
Ui::ConfigureEnhancements* ui;
|
|
|
|
QColor bg_color;
|
|
|
|
};
|