2016-08-25 07:45:38 +05:30
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-09-18 06:08:01 +05:30
|
|
|
#include <memory>
|
2016-09-20 20:51:23 +05:30
|
|
|
#include <QWidget>
|
2016-08-25 07:45:38 +05:30
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureGraphics;
|
|
|
|
}
|
|
|
|
|
2016-09-18 06:08:01 +05:30
|
|
|
class ConfigureGraphics : public QWidget {
|
2016-08-25 07:45:38 +05:30
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-09-18 06:08:01 +05:30
|
|
|
explicit ConfigureGraphics(QWidget* parent = nullptr);
|
2018-12-07 21:14:37 +05:30
|
|
|
~ConfigureGraphics() override;
|
2016-08-25 07:45:38 +05:30
|
|
|
|
2019-05-26 10:09:23 +05:30
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
2016-08-25 07:45:38 +05:30
|
|
|
|
2019-09-23 00:18:32 +05:30
|
|
|
void UpdateBackgroundColorButton(const QColor& color);
|
2019-09-22 21:17:18 +05:30
|
|
|
|
2016-08-25 07:45:38 +05:30
|
|
|
std::unique_ptr<Ui::ConfigureGraphics> ui;
|
2018-08-02 09:06:47 +05:30
|
|
|
QColor bg_color;
|
2016-08-25 07:45:38 +05:30
|
|
|
};
|