citra/src/citra_qt/configuration/configure_enhancements.h

35 lines
694 B
C++
Raw Normal View History

// 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
#include <QWidget>
namespace Settings {
enum class StereoRenderOption;
}
2019-08-10 03:08:02 +01:00
namespace Ui {
class ConfigureEnhancements;
}
class ConfigureEnhancements : public QWidget {
2019-08-10 03:08:02 +01:00
Q_OBJECT
public:
explicit ConfigureEnhancements(QWidget* parent = nullptr);
2019-08-10 03:08:02 +01:00
~ConfigureEnhancements();
void ApplyConfiguration();
void RetranslateUI();
void SetConfiguration();
2019-08-10 03:08:02 +01:00
private:
void updateShaders(Settings::StereoRenderOption stereo_option);
void updateTextureFilter(int index);
2019-08-10 03:08:02 +01:00
Ui::ConfigureEnhancements* ui;
QColor bg_color;
};