ControllerEmu: Use enum instead of bool for translatability

This commit is contained in:
JosJuice committed 2018-04-13 13:04:26 +02:00
1 parent 3f13dbe087
commit 7ed28297b2
23 files changed
+123 -77

No files matched your search

@@ -10,12 +10,12 @@
namespace ControllerEmu
{
Input::Input(bool translate_, const std::string& name_, const std::string& ui_name_)
Input::Input(Translatability translate_, const std::string& name_, const std::string& ui_name_)
: Control(std::make_unique<InputReference>(), translate_, name_, ui_name_)
{
}
Input::Input(bool translate_, const std::string& name_)
Input::Input(Translatability translate_, const std::string& name_)
: Control(std::make_unique<InputReference>(), translate_, name_)
{
}