mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-20 01:09:55 +00:00
Make DolphinWX strings more like DolphinQt2 strings
Same as the previous commit, except I'm copying strings in the other direction because the DolphinWX variants of these strings could use some improvement.
This commit is contained in:
parent
ce11b34e74
commit
960525859b
7 changed files with 20 additions and 11 deletions
|
@ -17,7 +17,8 @@
|
|||
|
||||
namespace ControllerEmu
|
||||
{
|
||||
Slider::Slider(const std::string& name_) : ControlGroup(name_, GroupType::Slider)
|
||||
Slider::Slider(const std::string& name, const std::string& ui_name)
|
||||
: ControlGroup(name, ui_name, GroupType::Slider)
|
||||
{
|
||||
controls.emplace_back(std::make_unique<Input>("Left"));
|
||||
controls.emplace_back(std::make_unique<Input>("Right"));
|
||||
|
@ -25,6 +26,10 @@ Slider::Slider(const std::string& name_) : ControlGroup(name_, GroupType::Slider
|
|||
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Dead Zone"), 0, 0, 50));
|
||||
}
|
||||
|
||||
Slider::Slider(const std::string& name) : Slider(name, name)
|
||||
{
|
||||
}
|
||||
|
||||
void Slider::GetState(ControlState* const slider)
|
||||
{
|
||||
const ControlState deadzone = numeric_settings[0]->GetValue();
|
||||
|
|
|
@ -13,6 +13,7 @@ namespace ControllerEmu
|
|||
class Slider : public ControlGroup
|
||||
{
|
||||
public:
|
||||
Slider(const std::string& name, const std::string& ui_name);
|
||||
explicit Slider(const std::string& name);
|
||||
|
||||
void GetState(ControlState* slider);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue