blob: 5df66e8e2ab5049d0d479e068e0a611b061e3781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <QDialog>
#include "Common/CommonTypes.h"
#include "Core/IOS/USB/Emulated/Skylanders/SkylanderFigure.h"
class QVBoxLayout;
class QDialogButtonBox;
class SkylanderModifyDialog : public QDialog
{
public:
explicit SkylanderModifyDialog(QWidget* parent = nullptr, u8 slot = 0);
private:
void PopulateSkylanderOptions(QVBoxLayout* layout);
bool PopulateTrophyOptions(QVBoxLayout* layout);
void accept() override;
bool m_allow_close = false;
u8 m_slot;
IOS::HLE::USB::FigureData m_figure_data;
IOS::HLE::USB::SkylanderFigure* m_figure;
QDialogButtonBox* m_buttons;
};
|