mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
29 lines
476 B
C
29 lines
476 B
C
|
// 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);
|
||
|
|
||
|
void Update();
|
||
|
|
||
|
private:
|
||
|
void Connect();
|
||
|
|
||
|
MappingWidget* m_parent;
|
||
|
ControllerEmu::BooleanSetting* m_setting;
|
||
|
};
|