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