From 00f680b8307a301bceb920aeb57e19b6ab02a0ca Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Fri, 18 Nov 2016 02:03:06 -0500 Subject: Add flexibility to InputConfigDialog Removed the unecessary forced tabbed layout, removed the layout part of the constructor and remade some method in preparation for tabbed styled input dialog such as the new hotkey configuration one. It breaks every inputconfigDialog, but this will get fixed in the next commits. Also moved to a folder since there will be many more files created in the next commits so it gives better separation. --- Source/Core/InputCommon/ControllerEmu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerEmu.cpp') diff --git a/Source/Core/InputCommon/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu.cpp index 43ce66412b..4a7600dca7 100644 --- a/Source/Core/InputCommon/ControllerEmu.cpp +++ b/Source/Core/InputCommon/ControllerEmu.cpp @@ -193,8 +193,8 @@ ControllerEmu::Buttons::Buttons(const std::string& _name) numeric_settings.emplace_back(std::make_unique(_trans("Threshold"), 0.5)); } -ControllerEmu::Buttons::Buttons(const std::string& _name, const std::string& _ui_name) - : ControlGroup(_name, _ui_name, GROUP_TYPE_BUTTONS) +ControllerEmu::Buttons::Buttons(const std::string& ini_name, const std::string& group_name) + : ControlGroup(ini_name, group_name, GROUP_TYPE_BUTTONS) { numeric_settings.emplace_back(std::make_unique(_trans("Threshold"), 0.5)); } -- cgit v1.2.3