2017-06-16 01:42:12 +02:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QHash>
|
|
|
|
|
2017-06-16 01:43:14 +02:00
|
|
|
class AdvancedWidget;
|
|
|
|
class EnhancementsWidget;
|
|
|
|
class HacksWidget;
|
|
|
|
class GeneralWidget;
|
2017-06-16 01:42:12 +02:00
|
|
|
class MainWindow;
|
|
|
|
class QLabel;
|
|
|
|
class QTabWidget;
|
|
|
|
class QDialogButtonBox;
|
2017-06-16 01:43:14 +02:00
|
|
|
class SoftwareRendererWidget;
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
class GraphicsWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2023-04-26 15:35:40 -07:00
|
|
|
explicit GraphicsWindow(MainWindow* parent);
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void BackendChanged(const QString& backend);
|
2022-09-24 23:50:41 -07:00
|
|
|
void UseFastTextureSamplingChanged();
|
2022-09-24 23:59:38 -07:00
|
|
|
void UseGPUTextureDecodingChanged();
|
2017-06-16 01:42:12 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateMainLayout();
|
|
|
|
void OnBackendChanged(const QString& backend);
|
2023-03-25 17:16:53 -07:00
|
|
|
|
|
|
|
MainWindow* const m_main_window;
|
2017-06-16 01:42:12 +02:00
|
|
|
};
|