mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
IOS/USB: Use Enum for Infinity Base Positions
This commit is contained in:
@ -20,6 +20,11 @@ namespace Core
|
||||
enum class State;
|
||||
}
|
||||
|
||||
namespace IOS::HLE::USB
|
||||
{
|
||||
enum class FigureUIPosition : u8;
|
||||
}
|
||||
|
||||
class InfinityBaseWindow : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -32,13 +37,13 @@ protected:
|
||||
|
||||
private:
|
||||
void CreateMainWindow();
|
||||
void AddFigureSlot(QVBoxLayout* vbox_group, QString name, u8 slot);
|
||||
void AddFigureSlot(QVBoxLayout* vbox_group, QString name, IOS::HLE::USB::FigureUIPosition slot);
|
||||
void OnEmulationStateChanged(Core::State state);
|
||||
void EmulateBase(bool emulate);
|
||||
void ClearFigure(u8 slot);
|
||||
void LoadFigure(u8 slot);
|
||||
void CreateFigure(u8 slot);
|
||||
void LoadFigurePath(u8 slot, const QString& path);
|
||||
void ClearFigure(IOS::HLE::USB::FigureUIPosition slot);
|
||||
void LoadFigure(IOS::HLE::USB::FigureUIPosition slot);
|
||||
void CreateFigure(IOS::HLE::USB::FigureUIPosition slot);
|
||||
void LoadFigurePath(IOS::HLE::USB::FigureUIPosition slot, const QString& path);
|
||||
|
||||
QCheckBox* m_checkbox;
|
||||
QGroupBox* m_group_figures;
|
||||
@ -49,7 +54,7 @@ class CreateFigureDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CreateFigureDialog(QWidget* parent, u8 slot);
|
||||
explicit CreateFigureDialog(QWidget* parent, IOS::HLE::USB::FigureUIPosition slot);
|
||||
QString GetFilePath() const;
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user