mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-05 06:04:58 -06:00
Correct case for global checkbox
This commit is contained in:
parent
1dbdbcc23d
commit
9499d17650
@ -132,16 +132,16 @@ wxPanel* EmulatedUSBDeviceFrame::AddDimensionsPage(wxNotebook* notebook)
|
|||||||
|
|
||||||
auto* row = new wxBoxSizer(wxHORIZONTAL);
|
auto* row = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
|
||||||
m_emulate_toypad =
|
m_emulateToypad =
|
||||||
new wxCheckBox(box, wxID_ANY, _("Emulate Dimensions Toypad"));
|
new wxCheckBox(box, wxID_ANY, _("Emulate Dimensions Toypad"));
|
||||||
m_emulate_toypad->SetValue(
|
m_emulateToypad->SetValue(
|
||||||
GetConfig().emulated_usb_devices.emulate_dimensions_toypad);
|
GetConfig().emulated_usb_devices.emulate_dimensions_toypad);
|
||||||
m_emulate_toypad->Bind(wxEVT_CHECKBOX, [this](wxCommandEvent&) {
|
m_emulateToypad->Bind(wxEVT_CHECKBOX, [this](wxCommandEvent&) {
|
||||||
GetConfig().emulated_usb_devices.emulate_dimensions_toypad =
|
GetConfig().emulated_usb_devices.emulate_dimensions_toypad =
|
||||||
m_emulate_toypad->IsChecked();
|
m_emulateToypad->IsChecked();
|
||||||
g_config.Save();
|
g_config.Save();
|
||||||
});
|
});
|
||||||
row->Add(m_emulate_toypad, 1, wxEXPAND | wxALL, 2);
|
row->Add(m_emulateToypad, 1, wxEXPAND | wxALL, 2);
|
||||||
box_sizer->Add(row, 1, wxEXPAND | wxALL, 2);
|
box_sizer->Add(row, 1, wxEXPAND | wxALL, 2);
|
||||||
auto* top_row = new wxBoxSizer(wxHORIZONTAL);
|
auto* top_row = new wxBoxSizer(wxHORIZONTAL);
|
||||||
auto* bottom_row = new wxBoxSizer(wxHORIZONTAL);
|
auto* bottom_row = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class EmulatedUSBDeviceFrame : public wxFrame
|
|||||||
private:
|
private:
|
||||||
wxCheckBox* m_emulatePortal;
|
wxCheckBox* m_emulatePortal;
|
||||||
wxCheckBox* m_emulateBase;
|
wxCheckBox* m_emulateBase;
|
||||||
wxCheckBox* m_emulate_toypad;
|
wxCheckBox* m_emulateToypad;
|
||||||
std::array<wxTextCtrl*, nsyshid::MAX_SKYLANDERS> m_skylanderSlots;
|
std::array<wxTextCtrl*, nsyshid::MAX_SKYLANDERS> m_skylanderSlots;
|
||||||
std::array<wxTextCtrl*, nsyshid::MAX_FIGURES> m_infinitySlots;
|
std::array<wxTextCtrl*, nsyshid::MAX_FIGURES> m_infinitySlots;
|
||||||
std::array<wxTextCtrl*, 7> m_dimensionSlots;
|
std::array<wxTextCtrl*, 7> m_dimensionSlots;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user