mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-04 19:36:27 +00:00
36 lines
911 B
C++
36 lines
911 B
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
class QComboBox;
|
|
class QVBoxLayout;
|
|
class QWidget;
|
|
|
|
namespace VideoCore {
|
|
struct FxChainEntry;
|
|
struct FxEffectDesc;
|
|
struct FxUniformDesc;
|
|
}
|
|
|
|
class ConfigurePostProcessing : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigurePostProcessing(QWidget* parent = nullptr);
|
|
~ConfigurePostProcessing() override;
|
|
|
|
private:
|
|
void RebuildRows();
|
|
QWidget* BuildSlot(int index, const VideoCore::FxChainEntry& entry);
|
|
void BuildUniformWidget(QWidget* parent, QVBoxLayout* layout, int index,
|
|
const VideoCore::FxUniformDesc& uniform);
|
|
void PopulateEffectCombo(QComboBox* combo, const VideoCore::FxChainEntry& entry) const;
|
|
void ApplyStructuralChange();
|
|
|
|
QVBoxLayout* slots_layout{};
|
|
QWidget* slots_container{};
|
|
};
|