2018-07-02 15:16:43 +02:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QRadioButton>
|
|
|
|
|
|
|
|
class MappingWidget;
|
|
|
|
|
|
|
|
namespace ControllerEmu
|
|
|
|
{
|
|
|
|
class BooleanSetting;
|
|
|
|
};
|
|
|
|
|
|
|
|
class MappingRadio : public QRadioButton
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MappingRadio(MappingWidget* widget, ControllerEmu::BooleanSetting* setting);
|
|
|
|
|
|
|
|
private:
|
2019-03-14 20:27:49 -05:00
|
|
|
void ConfigChanged();
|
2018-07-02 15:16:43 +02:00
|
|
|
|
2019-03-14 20:27:49 -05:00
|
|
|
ControllerEmu::BooleanSetting& m_setting;
|
2018-07-02 15:16:43 +02:00
|
|
|
};
|