mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
afdf6de041
Co-authored-by: deReeperJosh <joshua@dereeper.co.nz>
30 lines
697 B
C++
30 lines
697 B
C++
// 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;
|
|
};
|